Skip to content

Remove references to $default-font from front-facing styles#24567

Merged
ZebulanStanphill merged 1 commit intoWordPress:masterfrom
aristath:aristath/remove-front-default-font
Aug 19, 2020
Merged

Remove references to $default-font from front-facing styles#24567
ZebulanStanphill merged 1 commit intoWordPress:masterfrom
aristath:aristath/remove-front-default-font

Conversation

@aristath
Copy link
Member

@aristath aristath commented Aug 14, 2020

Currently we're defining the editorr's default font-family on a couple of frontend styles:
In calendars we apply it to tables, and we also add it to navigation link labels.

This PR removes these 2 rules so the theme's font-family can be used instead.

@ZebulanStanphill ZebulanStanphill added [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Package] Block library /packages/block-library [Type] Bug An existing feature does not function as intended CSS Styling Related to editor and front end styles, CSS-specific issues. labels Aug 17, 2020
Copy link
Member

@ZebulanStanphill ZebulanStanphill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge.

@ZebulanStanphill ZebulanStanphill merged commit f6a63e8 into WordPress:master Aug 19, 2020
@github-actions github-actions bot added this to the Gutenberg 8.9 milestone Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CSS Styling Related to editor and front end styles, CSS-specific issues. [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Package] Block library /packages/block-library [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants