Skip to content

Commit 6a1493a

Browse files
committed
🐛 (usage page)-fix focus color
1 parent 754bb4d commit 6a1493a

File tree

6 files changed

+26
-2
lines changed

6 files changed

+26
-2
lines changed

doc/src/components/common/componentData/AutoComplete/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,9 @@ export const componentData = {
137137
background-color: rgba($color: chartreuse, $alpha: 0.2) !important;
138138
}
139139
}
140+
141+
:local(.item-hover) {
142+
background-color: rgba($color: chartreuse, $alpha: 0.2) !important;
143+
}
140144
`,
141145
};

doc/src/components/common/componentData/AutoComplete/theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@
1010
&:hover {
1111
background-color: rgba($color: chartreuse, $alpha: 0.2) !important;
1212
}
13+
}
14+
15+
:local(.item-hover) {
16+
background-color: rgba($color: chartreuse, $alpha: 0.2) !important;
1317
}

doc/src/components/common/componentData/MultiSelect/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,13 @@ export const componentData = {
144144
145145
:local(.option) {
146146
&:hover {
147-
background-color: rgba($color: #0b409c, $alpha: 0.4) !important;
147+
background-color: rgba($color: #73ff00, $alpha: 0.4) !important;
148148
}
149149
}
150+
151+
:local(.item-hover) {
152+
background: rgba($color: #73ff00, $alpha: 0.4) !important;
153+
}
150154
151155
:local(.selected) {
152156
div {

doc/src/components/common/componentData/MultiSelect/theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
}
1414

15+
:local(.item-hover) {
16+
background: rgba($color: #73ff00, $alpha: 0.4) !important;
17+
}
18+
1519
:local(.selected) {
1620
div {
1721
background-color: #f0ece2;

doc/src/components/common/componentData/Select/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,13 @@ componentUsageTheme: `
151151
152152
:local(.option) {
153153
&:hover {
154-
background-color: rgba($color: #0b409c, $alpha: 0.4) !important;
154+
background-color: rgba($color: #73ff00, $alpha: 0.4) !important;
155155
}
156156
}
157+
158+
:local(.option-hover) {
159+
background-color: rgba($color: #73ff00, $alpha: 0.4) !important;
160+
}
157161
158162
:local(.selected) {
159163
input {

doc/src/components/common/componentData/Select/theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@
1616
input {
1717
color: #73ff00;
1818
}
19+
}
20+
21+
:local(.option-hover) {
22+
background-color: rgba($color: #73ff00, $alpha: 0.4) !important;
1923
}

0 commit comments

Comments
 (0)