mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix(adapted-styles): update styles
This commit is contained in:
@@ -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%);
|
||||
}
|
||||
`
|
||||
: ''}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
import './comments.scss'
|
||||
import './userProfile.scss'
|
||||
|
||||
6
src/styles/adaptedStyles/shadowDom/userProfile.scss
Normal file
6
src/styles/adaptedStyles/shadowDom/userProfile.scss
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user