Skip to content

Commit fcce1d4

Browse files
committed
modify: move variables to global file
1 parent 5a01f39 commit fcce1d4

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

browser/main/Detail/TagSelect.styl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
$ui-white-theme-tag-bg = rgba(0, 0, 0, 0.3)
2-
$ui-dark-theme-tag-bg = rgba(255, 255, 255, 0.3)
3-
41
.root
52
display: inline
63
position relative
@@ -12,7 +9,7 @@ $ui-dark-theme-tag-bg = rgba(255, 255, 255, 0.3)
129
padding-left 10px
1310
vertical-align middle
1411
height 20px
15-
background-color $ui-white-theme-tag-bg
12+
background-color $ui-tag-backgroundColor
1613
border-radius 20px
1714
overflow hidden
1815
clearfix()
@@ -79,7 +76,7 @@ body[data-theme="dark"]
7976
color $ui-dark-button-color
8077

8178
.tag
82-
background-color $ui-dark-theme-tag-bg
79+
background-color $ui-dark-tag-backgroundColor
8380

8481
.tag-removeButton
8582
border-color $ui-button--focus-borderColor

browser/styles/index.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ $ui-backgroundColor = #FFFFFF
1818
$ui-noteList-backgroundColor = #F3F3F3
1919
$ui-border = solid 1px $ui-borderColor
2020
$ui-active-color = #6AA5E9
21+
$ui-tag-backgroundColor = rgba(0, 0, 0, 0.3)
2122

2223
// UI Button
2324
$ui-button-color = #939395
@@ -141,6 +142,7 @@ modal()
141142
$ui-dark-borderColor = lighten(#21252B, 20%)
142143
$ui-dark-backgroundColor = #333333
143144
$ui-dark-noteList-backgroundColor = #171717
145+
$ui-dark-tag-backgroundColor = rgba(255, 255, 255, 0.3)
144146
$dark-background-color = lighten($ui-dark-backgroundColor, 10%)
145147
$ui-dark-text-color = #DDDDDD
146148
$ui-dark-button--active-color = white

0 commit comments

Comments
 (0)