Skip to content

Commit 1c4593d

Browse files
authored
fix(select): wrong color in outlined type (#1957)
1 parent ba08d7a commit 1c4593d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/select/themes/shared/select.material.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ $active-border-width: rem(2px) !default;
2727
}
2828
}
2929

30+
:host([outlined]:focus-within) {
31+
[part~='toggle-icon'] {
32+
background: var-get($theme, 'toggle-button-background-focus--border');
33+
}
34+
}
35+
3036
:host(:not(:state(ig-invalid))[outlined]:focus-within) {
3137
igc-input[readonly]:not([disabled])::part(start) {
3238
border: {
@@ -71,10 +77,6 @@ $active-border-width: rem(2px) !default;
7177
igc-input[readonly]:not([disabled])::part(label) {
7278
color: $active-color;
7379
}
74-
75-
[part~='toggle-icon'] {
76-
background: var-get($theme, 'toggle-button-background-focus--border');
77-
}
7880
}
7981

8082
:host(:not(:state(ig-invalid),[outlined]):focus-within) {

0 commit comments

Comments
 (0)