fix(adapted-styles): update styles

This commit is contained in:
Hakadao
2024-12-22 18:58:45 +08:00
parent 76d8473aa7
commit 2ebbd63814
4 changed files with 18 additions and 1 deletions

View File

@@ -264,6 +264,15 @@ function startShadowDOMStyleInjection() {
? `
* {
--bew-theme-color: ${settings.value.themeColor};
--bew-theme-color-10: color-mix(in oklab, var(--bew-theme-color), transparent 90%);
--bew-theme-color-20: color-mix(in oklab, var(--bew-theme-color), transparent 80%);
--bew-theme-color-30: color-mix(in oklab, var(--bew-theme-color), transparent 70%);
--bew-theme-color-40: color-mix(in oklab, var(--bew-theme-color), transparent 60%);
--bew-theme-color-50: color-mix(in oklab, var(--bew-theme-color), transparent 50%);
--bew-theme-color-60: color-mix(in oklab, var(--bew-theme-color), transparent 40%);
--bew-theme-color-70: color-mix(in oklab, var(--bew-theme-color), transparent 30%);
--bew-theme-color-80: color-mix(in oklab, var(--bew-theme-color), transparent 20%);
--bew-theme-color-90: color-mix(in oklab, var(--bew-theme-color), transparent 10%);
}
`
: ''}

View File

@@ -65,7 +65,8 @@
.note-list .list-note-operation,
.note-pc .note-container .note-header .note-operation,
.note-up .up-desc-container .desc-top .attention-btn-container:not(.is-attention) {
.note-up .up-desc-container .desc-top .attention-btn-container:not(.is-attention),
.up-detail .up-detail-top .live-status:hover {
background-color: var(--bew-theme-color);
}

View File

@@ -1 +1,2 @@
import './comments.scss'
import './userProfile.scss'

View File

@@ -0,0 +1,6 @@
:host(bili-user-profile) {
#action button#follow:hover {
background-color: var(--bew-theme-color-80);
border-color: var(--bew-theme-color-80);
}
}