Skip to content

Commit 1b6680a

Browse files
committed
popup: Decouple match text and hint-bg colors
1 parent 9ad0825 commit 1b6680a

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/popup/colors-dark.less

Lines changed: 3 additions & 1 deletion
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

Lines changed: 3 additions & 1 deletion
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: #d0ebff,
18+
@match-text-color: #1864ab
1719
);
1820
}

src/popup/colors.less

Lines changed: 4 additions & 3 deletions
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)