From 785e4273f8880dd0f56f965e0f12e49fb770affe Mon Sep 17 00:00:00 2001 From: Chris Contolini Date: Thu, 17 Oct 2024 11:38:29 -0400 Subject: [PATCH] Replace Avenier Next with Source Sans 3 --- .../cfpb-design-system/src/base/font.scss | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/packages/cfpb-design-system/src/base/font.scss b/packages/cfpb-design-system/src/base/font.scss index 4ed595d818..3393f9ea50 100644 --- a/packages/cfpb-design-system/src/base/font.scss +++ b/packages/cfpb-design-system/src/base/font.scss @@ -1,29 +1,12 @@ +@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap'); + @mixin licensed-font($path: '/static/fonts') { /* ========================================================================== Design System Licensed font URLs – for CFPB use only. ========================================================================== */ - @if $path { - @font-face { - font-family: 'Avenir Next'; - src: url('#{$path}/2cd55546-ec00-4af9-aeca-4a3cd186da53.woff2') - format('woff2'); - font-style: normal; - font-weight: normal; - font-display: fallback; - } - - @font-face { - font-family: 'Avenir Next'; - src: url('#{$path}/627fbb5a-3bae-4cd9-b617-2f923e29d55e.woff2') - format('woff2'); - font-style: normal; - font-weight: 500; - font-display: fallback; - } - :root { - --font-stack: 'Avenir Next', arial, sans-serif; - } + :root { + --font-stack: 'Source Sans 3', sans-serif; } }