Skip to content

Commit ae97ff0

Browse files
committed
modify: fix some colors for config
1 parent b2d7fa9 commit ae97ff0

3 files changed

Lines changed: 22 additions & 9 deletions

File tree

browser/main/modals/PreferencesModal/InfoTab.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
body[data-theme="dark"]
5252
.root
53-
color $ui-dark-text-color
53+
color $tab--dark-text-color
5454

5555
.madeBy
5656
color $ui-dark-inactive-text-color

browser/main/modals/PreferencesModal/PreferencesModal.styl

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import('./Tab')
2+
13
.root
24
modal()
35
max-width 800px
@@ -28,20 +30,24 @@
2830
.nav-button
2931
font-size 14px
3032
text-align left
31-
width 80px
33+
width 100px
34+
margin 4px 0
3235
padding 7px 0
36+
padding-left 7px
3337
border none
38+
border-radius 3px
3439
background-color transparent
35-
color #939395
40+
color $ui-text-color
3641
font-size 14px
3742
&:hover
38-
color #515151
43+
color $ui-active-color
3944

4045
.nav-button--active
4146
@extend .nav-button
42-
color #6AA5E9
47+
color white
48+
background-color $ui-active-color
4349
&:hover
44-
color #6AA5E9
50+
color white
4551

4652
.nav-button-icon
4753
display block
@@ -59,15 +65,16 @@ body[data-theme="dark"]
5965

6066
.top-bar
6167
background-color transparent
62-
border-color transparent
63-
color #939395
68+
border-color #4A4D52
69+
p
70+
color $tab--dark-text-color
6471

6572
.nav
6673
background-color transparent
6774
border-color $ui-dark-borderColor
6875

6976
.nav-button
7077
background-color transparent
71-
color #939395
78+
color $tab--dark-text-color
7279
&:hover
7380
color $ui-dark-text-color

browser/main/modals/PreferencesModal/Tab.styl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ $tab--button-border-radius = 5px
77
$tab--button-height = 40px
88
$tab--button-font-size = 14px
99

10+
$tab--dark-text-color = #E5E5E5
11+
1012
.header
1113
font-size 24px
1214
margin-bottom 30px
15+
16+
body[data-theme="dark"]
17+
.header
18+
color $tab--dark-text-color

0 commit comments

Comments
 (0)