Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Update theme.mdx (#1643)
Browse files Browse the repository at this point in the history
remove duplicated key
  • Loading branch information
paulrrdiaz authored Sep 16, 2023
1 parent f554082 commit 416cba8
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions content/docs/styled-system/theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,19 @@ stacking order of components.
import { extendTheme } from '@chakra-ui/react'

const zIndices = {
zIndices: {
hide: -1,
auto: 'auto',
base: 0,
docked: 10,
dropdown: 1000,
sticky: 1100,
banner: 1200,
overlay: 1300,
modal: 1400,
popover: 1500,
skipLink: 1600,
toast: 1700,
tooltip: 1800,
},
hide: -1,
auto: 'auto',
base: 0,
docked: 10,
dropdown: 1000,
sticky: 1100,
banner: 1200,
overlay: 1300,
modal: 1400,
popover: 1500,
skipLink: 1600,
toast: 1700,
tooltip: 1800,
}
const theme = extendTheme({ zIndices, ...})
```
Expand Down

1 comment on commit 416cba8

@vercel
Copy link

@vercel vercel bot commented on 416cba8 Sep 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.