Skip to content

Commit 66ff3c3

Browse files
committed
Add missing theme options
1 parent db5c65f commit 66ff3c3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/core/src/theme.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,21 @@ export interface Theme extends Omit<StyledSystemTheme, 'colors'> {
117117
*/
118118
initialColorModeName?: string
119119

120+
/**
121+
* Adds styles defined in theme.styles.root to the <body> element along with color and background-color
122+
*/
123+
useBodyStyles?: boolean
124+
125+
/**
126+
* Initializes the color mode based on the prefers-color-scheme media query
127+
*/
128+
useColorSchemeMediaQuery?: boolean
129+
130+
/**
131+
* Adds a global box-sizing: border-box style
132+
*/
133+
useBoxSizing?: boolean
134+
120135
/**
121136
* Define the colors that are available through this theme
122137
*/

0 commit comments

Comments
 (0)