1 parent f72c4c7 commit 5cd83d6Copy full SHA for 5cd83d6
2 files changed
output.html
src/styles/global.css
@@ -233,12 +233,7 @@ html {
233
}
234
235
/* Ensure tokens always use the variables provided by Astro/Shiki */
236
-.prose pre.astro-code span {
237
- color: var(--shiki-light, inherit) !important;
238
- font-style: var(--shiki-light-font-style, inherit) !important;
239
- font-weight: var(--shiki-light-font-weight, inherit) !important;
240
-}
241
-
+/* Removed light mode override because Shiki outputs inline `color` for the light/default theme */
242
html.dark .prose pre.astro-code span {
243
color: var(--shiki-dark, inherit) !important;
244
font-style: var(--shiki-dark-font-style, inherit) !important;
0 commit comments