feat: revert shiki css changes

This commit is contained in:
2026-03-16 00:00:13 -05:00
parent 954112e30e
commit c4104a52d1

View File

@@ -56,10 +56,6 @@
--radius-markdown-img: 0.5rem; --radius-markdown-img: 0.5rem;
/* Shiki */
--color-shiki-bg: light-dark(var(--color-neutral-200), var(--color-neutral-800));
--color-shiki-text: light-dark(var(--shiki-light), var(--shiki-dark));
/* Reveal Animations */ /* Reveal Animations */
--animate-reveal: reveal 0.8s ease forwards; --animate-reveal: reveal 0.8s ease forwards;
--animate-reveal-fade: reveal-fade 1.8s ease forwards; --animate-reveal-fade: reveal-fade 1.8s ease forwards;
@@ -166,8 +162,26 @@
} }
/* Shiki */ /* Shiki */
:root {
--shiki-fg: var(--shiki-light);
--shiki-bg: var(--color-neutral-200);
}
.dark {
--shiki-fg: var(--shiki-dark);
--shiki-bg: var(--color-neutral-800);
}
pre.shiki { pre.shiki {
background-color: var(--shiki-bg) !important; background-color: var(--shiki-bg) !important;
color: var(--shiki-fg) !important; color: var(--shiki-fg) !important;
} }
pre.shiki span {
color: var(--shiki-light);
}
.dark pre.shiki span {
color: var(--shiki-dark) !important;
}
} }