Skip to content

Commit feb2a87

Browse files
AWolf81Milo TodtibraudeRokt33rbugdisclose
authored
Dropdown colour (theme aware) (#3472)
* catchup (#7) * added rtl toggle button * added rtl toggle button * keep code styling aligned to the left and ltr at all times * added hotkey setting for direction toggle * fixed requested changes * fix undefined variable * Copyright info update updated Copyright (C) 2017 - 2019 BoostIO to Copyright (C) 2017 - 2020 BoostIO * Refine Chinese translation - Should not translate "space", it means space key in most context - Should translate "keymap", "spellcheck disabled", "auto detect" - Should translate "On Right Click" to "右键点击" - Refine misc translation. * Added Wiki Link * Add Traditional Chinese option to build.md * Bug fix (sets tabWith to 2 on prettier configuration and ConfigManager so checkboxes can be clikable) Co-authored-by: ibraude <[email protected]> Co-authored-by: Junyoung Choi <[email protected]> Co-authored-by: Satyendra <[email protected]> Co-authored-by: Andrew <[email protected]> * Menu Backgroun Colour * add white to the apply-theme loop Co-authored-by: Milo Todt <[email protected]> Co-authored-by: ibraude <[email protected]> Co-authored-by: Junyoung Choi <[email protected]> Co-authored-by: Satyendra <[email protected]> Co-authored-by: Andrew <[email protected]>
1 parent 8b2ed85 commit feb2a87

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

browser/main/NoteList/NoteList.styl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ $control-height = 30px
5959
top $control-height
6060
overflow auto
6161

62-
body[data-theme="white"]
63-
.root
64-
background-color $ui-white-noteList-backgroundColor
65-
66-
.control
67-
background-color $ui-white-noteList-backgroundColor
68-
6962
apply-theme(theme)
7063
body[data-theme={theme}]
7164
.root
@@ -80,6 +73,7 @@ apply-theme(theme)
8073
&:hover
8174
transition 0.2s
8275
color get-theme-var(theme, 'text-color')
76+
background-color: get-theme-var(theme, 'noteList-backgroundColor')
8377

8478
.control-button
8579
color get-theme-var(theme, 'inactive-text-color')
@@ -91,8 +85,8 @@ apply-theme(theme)
9185
&:active
9286
color get-theme-var(theme, 'text-color')
9387

94-
for theme in 'dark' 'solarized-dark' 'dracula'
88+
for theme in 'white' 'dark' 'solarized-dark' 'dracula'
9589
apply-theme(theme)
9690

9791
for theme in $themes
98-
apply-theme(theme)
92+
apply-theme(theme)

0 commit comments

Comments
 (0)