Skip to content

Commit 0b0e142

Browse files
authored
Merge pull request #707 from epilande/fix-border-box
Fix useBorderBox
2 parents fd1231b + 9388b45 commit 0b0e142

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/css/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ export interface Theme {
556556
/**
557557
* Adds a global box-sizing: border-box style
558558
*/
559-
useBoxSizing?: boolean
559+
useBorderBox?: boolean
560560

561561
/**
562562
* Define the colors that are available through this theme

packages/docs/src/pages/theming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Flag | Default | Description
173173
`useBodyStyles` | `true` | Adds styles defined in `theme.styles.root` to the `<body>` element along with `color` and `background-color`
174174
`initialColorModeName` | `'default'` | The key used for the top-level color palette in `theme.colors`
175175
`useColorSchemeMediaQuery` | `false` | Initializes the color mode based on the `prefers-color-scheme` media query
176-
`useBoxSizing` | `true` | Adds a global `box-sizing: border-box` style
176+
`useBorderBox` | `true` | Adds a global `box-sizing: border-box` style
177177

178178
## Example Theme
179179

0 commit comments

Comments
 (0)