-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Closed
Copy link
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When I use TT3 and set H1 to XXL at Styles > Typography > Heading, the output is not a fluid font size.
Expected global style output:
h1 {font-size: var(--wp--preset--font-size--xx-large);}
or
h1 {font-size: clamp(4rem,4rem + ((1vw - 0.48rem) * 30.769);}
Happens instead:
h1 {font-size: 10rem}
Step-by-step reproduction instructions
- Use WP 6.1 beta 3 and Twenty Twenty Three without gutenberg plugin
- Go to the site editor > Styles > Typography > Headings
- Set H1 size to XXL
Screenshots, screen recording, code snippet
TT3 theme.json XXL font-size setting:
{
"size": "10rem",
"slug": "xx-large",
"fluid": {
"min": "4rem",
"max": "20rem"
}
}
Styles > Typography > Heading setting:

Global style output:
h1 {font-size: 10rem}
Environment info
WP 6.1-beta3-54396, instawp install
TT3 included in WP 6.1 nightly.
Gutenberg plugin deactivated
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended