Skip to content

Commit 1997d70

Browse files
committed
fix(combo/select): toggle button styles
1 parent b7fb5b1 commit 1997d70

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

src/components/combo/themes/shared/combo.fluent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $dropdown-theme: dropdown-theme.$fluent;
6262

6363
:host(:focus-within) {
6464
[part~='toggle-icon'] {
65-
background: var-get($theme, 'toggle-button-background-focus--border');
65+
background: var-get($theme, 'toggle-button-background-focus');
6666
color: var-get($theme, 'toggle-button-foreground-focus');
6767

6868
igc-icon {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ $dropdown-theme: dropdown-theme.$material;
3232
}
3333
}
3434

35-
:host(:hover),
3635
:host(:focus-within) {
3736
[part~='toggle-icon'] {
3837
background: var-get($theme, 'toggle-button-background-focus--border');

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ $focused-border-width: rem(2px);
3636
}
3737

3838
:host(:focus-within) {
39+
[part~='toggle-icon'] {
40+
background: var-get($theme, 'toggle-button-background-focus');
41+
}
42+
3943
igc-input[readonly]:not([disabled])::part(container) {
4044
border-width: #{$focused-border-width};
4145
}

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ $input-theme: input-theme.$indigo;
3333
padding: rem(3px);
3434
}
3535

36+
:host(:hover) {
37+
[part~='toggle-icon'] {
38+
color: var-get($theme, 'toggle-button-foreground-focus');
39+
}
40+
}
41+
3642
:host(:focus-within) {
3743
igc-input::part(label) {
3844
color: var-get($input-theme, 'focused-secondary-color');

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,6 @@ $active-border-width: rem(2px) !default;
2929
}
3030
}
3131

32-
:host(:hover) {
33-
[part~='toggle-icon'] {
34-
background: var-get($theme, 'toggle-button-background');
35-
}
36-
37-
[part='toggle-icon filled'] {
38-
color: var-get($theme, 'toggle-button-foreground-filled');
39-
}
40-
}
41-
4232
:host([outlined]:focus-within) {
4333
igc-input[readonly]:not([disabled])::part(start) {
4434
border: {

0 commit comments

Comments
 (0)