WordPress / twentytwentythree

Twenty Twenty-Three, the default WordPress theme sporting many styles that will launch with WordPress 6.1.
123 stars 65 forks source link

Canary: Apply single font sizes as overrides and remove font family definition on headings #279

Closed mikachan closed 2 years ago

mikachan commented 2 years ago

This changes the way the single font size preset is applied in Canary, as it seems to be causing issues with how typography is used in Global Styles.

Instead of overwriting each font size preset with the same value, this overrides each font size setting to the same preset (small).

This also removes the font family setting for core/heading, as this doesn't seem to be required anymore and it makes managing the font families from Global Styles less confusing.

Fixes https://github.com/WordPress/twentytwentythree/issues/278.

mikachan commented 2 years ago

I'm going to bring this in as I believe it addresses the issues from https://github.com/WordPress/twentytwentythree/issues/278, but please open any further related issues if needed.