Allow themes to supply the font weight used for "Bold" in theme.json #30297
Labels
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Enhancement
A suggestion for improvement.
Themes can currently provide a font weight using theme.json:
We should figure out a way for the theme to specify a font weight for when the "Bold" (
<strong>
) setting is applied to that text as well:It's plausible that if a theme had lighter default text, they'd want the bold to be a
500
or600
weight, rather than the default700
weight. Usually this is something that's done via CSS, as you can see in this example from Twenty Twenty-One:https://github.com/WordPress/twentytwentyone/blob/481fc1edc2f797a3e797a8c3919da9d969cd8155/assets/css/ie-editor.css#L1111-L1113
The text was updated successfully, but these errors were encountered: