Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
8006dbc7
Unverified
Commit
8006dbc7
authored
Dec 07, 2022
by
Anuj Singh
Committed by
GitHub
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(examples): Remove deprecated function from chakra (#43784)
Co-authored-by:
Balázs Orbán
<
info@balazsorban.com
>
parent
f56e5c94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
theme.tsx
examples/with-chakra-ui/src/theme.tsx
+2
-3
No files found.
examples/with-chakra-ui/src/theme.tsx
View file @
8006dbc7
import
{
extendTheme
}
from
'@chakra-ui/react'
import
{
createBreakpoints
}
from
'@chakra-ui/theme-tools'
const
fonts
=
{
mono
:
`'Menlo', monospace`
}
const
breakpoints
=
createBreakpoints
(
{
const
breakpoints
=
{
sm
:
'40em'
,
md
:
'52em'
,
lg
:
'64em'
,
xl
:
'80em'
,
}
)
}
const
theme
=
extendTheme
({
semanticTokens
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment