Skip to content

Commit 2c410f2

Browse files
committed
feat: allow user to force colorSchema in frontmatter
1 parent dce2240 commit 2c410f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

custom/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ download: true
1818
highlighter: 'prism'
1919
# enable monaco editor, default to dev only
2020
monaco: 'dev'
21+
# force color schema for the slides (could be 'auto', 'light', or 'dark')
22+
colorSchema: 'auto'
2123
# information for your slides, can be a markdown string
2224
info: |
2325
## Slidev

0 commit comments

Comments
 (0)