Skip to content

Commit

Permalink
add dark light mode toggle in themesettings
Browse files Browse the repository at this point in the history
  • Loading branch information
Lhcfl committed Sep 25, 2023
1 parent 8f4c3a6 commit 26bfebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
keywords: Blog,博客,Hexo
author: Yourname
description: A simple and beautiful blog
defaultTheme: dark-mode # light-mode or dark-mode
defaultTheme: light-mode # light-mode or dark-mode

# icon
# If the is size is incorrect, please edit /source.css/style.styl
Expand Down Expand Up @@ -62,6 +62,7 @@ rightbtn:
back: true
search: true # 从Icarus抠出来的搜索框,关掉可以稍微提高速度
avatar: true
darkLightToggle: true # 切换明亮暗黑主题(还没做好,建议别用)


# Some settings
Expand Down

0 comments on commit 26bfebc

Please sign in to comment.