1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Add the Solarized Dark Theme

This commit is contained in:
Kazu Yokomizo
2017-12-11 19:01:24 +09:00
parent c2a49efe73
commit ed9d3639e2
16 changed files with 264 additions and 4 deletions

View File

@@ -55,6 +55,8 @@ class Main extends React.Component {
document.body.setAttribute('data-theme', 'dark')
} else if (config.ui.theme === 'white') {
document.body.setAttribute('data-theme', 'white')
} else if (config.ui.theme === 'solarized-dark') {
document.body.setAttribute('data-theme', 'solarized-dark')
} else {
document.body.setAttribute('data-theme', 'default')
}