File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
packages/style-utilities/src/styles Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
import type { IRawStyle } from '../MergeStyles' ;
2
2
3
- export const HighContrastSelector = '@media screen and (-ms-high-contrast: active), screen and ( forced-colors: active)' ;
3
+ export const HighContrastSelector = '@media screen and (forced-colors: active)' ;
4
4
export const HighContrastSelectorWhite =
5
5
// eslint-disable-next-line @fluentui/max-len
6
- '@media screen and (-ms-high-contrast: black-on-white), screen and ( forced-colors: active) and (prefers-color-scheme: light)' ;
6
+ '@media screen and (forced-colors: active) and (prefers-color-scheme: light)' ;
7
7
export const HighContrastSelectorBlack =
8
8
// eslint-disable-next-line @fluentui/max-len
9
- '@media screen and (-ms-high-contrast: white-on-black), screen and ( forced-colors: active) and (prefers-color-scheme: dark)' ;
9
+ '@media screen and (forced-colors: active) and (prefers-color-scheme: dark)' ;
10
10
/**
11
11
* @deprecated Use `HighContrastSelector`
12
12
*/
13
- export const EdgeChromiumHighContrastSelector =
14
- '@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)' ;
13
+ export const EdgeChromiumHighContrastSelector = '@media screen and (forced-colors: active)' ;
15
14
16
15
export const ScreenWidthMinSmall = 320 ;
17
16
export const ScreenWidthMinMedium = 480 ;
You can’t perform that action at this time.
0 commit comments