diff --git a/registry/lib/components/style/custom-navbar/CustomNavbar.vue b/registry/lib/components/style/custom-navbar/CustomNavbar.vue index f7a526977..581e6df55 100644 --- a/registry/lib/components/style/custom-navbar/CustomNavbar.vue +++ b/registry/lib/components/style/custom-navbar/CustomNavbar.vue @@ -147,23 +147,29 @@ body.fixed-navbar { // &:not(.fill) .custom-navbar-iconfont { // color: var(--theme-color); // } - path { - fill: var(--navbar-foreground); - } - svg.stroke { - &, + svg.inherit-color { path { - fill: transparent; - stroke: var(--navbar-foreground); + fill: var(--navbar-foreground); } - } - &.fill:not(.transparent) path { - fill: var(--foreground-color-d); - svg.stroke { + &.stroke { &, path { fill: transparent; - stroke: var(--navbar-foreground-d); + stroke: var(--navbar-foreground); + } + } + } + &.fill:not(.transparent) { + svg.inherit-color { + path { + fill: var(--foreground-color-d); + } + &.stroke { + &, + path { + fill: transparent; + stroke: var(--navbar-foreground-d); + } } } } diff --git a/registry/lib/components/style/custom-navbar/user-info/UserInfoPopup.vue b/registry/lib/components/style/custom-navbar/user-info/UserInfoPopup.vue index 9a7572da6..b53182cf7 100644 --- a/registry/lib/components/style/custom-navbar/user-info/UserInfoPopup.vue +++ b/registry/lib/components/style/custom-navbar/user-info/UserInfoPopup.vue @@ -11,7 +11,7 @@ target="_blank" href="https://account.bilibili.com/account/big" >{{ userType }} -