Skip to content

Commit

Permalink
fix broken title's color in ConfigTab by moving its default color to …
Browse files Browse the repository at this point in the history
…corresponding themes
  • Loading branch information
daiyam committed Jan 31, 2020
1 parent 24a5c83 commit 6983157
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions browser/main/modals/PreferencesModal/ConfigTab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.root
padding 15px
color $ui-text-color
margin-bottom 30px

.group
Expand All @@ -14,7 +13,6 @@

.group-header2
font-size 20px
color $ui-text-color
margin-bottom 15px
margin-top 30px

Expand Down Expand Up @@ -141,6 +139,14 @@ colorThemedControl(theme)
background-color get-theme-var(theme, 'button-backgroundColor')
color get-theme-var(theme, 'text-color')

body[data-theme="default"],
body[data-theme="white"]
.root
color $ui-text-color

.group-header2
color $ui-text-color

body[data-theme="dark"]
.root
color $ui-dark-text-color
Expand Down

0 comments on commit 6983157

Please sign in to comment.