From d4a4e4933c4fcc904c8943ec1e9551dbc9d9fc42 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 1 May 2022 20:41:48 +0800 Subject: [PATCH] Support lv6 plus (#3203) --- .../style/custom-navbar/CustomNavbar.vue | 30 +++++++++++-------- .../custom-navbar/user-info/UserInfoPopup.vue | 27 +++++++++++++++-- src/ui/icon/custom/lv6-plus.svg | 1 + 3 files changed, 44 insertions(+), 14 deletions(-) create mode 100644 src/ui/icon/custom/lv6-plus.svg 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 }} -
+
+ + /> \ No newline at end of file