-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking: fluid typography #44888
Comments
@ramonjd I have a quick question regarding #49815. Is there a way to independently specify the maximum viewport width for fluid font size calculations? The change in 49815 will significantly reduce the width at which our font sizes will begin shrinking, and could break certain layouts on legacy sites. Going forward, I definitely support using If this is something I can set in edit: Looking at the |
Thanks for the question @eric-michel This is something I wanted to do much earlier on. See comment and commit history of: You're right, it's not possible to configure at the moment, unless you fiddle with the layout width. I think it should be possible for theme authors to configure both the min and the max in theme.json. I've added a PR here to remind myself to come back to it 😄 |
Please integrate #53525 to section "Wishlist" |
@ramonjd Are there any plans to add the minimum font size factor as a configurable option in theme.json?
The min and max viewport width configurable options are a great improvement. Adding the min size factor would offer precise control over the responsiveness of font sizes. For my website, the current factor makes the curve move towards the minimum too slowly at the beginning and too quickly at the end. |
Thanks for the ping. Allowing more config options was something that I explored in a previous, now closed, PR..
Another idea, and something I'd like to pursue, is leveraging filters to override some things. It was decided to move slowly with this sort of stuff to provide room for more testing as every change as the potential to affect existing sites implementing the fluid font size system. It's on the wishlist in the description of this tracking issue 👍🏻 |
Wanted to note adding this to the mix: #58135 |
I'm going to close this tracking PR, as the main feature has been implemented since WordPress 6.1. Subsequent bugfixes and stability updates are complete. The outstanding issues can stand on their own.
|
An overview issue to track fluid typography follow ups and enhancements.
Related:
Fluid typography base functionality
Current improvements, fixes and extensions
Wishlist
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
The text was updated successfully, but these errors were encountered: