WordPress / theme-experiments

Experimenting with themes made out of blocks.
GNU General Public License v2.0
546 stars 180 forks source link

Added (numerical) Font Weight Value to Headings #211

Closed pbking closed 3 years ago

pbking commented 3 years ago

As a replacement for #135, this change adds font weights to the headers via theme.json via numerical values rather than CSS variables.

Closes #97

This is necessary due to this Gutenberg change.

This change (as was the original) is still dependent on this Gutenberg change allowing the Heading block to adjust the font weight: https://github.com/WordPress/gutenberg/pull/27639

kjellr commented 3 years ago

Closing in favor of #239 for now.