UNPKG

1.66 kBTypeScriptView Raw
1import { IRawStyle } from '../MergeStyles';
2export declare const HighContrastSelector = "@media screen and (-ms-high-contrast: active), (forced-colors: active)";
3export declare const HighContrastSelectorWhite = "@media screen and (-ms-high-contrast: black-on-white), (forced-colors: black-on-white)";
4export declare const HighContrastSelectorBlack = "@media screen and (-ms-high-contrast: white-on-black), (forced-colors: white-on-black)";
5export declare const EdgeChromiumHighContrastSelector = "@media screen and (forced-colors: active)";
6export declare const ScreenWidthMinSmall = 320;
7export declare const ScreenWidthMinMedium = 480;
8export declare const ScreenWidthMinLarge = 640;
9export declare const ScreenWidthMinXLarge = 1024;
10export declare const ScreenWidthMinXXLarge = 1366;
11export declare const ScreenWidthMinXXXLarge = 1920;
12export declare const ScreenWidthMaxSmall: number;
13export declare const ScreenWidthMaxMedium: number;
14export declare const ScreenWidthMaxLarge: number;
15export declare const ScreenWidthMaxXLarge: number;
16export declare const ScreenWidthMaxXXLarge: number;
17export declare const ScreenWidthMinUhfMobile = 768;
18export declare function getScreenSelector(min: number | undefined, max: number | undefined): string;
19/**
20 * The style which turns off high contrast adjustment in browsers.
21 */
22export declare function getHighContrastNoAdjustStyle(): IRawStyle;
23/**
24 * The style which turns off high contrast adjustment in (only) Edge Chromium browser.
25 * @deprecated Use `getHighContrastNoAdjustStyle`
26 */
27export declare function getEdgeChromiumNoHighContrastAdjustSelector(): {
28 [EdgeChromiumHighContrastSelector]: IRawStyle;
29};