Skip to content

Commit

Permalink
chore: update the rest of Global.sx to Global.styles
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Jan 22, 2023
1 parent af0ed1c commit ac36c53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/next/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function Page() {
<Head>
<title>Next.js Theme UI</title>
</Head>
<Global sx={{ h1: { color: 'salmon !important' } }} />
<Global styles={{ h1: { color: 'salmon !important' } }} />
<About />
</>
)
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/guides/global-styles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Global } from 'theme-ui'

export default (props) => (
<Global
sx={{
styles={{
button: {
m: 0,
bg: 'primary',
Expand Down
2 changes: 1 addition & 1 deletion packages/global/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Global from '@theme-ui/global'

export default (props) => (
<Global
sx={{
styles={{
button: {
m: 0,
bg: 'primary',
Expand Down

0 comments on commit ac36c53

Please sign in to comment.