1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 18:56:22 +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

@@ -43,23 +43,31 @@
border-radius 2px
padding 0 25px
margin 0 auto
font-size 14px
colorPrimaryButton()
body[data-theme="dark"]
.root
modalDark()
apply-theme(theme)
body[data-theme={theme}]
.root
background-color transparent
.header
background-color $ui-dark-button--hover-backgroundColor
border-color $ui-dark-borderColor
color $ui-dark-text-color
.header
background-color get-theme-var(theme, 'button--hover-backgroundColor')
border-color get-theme-var(theme, 'borderColor')
color get-theme-var(theme, 'text-color')
.description
color $ui-inactive-text-color
.description
color $ui-inactive-text-color
.control-input
border-color $ui-dark-borderColor
color $ui-dark-text-color
.control-input
border-color get-theme-var(theme, 'borderColor')
color get-theme-var(theme, 'text-color')
.control-confirmButton
colorDarkPrimaryButton()
.control-confirmButton
colorThemedPrimaryButton(theme)
for theme in 'dark' 'solarized-dark' 'dracula'
apply-theme(theme)
for theme in $themes
apply-theme(theme)