Closed haw0k closed 1 year ago
Hi haw0k,
To override the default theme styles of Chakra UI, you have 2 options:
Hi haw0k,
To override the default theme styles of Chakra UI, you have 2 options:
1. Add a fontSizes object to the globalStyles in theme to override all the fontSizes in the entire project. ![image](https://user-images.githubusercontent.com/81553507/193638235-8a744d79-a874-4254-8515-fe7bce565dfc.png)
this option isn't working
In this example you are changing the fontSize globally, but then you use size insead of fontSize. Try to use 'sizes: { "4xl": "36px"}' instead. Cheers!
Version
2.0.2
Reproduction link
https://demos.creative-tim.com/purity-ui-dashboard/
Operating System
elementary OS 6.1 Jólnir
Device
PC
Browser & Version
Firefox 105.0.1
Steps to reproduce
What is expected?
Page Not Found
with
font-size=34px
andline-height=40px
What is actually happening?
Page Not Found
font-size: 72px
andline-height: 72px
Solution
Additional comments