mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2026-06-21 23:38:39 +00:00
feat(theme): persist user theme preferences (#2756)
- Migrate theme persistence from `sessionStorage` to `localStorage` - Rename theme HTML attribute to `data-bs-theme` for Bootstrap compatibility - Trim and compile CSS according to the chosen theme mode
This commit is contained in:
@@ -48,6 +48,11 @@ notification:
|
||||
update_found: 發現新版本更新。
|
||||
update: 更新
|
||||
|
||||
theme:
|
||||
light: 淺色
|
||||
dark: 深色
|
||||
system: 跟隨系統
|
||||
|
||||
# ----- Posts related labels -----
|
||||
|
||||
post:
|
||||
|
||||
Reference in New Issue
Block a user