1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #1108 from BoostIO/change-default-color-and-add-white-theme

Change default theme and add white
This commit is contained in:
Kazz Yokomizo
2017-11-14 00:51:17 +09:00
committed by GitHub
21 changed files with 369 additions and 113 deletions

View File

@@ -110,6 +110,8 @@ function set (updates) {
if (newConfig.ui.theme === 'dark') {
document.body.setAttribute('data-theme', 'dark')
} else if (newConfig.ui.theme === 'white') {
document.body.setAttribute('data-theme', 'white')
} else {
document.body.setAttribute('data-theme', 'default')
}