Skip to content

Commit 6983157

Browse files
committed
fix broken title's color in ConfigTab by moving its default color to corresponding themes
1 parent 24a5c83 commit 6983157

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

browser/main/modals/PreferencesModal/ConfigTab.styl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
.root
44
padding 15px
5-
color $ui-text-color
65
margin-bottom 30px
76

87
.group
@@ -14,7 +13,6 @@
1413

1514
.group-header2
1615
font-size 20px
17-
color $ui-text-color
1816
margin-bottom 15px
1917
margin-top 30px
2018

@@ -141,6 +139,14 @@ colorThemedControl(theme)
141139
background-color get-theme-var(theme, 'button-backgroundColor')
142140
color get-theme-var(theme, 'text-color')
143141

142+
body[data-theme="default"],
143+
body[data-theme="white"]
144+
.root
145+
color $ui-text-color
146+
147+
.group-header2
148+
color $ui-text-color
149+
144150
body[data-theme="dark"]
145151
.root
146152
color $ui-dark-text-color

0 commit comments

Comments
 (0)