Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 53d8fc9

Browse files
committed
chore: move creset changes to separate pr
1 parent 64f6098 commit 53d8fc9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

packages/chakra-ui-core/src/CReset/CReset.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ const defaultConfig = theme => ({
1515
color: theme.colors.gray[800],
1616
bg: undefined,
1717
borderColor: theme.colors.gray[200],
18-
placeholderColor: theme.colors.gray[400],
19-
fontFamily: theme.fonts.body
18+
placeholderColor: theme.colors.gray[400]
2019
},
2120
dark: {
2221
color: theme.colors.whiteAlpha[900],
2322
bg: theme.colors.gray[800],
2423
borderColor: theme.colors.whiteAlpha[300],
25-
placeholderColor: theme.colors.whiteAlpha[400],
26-
fontFamily: theme.fonts.body
24+
placeholderColor: theme.colors.whiteAlpha[400]
2725
}
2826
})
2927

@@ -61,14 +59,13 @@ const CReset = {
6159
}
6260
},
6361
created () {
64-
const { color, bg, borderColor, placeholderColor, fontFamily } = this.styleConfig[this.colorMode]
62+
const { color, bg, borderColor, placeholderColor } = this.styleConfig[this.colorMode]
6563
useTailwindPreflight(this.theme)
6664
injectGlobal({
6765
html: {
6866
lineHeight: 1.5,
6967
color,
70-
backgroundColor: bg,
71-
fontFamily
68+
backgroundColor: bg
7269
},
7370

7471
'*, *::before, *::after': {

0 commit comments

Comments
 (0)