mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
fix: bugs
This commit is contained in:
parent
ffdf66b57e
commit
d3e44541fb
17 changed files with 799 additions and 469 deletions
|
|
@ -15,6 +15,9 @@ const replaceBrandColorWithCssVar = () => {
|
|||
Declaration(decl) {
|
||||
let value = decl.value
|
||||
blues.forEach(blue => {
|
||||
if (decl?.parent?.selector?.includes('-blue-')) {
|
||||
return
|
||||
}
|
||||
value = value.replace(
|
||||
`rgb(${blue.rgb}`,
|
||||
`rgb(var(--brand-color-${blue.key})`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue