Skip to content

Commit 1eaf41c

Browse files
committed
popup: Decouple match text and hint-bg colors
1 parent 06c9e1a commit 1eaf41c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/popup/colors-dark.less

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@active-input-bg-color: #4f4f4f,
1414
@input-text-color: #eee,
1515
@hint-bg-color: #d79921,
16-
@hint-color: #363636
16+
@hint-color: #363636,
17+
@match-text-bg-color: transparent,
18+
@match-text-color: #d79921
1719
);
1820
}

src/popup/colors-light.less

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@active-input-bg-color: #e3e6e9,
1414
@input-text-color: #343a40,
1515
@hint-bg-color: #ced4da,
16-
@hint-color: #495057
16+
@hint-color: #495057,
17+
@match-text-bg-color: #a5d8ff,
18+
@match-text-color: #1864ab
1719
);
1820
}

src/popup/colors.less

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
@active-input-bg-color,
1111
@input-text-color,
1212
@hint-bg-color,
13-
@hint-color) {
14-
@match-text-color: @hint-bg-color;
15-
13+
@hint-color,
14+
@match-text-bg-color,
15+
@match-text-color) {
1616
html,
1717
body {
1818
background-color: @bg-color;
@@ -63,6 +63,7 @@
6363
}
6464

6565
.part.login em {
66+
background-color: @match-text-bg-color;
6667
color: @match-text-color;
6768
}
6869

0 commit comments

Comments
 (0)