Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions browser/main/NoteList/NoteList.styl
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,6 @@ $control-height = 30px
top $control-height
overflow auto

body[data-theme="white"]
.root
background-color $ui-white-noteList-backgroundColor

.control
background-color $ui-white-noteList-backgroundColor

apply-theme(theme)
body[data-theme={theme}]
.root
Expand All @@ -80,6 +73,7 @@ apply-theme(theme)
&:hover
transition 0.2s
color get-theme-var(theme, 'text-color')
background-color: get-theme-var(theme, 'noteList-backgroundColor')

.control-button
color get-theme-var(theme, 'inactive-text-color')
Expand All @@ -91,8 +85,8 @@ apply-theme(theme)
&:active
color get-theme-var(theme, 'text-color')

for theme in 'dark' 'solarized-dark' 'dracula'
for theme in 'white' 'dark' 'solarized-dark' 'dracula'
apply-theme(theme)

for theme in $themes
apply-theme(theme)
apply-theme(theme)