Skip to content

Commit

Permalink
添加切换主题配色
Browse files Browse the repository at this point in the history
  • Loading branch information
971230 committed May 7, 2024
1 parent ebdab9f commit 2f036d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- gh-pages
permissions:
contents: write
jobs:
Expand Down
9 changes: 9 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ site_name: loong的博客
site_url: https://github.com/971230/971230.github.io
theme:
name: material
language: zh
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
Expand All @@ -13,3 +14,11 @@ theme:
toggle:
icon: material/brightness-4
name: 白色主题
extra:
alternate:
- name: Chinese
link: /zh/
lang: zh
- name: English
link: /en/
lang: en

0 comments on commit 2f036d4

Please sign in to comment.