site/quartz/styles/syntax.scss
2024-04-05 02:03:11 +02:00

18 lines
358 B
SCSS

code[data-theme*=" "] {
color: var(--shiki-light);
background-color: var(--shiki-light-bg);
}
code[data-theme*=" "] span {
color: var(--shiki-light);
}
[saved-theme="dark"] code[data-theme*=" "] {
color: var(--shiki-dark);
background-color: var(--shiki-dark-bg);
}
[saved-theme="dark"] code[data-theme*=" "] span {
color: var(--shiki-dark);
}