support larger font sizes #3872
anthony-telljohann
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
|
Hey! This is something you can easily add to the Typography plugin via the https://github.com/tailwindlabs/tailwindcss-typography#adding-new-modifiers // tailwind.config.js
module.exports = {
theme: {
extend: {
typography: {
'3xl': {
css: {
fontSize: '2.25rem',
h1: {
fontSize: '4rem',
},
// ...
},
},
},
}
},
plugins: [
require('@tailwindcss/typography'),
// ...
],
} |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Hey! No plans to add this by default I'm afraid, the 2xl size is already huge and as big as the absolute biggest article based websites we researched. Free to customize of course as needed but by default we are happy with the current available sizes. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use additional, larger font sizes such as a
prose-3xl,prose-4xl,prose-5xl, etc. Ideally, I think it makes sense fortailwind-typographyto haveprosesizes to support all oftailwind's defaultscreenbreakpoints.From my own testing, I believe a
prose-3xlwith a base font size of2.25remwould be ideal for the'2xl': '1536px'breakpoint.Beta Was this translation helpful? Give feedback.
All reactions