mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-08-10 01:51:09 +10:00
fixed uncorrect color in lyrics
- fixed uncorrect color in lyrics when using static theme
This commit is contained in:
@@ -945,6 +945,12 @@ function Helper($paramname) {
|
|||||||
$webjson.others.$lyrics.replace[4] = '$1' + '"' + $background + '"'
|
$webjson.others.$lyrics.replace[4] = '$1' + '"' + $background + '"'
|
||||||
$webjson.others.$lyrics.replace[5] = '$1' + '"' + $hover + '"'
|
$webjson.others.$lyrics.replace[5] = '$1' + '"' + $hover + '"'
|
||||||
$webjson.others.$lyrics.replace[6] = '$1' + '"' + $maxmatch + '"'
|
$webjson.others.$lyrics.replace[6] = '$1' + '"' + $maxmatch + '"'
|
||||||
|
if ([version]$offline -ge [version]"1.2.6.861") {
|
||||||
|
$webjson.others.$lyrics.replace[7] = '$1' + '"' + $maxmatch + '"' + '$3'
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$webjson.others.$lyrics.match = $webjson.others.$lyrics.match | Where-Object { $_ -ne $webjson.others.$lyrics.match[7] }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# xpui-routes-lyrics.css
|
# xpui-routes-lyrics.css
|
||||||
|
|||||||
@@ -922,7 +922,8 @@
|
|||||||
"(.--lyrics-color-inactive.:)(..inactive|..colors.text)",
|
"(.--lyrics-color-inactive.:)(..inactive|..colors.text)",
|
||||||
"(.--lyrics-color-background.:)((..|..colors.)background)",
|
"(.--lyrics-color-background.:)((..|..colors.)background)",
|
||||||
"(.--lyrics-color-hover.:)(\"xxx\")",
|
"(.--lyrics-color-hover.:)(\"xxx\")",
|
||||||
"(.--lyrics-color-maxmatch.:)(\"xxx\")"
|
"(.--lyrics-color-maxmatch.:)(\"xxx\")",
|
||||||
|
"(color:)(.{1,4}colors.text)(},children:.{1,8}get\\(\"web-player.lyrics.unsynced\"\\))"
|
||||||
],
|
],
|
||||||
"replace": [
|
"replace": [
|
||||||
"$1,\"--lyrics-color-hover\":\"xxx\",\"--lyrics-color-maxmatch\":\"xxx\"",
|
"$1,\"--lyrics-color-hover\":\"xxx\",\"--lyrics-color-maxmatch\":\"xxx\"",
|
||||||
@@ -931,6 +932,7 @@
|
|||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
"",
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user