-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
An overview issue to track fluid typography follow ups and enhancements.
Related:
Fluid typography base functionality
- Fluid Typography Option #24480
- Fluid typography: custom font sizes should be converted to fluid font sizes values #44758
- Fluid typography: convert server-side block support values #44762
- Fluid Typography: Fix bug in global styles where fluid clamp rules were not calculated for custom values #44761
- Fluid typography: convert font size inline style attributes to fluid values #44764
- Make custom font sizes appear fluid in the block editor when fluid typography is enabled #44765
- Fluid typography: covert font size number values to pixels #44807
- Fluid typography: ensure fontsizes are strings or integers #44847
- Search block: ensure font sizes values are converted to fluid in the editor #44852
- Fluid typography: add font size constraints #44957
- Fluid typography: custom values should be set as maximum font size #45504
- Fluid typography: add configurable settings for minimum font size to theme.json #42489
- Global styles: convert preset font size values to CSS vars #44967
- Fluid typography: use logarithmic scale factor to calculate a min font size #49707
- Fluid typography: use layout.wideSize as max viewport width #49815
- Fluid typography: add min and max viewport width configurable options #53081
- Fallback to default max viewport if layout wide size is fluid. #53551
- Fluid typography: do not calculate fluid font size when min and max viewport widths are equal #57866
Current improvements, fixes and extensions
- Fluid font size application is dependent on the global state #58135
- Fluid typography: Numerical values shall support "ref" data type for better design synchronization e.g. typography.fluid.maxViewportWidth = "ref": "settings.layout.contentSize" #53525
- Typography: Casting float value to string makes it comma separated in some locales (PHP version < 8) #57607
- Regression: clamp calculations are broken in the editor since Block editor: hooks: avoid getEditWrapperProps #56912 (comment)
Wishlist
- Add further config values. See comment and previous implementation. Or more control through filters. Max and min viewport have been already implemented in Fluid typography: add min and max viewport width configurable options #53081
Bugs, tasks, and issues not covered here
For bug reports and smaller tasks, we can use the [Feature] Typography issue label for tracking and visibility.
Closed unfixed
andrewserong, annezazu, paaljoachim, priethor, strarsis and 1 more
Metadata
Metadata
Assignees
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.