Skip to content

Commit

Permalink
demo: 修改demo的默认主题为light
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsonliu committed Sep 25, 2024
1 parent 77bf4db commit eeb9e6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/scripts/index-demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ var basicConfig = {
// cherry初始化后是否检查 location.hash 尝试滚动到对应位置
autoScrollByHashAfterInit: true,
// locale: 'en_US',
themeSettings: {
mainTheme: 'light',
},
};

fetch('./markdown/basic.md').then((response) => response.text()).then((value) => {
Expand Down

0 comments on commit eeb9e6f

Please sign in to comment.