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.
1 parent af0ed1c commit ac36c53Copy full SHA for ac36c53
examples/next/pages/index.tsx
@@ -8,7 +8,7 @@ export default function Page() {
8
<Head>
9
<title>Next.js Theme UI</title>
10
</Head>
11
- <Global sx={{ h1: { color: 'salmon !important' } }} />
+ <Global styles={{ h1: { color: 'salmon !important' } }} />
12
<About />
13
</>
14
)
packages/docs/src/pages/guides/global-styles.mdx
@@ -24,7 +24,7 @@ import { Global } from 'theme-ui'
24
25
export default (props) => (
26
<Global
27
- sx={{
+ styles={{
28
button: {
29
m: 0,
30
bg: 'primary',
packages/global/README.md
@@ -14,7 +14,7 @@ import Global from '@theme-ui/global'
15
16
17
18
19
20
0 commit comments