Skip to content

Commit c7fa510

Browse files
committed
fix(input-group): fluent theme discrepancies
1 parent ebfa052 commit c7fa510

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ $focused-height: calc(var-get($theme, 'size') - #{($focused-border-width * 2)});
8383
}
8484

8585
:host(:focus-within) {
86-
[part='label'] {
87-
color: color(gray, 800);
88-
}
89-
9086
[part^='container'] {
9187
border-color: var-get($theme, 'focused-border-color');
9288
border-width: #{$focused-border-width};
@@ -110,6 +106,14 @@ $focused-height: calc(var-get($theme, 'size') - #{($focused-border-width * 2)});
110106
}
111107
}
112108

109+
:host([type='search']) {
110+
[part='prefix'],
111+
[part='suffix'] {
112+
background: transparent;
113+
color: var(--ig-primary-500);
114+
}
115+
}
116+
113117
:host([type='search']:focus-within) {
114118
[part='prefix'] {
115119
display: none;

0 commit comments

Comments
 (0)