Skip to content

Commit ff1d24a

Browse files
committed
feat: AnnotatedCode use github-light-high-contrast theme
1 parent f7a0e1d commit ff1d24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AnnotatedCode/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const code = rows.map((row) => row.code).join('');
5252
// Convert it to HTML with style tags
5353
const html = await codeToHtml(code, {
5454
lang: props.lang || 'javascript',
55-
theme: props.theme || 'github-light',
55+
theme: props.theme || 'github-light-high-contrast',
5656
})
5757
5858
// Turn it into a DOM tree we can query

0 commit comments

Comments
 (0)