Skip to content

Commit ac36c53

Browse files
committed
chore: update the rest of Global.sx to Global.styles
1 parent af0ed1c commit ac36c53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/next/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function Page() {
88
<Head>
99
<title>Next.js Theme UI</title>
1010
</Head>
11-
<Global sx={{ h1: { color: 'salmon !important' } }} />
11+
<Global styles={{ h1: { color: 'salmon !important' } }} />
1212
<About />
1313
</>
1414
)

packages/docs/src/pages/guides/global-styles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { Global } from 'theme-ui'
2424

2525
export default (props) => (
2626
<Global
27-
sx={{
27+
styles={{
2828
button: {
2929
m: 0,
3030
bg: 'primary',

packages/global/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Global from '@theme-ui/global'
1414

1515
export default (props) => (
1616
<Global
17-
sx={{
17+
styles={{
1818
button: {
1919
m: 0,
2020
bg: 'primary',

0 commit comments

Comments
 (0)