From 39b15c5ff4ffc2e652c3d34395c1d3f482f26761 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 29 Sep 2023 14:28:13 -0400 Subject: [PATCH] Disable Serif fonts --- CHANGELOG.md | 1 + src/scss/packages/_uswds-core.scss | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6469fcbf..d34f6c2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Breaking Changes +- Serif fonts are disabled by default. This should not have a noticeable impact in most cases, since the Serif fonts were already previously assigned to Public Sans (a Sans Serif font). - Update USWDS from 3.4.1 to 3.6.0 - See release notes: - https://github.com/uswds/uswds/releases/tag/v3.5.0 diff --git a/src/scss/packages/_uswds-core.scss b/src/scss/packages/_uswds-core.scss index c1534af6..708b7cc8 100644 --- a/src/scss/packages/_uswds-core.scss +++ b/src/scss/packages/_uswds-core.scss @@ -186,9 +186,12 @@ $site-palette: ( $theme-root-font-size: 16px !default, // Font path $theme-font-path: if(variable-exists(font-path), $font-path, '../fonts') !default, + // Font role + $theme-font-role-heading: 'sans', + $theme-font-role-alt: 'sans', // Font type $theme-font-type-sans: 'public-sans' !default, - $theme-font-type-serif: 'public-sans' !default, + $theme-font-type-serif: false !default, // Type scale $theme-type-scale-3xs: 'micro' !default, $theme-type-scale-2xs: 2 !default,