🎨 New light/dark theme for Shiki

This commit is contained in:
pheralb
2025-01-15 16:05:41 +00:00
parent 4bceb2137c
commit b29dfd8332
2 changed files with 19 additions and 2 deletions
+9
View File
@@ -72,3 +72,12 @@
src: url('/fonts/GeistMonoVariableVF.woff2') format('woff2');
font-display: swap;
}
html.dark .shiki,
html.dark .shiki span {
color: var(--shiki-dark) !important;
background-color: transparent !important;
font-style: var(--shiki-dark-font-style) !important;
font-weight: var(--shiki-dark-font-weight) !important;
text-decoration: var(--shiki-dark-text-decoration) !important;
}