How to add custom typography in nextjs project #16691
Answered
by
philipp-spiess
Peeyushmohapatra
asked this question in
Help
-
I was trying to add custom typography but not getting proper resources to do. I went through the docs but not getting clear solution. I just upgraded tailwind css form v3 to v4. In tailwind V3 we used to write typography like this in
But there is no reference for how to write the the above one in tailwind v4 |
Beta Was this translation helpful? Give feedback.
Answered by
philipp-spiess
Feb 20, 2025
Replies: 1 comment 2 replies
-
@Peeyushmohapatra Hey! The readme of the typography project is updated to show how the v4 integration works: https://github.com/tailwindlabs/tailwindcss-typography 👍 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Peeyushmohapatra If you create a config file you have to use
@config "../../path/to/tailwind.config.ts"
to load it. Also you do not need to specificy the plugin in thetailwind.config.ts
file if you also use@plugin
to load it 👍If this still doesn't work please send us a repro so we can take a look!