-
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
Add relative units for font size option #23323
Comments
Expanding on this one, it would be useful to just have a freeform option. Forcing users to pick a numeric value and a unit will cover a lot of cases, but not all. It will still limit things and prevent valid use-cases that make sense. |
I agree with what is being said here. Ideally, the font size picker component would be expanded to support string values. The same would happen for all controls where we accept value/units or more complex CSS. |
This is supported now. |
Ah, sorry, I misread :) |
That's ok. Thanks for reopening! |
This option will be added soon? I really need vw vh and calc or var options to fonts size 😄 |
@iamtakashi @flabernardez @beafialho @WordPress/block-themers @WordPress/outreach (*The control in the Typography panel where you select a completely custom font size instead of using a preset) |
It can be useful. Here's a recent example of using the However, while working on the theme, I realised that the editor already recognises the
|
The custom font size option is really useful, but the lack of relative units has been a problem to make patterns work well in both large and small screens.
It'd be great if we could have some the relative units, just like the cover block height control.
With the
vw
unit, this sort of type treatment would be possible, I think.I've seen this topic has come up before, and I'll apologise if there is a better thread to discuss this. If there is please point me at there.
The text was updated successfully, but these errors were encountered: