Skip to content

Disable Serif fonts#374

Merged
aduth merged 1 commit intomainfrom
aduth-disable-serif
Oct 2, 2023
Merged

Disable Serif fonts#374
aduth merged 1 commit intomainfrom
aduth-disable-serif

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Sep 29, 2023

Why? We don't currently use Serif fonts. Previously, we overrode the Serif font face configuration to set Public Sans. Instead, this proposes to disable the serif font, and reconfigure the heading to use the Sans "role". This should be more semantically accurate, and optimizes the output to prevent serif-related font utilities from being output.

There should be no visual impact expected from these changes.

Related: 18F/identity-idp#9290

@aduth aduth requested a review from nickttng September 29, 2023 18:30
Copy link
Contributor

@nickttng nickttng left a comment

Choose a reason for hiding this comment

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

LGTM!

@aduth aduth merged commit 1a3317c into main Oct 2, 2023
@aduth aduth deleted the aduth-disable-serif branch October 2, 2023 12:31
@aduth aduth added the performance Changes which seek to improve performance label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Changes which seek to improve performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants