mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 07:26:49 +00:00
Bugfix:
夜间模式按钮初始化主题,按钮样式微调
This commit is contained in:
@@ -57,6 +57,9 @@ const initTheme = (theme, changeTheme) => {
|
||||
if (useDark) {
|
||||
changeTheme('dark')
|
||||
saveTheme('dark')
|
||||
} else {
|
||||
changeTheme('light')
|
||||
saveTheme('light')
|
||||
}
|
||||
}
|
||||
const baseLayoutClass = document.getElementById('wrapper').classList
|
||||
|
||||
Reference in New Issue
Block a user