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