Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
887 stars 355 forks source link

Spearhead: Headings font no applied to heading block #3215

Open alaczek opened 3 years ago

alaczek commented 3 years ago

I noticed that Spearhead does not apply heading font (as selected in global styles) to the heading block. In fact the only places where heading font seems to be applied is site title in the header and footer, and post date.

Steps to replicate

  1. On a site with Spearhead active, create a post or a page.
  2. Add a title, a paragraph, and a heading block to the content.
  3. Navigate to Global styles and pick Playfair display for headings. Hit Publish (within the Global styles)
  4. Notice the heading font is not being used for the Heading block.
  5. Preview the site. Note that heading font is not being used for post / page title either.

Expected

I expected heading font to be applied to Heading block, and also things like blog/page title, even if by default Spearhead uses the same font for both headings and regular text.

spearhead_fonts

Found through my own testing.

eduardozulian commented 3 years ago

Encountered this during an empathy flow testing: p7DVsv-baQ-p2