File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
polaris-react/src/components/ActionList/components/SearchField Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/polaris ' : patch
3+ ---
4+
5+ Fixed focus ring and input text styles on ` ActionList.SearchField ` component
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ $search-icon-width-se23: calc(#{$icon-size-se23} + var(--p-space-3));
3434 color : var (--p-color-text );
3535
3636 #{$se23 } & {
37- color : var (--p-color-text-inverse );
37+ color : var (--p-color-text );
3838 }
3939
4040 & ::placeholder {
@@ -229,8 +229,13 @@ $search-icon-width-se23: calc(#{$icon-size-se23} + var(--p-space-3));
229229 pointer-events : none ;
230230
231231 #{$se23 } & {
232+ // stylelint-disable-next-line -- opt for outline instead of focus-ring mixin
233+ @include no-focus-ring ;
232234 border-radius : var (--p-border-radius-2 );
233235 border-width : var (--p-border-width-1-experimental );
234236 background-color : var (--p-color-bg-input );
237+ outline : var (--p-border-width-2 ) solid
238+ var (--p-color-border-interactive-focus );
239+ outline-offset : var (--p-space-05 );
235240 }
236241}
You can’t perform that action at this time.
0 commit comments