diff --git a/types/theme-ui/index.d.ts b/types/theme-ui/index.d.ts index 588df7ce70..37b3557272 100644 --- a/types/theme-ui/index.d.ts +++ b/types/theme-ui/index.d.ts @@ -5,6 +5,7 @@ // Brian Andrews // Rodrigo Pombo // Justin Hall +// Prateek Kathal // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.1 @@ -76,6 +77,14 @@ export type ColorMode = { }; export interface Theme extends StyledSystemTheme { + /** + * Enable/disable custom CSS properties/variables if lower browser + * support is required (for eg. IE 11). + * + * References: https://theme-ui.com/color-modes/#turn-off-custom-properties + */ + useCustomProperties?: boolean; + /** * Provide a value here to enable color modes */