Skip to content

Commit b640480

Browse files
natainakataSidnioulz
authored andcommitted
fix: high contrast mode support for input
1 parent 4c37e27 commit b640480

File tree

1 file changed

+5
-0
lines changed
  • code/core/src/components/components/form/input

1 file changed

+5
-0
lines changed

code/core/src/components/components/form/input/input.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ const styles = (({ theme }: { theme: StorybookTheme }) => ({
6060
boxShadow: `${theme.color.secondary} 0 0 0 1px inset`,
6161
outline: 'none',
6262
},
63+
'@media (forced-colors: active)': {
64+
'&:focus': {
65+
border: '1px solid transparent',
66+
},
67+
},
6368
'&[disabled]': {
6469
cursor: 'not-allowed',
6570
opacity: 0.5,

0 commit comments

Comments
 (0)