mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
fix(theme): update code block styles to use useTheme hook value
This commit is contained in:
+4
-6
@@ -121,10 +121,8 @@ code[data-theme*=" "] span {
|
||||
background-color: var(--shiki-light-bg);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
code[data-theme*=" "],
|
||||
code[data-theme*=" "] span {
|
||||
color: var(--shiki-dark);
|
||||
background-color: var(--shiki-dark-bg);
|
||||
}
|
||||
.dark code[data-theme*=" "],
|
||||
.dark code[data-theme*=" "] span {
|
||||
color: var(--shiki-dark);
|
||||
background-color: var(--shiki-dark-bg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user