1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-28 00:52:20 +00:00

adding Nord theme and streamlining UI theming

This commit is contained in:
Baptiste Augrain
2019-02-08 00:50:47 +01:00
parent 8b8d915ab7
commit 1cdac943ba
45 changed files with 1192 additions and 2306 deletions

View File

@@ -78,24 +78,20 @@ body[data-theme="dark"]
border-color $ui-dark-borderColor
border-left 1px solid $ui-dark-borderColor
body[data-theme="monokai"]
navButtonColor()
.zoom
border-color $ui-dark-borderColor
color $ui-monokai-text-color
&:hover
transition 0.15s
color $ui-monokai-active-color
&:active
color $ui-monokai-active-color
apply-theme(theme)
body[data-theme={theme}]
navButtonColor()
.zoom
border-color $ui-dark-borderColor
color get-theme-var(theme, 'text-color')
&:hover
transition 0.15s
color get-theme-var(theme, 'active-color')
&:active
color get-theme-var(theme, 'active-color')
body[data-theme="dracula"]
navButtonColor()
.zoom
border-color $ui-dark-borderColor
color $ui-dracula-text-color
&:hover
transition 0.15s
color $ui-dracula-active-color
&:active
color $ui-dracula-active-color
for theme in 'dracula'
apply-theme(theme)
for theme in $themes
apply-theme(theme)