We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b9baef + 617be80 commit 697fc7eCopy full SHA for 697fc7e
src/@chakra-ui/gatsby-plugin/styles.ts
@@ -1,7 +1,5 @@
1
-import { mode } from "@chakra-ui/theme-tools"
2
-
3
const styles = {
4
- global: (props) => ({
+ global: {
5
/**
6
* THESE ARE OLD GLOBAL STYLES - carried over from old css files
7
*
@@ -12,9 +10,7 @@ const styles = {
12
10
* don't need the global styles anymore
13
11
*/
14
body: {
15
- // TODO: when we have Chakra v2, this should be done by overriding the
16
- // native Chakra semantic tokens
17
- bg: mode("white", "gray.800")(props),
+ bg: "background.base",
18
lineHeight: "base",
19
fontSize: "md",
20
},
@@ -83,7 +79,7 @@ const styles = {
83
79
84
80
fontFamily: "monospace",
85
81
86
- }),
82
+ },
87
}
88
89
export default styles
0 commit comments