Skip to content

Commit 5cd83d6

Browse files
committed
refactor: remove redundant light mode token overrides and add generated output file
1 parent f72c4c7 commit 5cd83d6

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

output.html

Whitespace-only changes.

src/styles/global.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,7 @@ html {
233233
}
234234

235235
/* 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-
236+
/* Removed light mode override because Shiki outputs inline `color` for the light/default theme */
242237
html.dark .prose pre.astro-code span {
243238
color: var(--shiki-dark, inherit) !important;
244239
font-style: var(--shiki-dark-font-style, inherit) !important;

0 commit comments

Comments
 (0)