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

Add base of white theme

This commit is contained in:
Kazu Yokomizo
2017-11-11 19:05:08 +09:00
parent 95787fafc6
commit 4a6c16df8d
4 changed files with 8 additions and 1 deletions

View File

@@ -106,6 +106,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')
}