WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.18k forks source link

Font size control: The limit of 5 t-shirt sizes makes it more difficult to style all heading levels #65108

Open carolinan opened 1 month ago

carolinan commented 1 month ago

What problem does this address?

In HTML we have heading level 1 to 6. Which usually means a theme needs to have at least 6 font sizes, unless the theme designer and content creator wants to re-use one size. Even then, one size will need to be the same as the default paragraph size.

I am aware that this is opinionated and subjective, but I believe this opinion is shared with others and not mine alone: The "t-shirt size control" is a better user experience than the drop down which is used when there are more than five font sizes. It is not always the easiest decision: either compromise on the typographic design or compromise on the user experience of selecting and applying the sizes.

So I consider the typographic need of being able to style all 6 heading levels a good reason for fitting six sizes in this control instead of five.

What is your proposed solution?

Re-design the control to fit six sizes.

beafialho commented 1 week ago

+1 on this!

JosVelasco commented 1 week ago

Six levels without having to click sounds fantastic.