[wp-trac] [WordPress Trac] #57529: Backport fluid typography minimum font size settings from Gutenberg
WordPress Trac
noreply at wordpress.org
Mon Jan 23 04:33:50 UTC 2023
#57529: Backport fluid typography minimum font size settings from Gutenberg
--------------------------+-----------------------------
Reporter: andrewserong | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In https://github.com/WordPress/gutenberg/pull/42489 a feature was added
to fluid typography in theme.json that allows a theme to specify a minimum
font size to be used in fluid typography calculated font-size rules. The
provided value ensures the fluid typography rules do not go below the
`settings.typography.fluid.minFontSize` value. For example, if this is set
to `16px` then any font-sizes used at `16px` or less will be output as-is
without fluid typography rules being applied.
This feature is expected to land as part of WordPress 6.2, so it would be
good to ensure that the PHP changes are backported in time for the
release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57529>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list