Skip to content

Style Variations previews on hover not properly reflecting fonts #40699

@annezazu

Description

@annezazu

Description

The style variations previews on hover aren't properly rendering the fonts for TT2.

Step-by-step reproduction instructions

  1. Open Appearance > Editor.
  2. Open the Styles interface.
  3. Select "browse styles"
  4. Hover over the various style options and notice the previews are slightly off.

Screenshots, screen recording, code snippet

What it looks like:

style.variations.mov

What it should look like:

Zx1_3_1RCi

Specifically, the font that says “default” should be a lot thinner and delicate-looking (source serif light) and the blue option should be quite robust and round (DM sans).

Environment info

  • WordPress 6.0 beta 3
  • TT2

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Theme Style VariationsRelated to style variations provided by block themes[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions