[wp-trac] [WordPress Trac] #59048: Fluid typography: add min and max viewport width configurable options

WordPress Trac noreply at wordpress.org
Thu Aug 10 10:39:34 UTC 2023


#59048: Fluid typography: add min and max viewport width configurable options
-------------------------+-------------------------------------------------
 Reporter:  ramonopoly   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  6.4
Component:  Editor       |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch has-unit-tests gutenberg-
  Focuses:               |  merge
-------------------------+-------------------------------------------------
 Let's add configurable min and max viewport width values to the
 typography.fluid theme.json schema, to allow theme developers to configure
 their own default min and max viewport widths for calculating fluid font
 sizes.

 "What do the min and max viewport widths do?" you ask? Good question.

 They define the boundaries, in terms of viewport widths, at which font
 size clamp values will stop being "fluid". For example, consider the
 following theme.json settings

 Gutenberg PR has been merged:
 https://github.com/WordPress/gutenberg/pull/53081

 As well as the core PHP changes, a NPM package update will be required to
 complete this task.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59048>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list