diff --git a/src/settings.html b/src/settings.html index 793b053..b6db4c1 100644 --- a/src/settings.html +++ b/src/settings.html @@ -48,6 +48,7 @@ 🐶 ♡喵呜~汪oωo ⚔️ 異世界の伝説 💥 βios + 🍺 Сука блядь 🌐 ENGILHS @@ -57,6 +58,7 @@ 选择头像遮罩的样式 + 不遮罩 主色 - 清晰渐变 主色 - 平缓渐变 主色 - 清雅 diff --git a/src/styles/base.css b/src/styles/base.css index 002ce27..cd1b403 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -59,11 +59,21 @@ body #app { } } - --avatar-mask-bg: linear-gradient( - 30deg, - hsl(from var(--brand_standard) h 40% 50% / var(--avatar-mask-opacity)) 48%, - hsl(from var(--brand_standard) h 30% 65% / var(--avatar-mask-opacity)) 52% - ); + --avatar-mask-bg: none; + + &[data-ccnd-avatar="0"] { + --avatar-mask-opacity: 0; + --avatar-filter: none; + --avatar-mix-blend-mode: normal; + } + + &[data-ccnd-avatar="1"] { + --avatar-mask-bg: linear-gradient( + 30deg, + hsl(from var(--brand_standard) h 70% 50% / var(--avatar-mask-opacity)) 20%, + hsl(from var(--brand_standard) h 45% 85% / var(--avatar-mask-opacity)) 80% + ); + } &[data-ccnd-avatar="2"] { --avatar-mask-bg: linear-gradient( @@ -135,7 +145,7 @@ body #app { } } - :is(.list-item, .group-user, .ml-item, .recent-contact-item) { + &:not([data-ccnd-avatar="0"]) :is(.list-item, .group-user, .ml-item, .recent-contact-item) { &:nth-child(n) { .avatar { filter: hue-rotate(-30deg); diff --git a/static/fonts/Chaos.woff2 b/static/fonts/Chaos.woff2 index 97990f7..3dd5420 100644 Binary files a/static/fonts/Chaos.woff2 and b/static/fonts/Chaos.woff2 differ diff --git a/static/fonts/EN.woff2 b/static/fonts/EN.woff2 index 3635737..94e0f24 100644 Binary files a/static/fonts/EN.woff2 and b/static/fonts/EN.woff2 differ diff --git a/static/fonts/JP.woff2 b/static/fonts/JP.woff2 index b39926a..c0d1f63 100644 Binary files a/static/fonts/JP.woff2 and b/static/fonts/JP.woff2 differ diff --git a/static/fonts/KFC.woff2 b/static/fonts/KFC.woff2 index bfe0431..76932a9 100644 Binary files a/static/fonts/KFC.woff2 and b/static/fonts/KFC.woff2 differ diff --git a/static/fonts/KunJinKao.woff2 b/static/fonts/KunJinKao.woff2 index a559ed3..afc0a16 100644 Binary files a/static/fonts/KunJinKao.woff2 and b/static/fonts/KunJinKao.woff2 differ diff --git a/static/fonts/RUS.woff2 b/static/fonts/RUS.woff2 new file mode 100644 index 0000000..c07caa8 Binary files /dev/null and b/static/fonts/RUS.woff2 differ