diff --git a/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic.css b/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic.css index 0390a13c75..1bf5554d24 100644 --- a/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic.css +++ b/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic.css @@ -1,11 +1,25 @@ +@font-face { + font-display: swap; + font-family: 'Noto Sans Arabic homepage'; + font-stretch: 100%; + font-style: normal; + font-weight: 400; + src: url('/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/homepage-NotoSansArabic-Regular.woff2') + format('woff2'); + unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, + U+FB50-FDFF, U+FE80-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, + U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, + U+2212, U+2215, U+FEFF, U+FFFD; +} + @font-face { font-display: swap; font-family: 'Noto Sans Arabic'; font-stretch: 100%; font-style: normal; font-weight: 400; - src: url('/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/NotoSansArabic-Regular.ttf') - format('truetype'); + src: url('/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/NotoSansArabic-Regular.woff2') + format('woff2'); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, @@ -17,8 +31,8 @@ font-stretch: 100%; font-style: normal; font-weight: 700; - src: url('/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/NotoSansArabic-Bold.ttf') - format('truetype'); + src: url('/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/NotoSansArabic-Bold.woff2') + format('woff2'); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, diff --git a/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/homepage-NotoSansArabic-Regular.woff2 b/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/homepage-NotoSansArabic-Regular.woff2 new file mode 100644 index 0000000000..7a68e68e22 Binary files /dev/null and b/services/drupal/web/themes/epa_theme/fonts/noto-sans-arabic/static/NotoSansArabic/homepage-NotoSansArabic-Regular.woff2 differ diff --git a/services/drupal/web/themes/epa_theme/fonts/noto-sans-kr/homepage-NotoSansKR-Regular.woff2 b/services/drupal/web/themes/epa_theme/fonts/noto-sans-kr/homepage-NotoSansKR-Regular.woff2 index edeb2a7276..6709e1acf7 100644 Binary files a/services/drupal/web/themes/epa_theme/fonts/noto-sans-kr/homepage-NotoSansKR-Regular.woff2 and b/services/drupal/web/themes/epa_theme/fonts/noto-sans-kr/homepage-NotoSansKR-Regular.woff2 differ diff --git a/services/drupal/web/themes/epa_theme/fonts/noto-sans-sc/homepage-NotoSansSC-Regular.woff2 b/services/drupal/web/themes/epa_theme/fonts/noto-sans-sc/homepage-NotoSansSC-Regular.woff2 index ece72122d9..f93ffe3c66 100644 Binary files a/services/drupal/web/themes/epa_theme/fonts/noto-sans-sc/homepage-NotoSansSC-Regular.woff2 and b/services/drupal/web/themes/epa_theme/fonts/noto-sans-sc/homepage-NotoSansSC-Regular.woff2 differ diff --git a/services/drupal/web/themes/epa_theme/source/_patterns/00-config/config.design-tokens.yml b/services/drupal/web/themes/epa_theme/source/_patterns/00-config/config.design-tokens.yml index 6d4bee04d5..5c5c59b4bb 100644 --- a/services/drupal/web/themes/epa_theme/source/_patterns/00-config/config.design-tokens.yml +++ b/services/drupal/web/themes/epa_theme/source/_patterns/00-config/config.design-tokens.yml @@ -8,8 +8,8 @@ uswds: # https://github.com/uswds/uswds/blob/develop/packages/uswds-core/src/styles/settings/_settings-typography.scss font-path: '../fonts' type-scale-md: 7 - font-sans-custom-stack: '"Noto Sans Arabic", "Noto Sans BN homepage", "Noto Sans GU homepage", "Noto Sans KR homepage", "Noto Sans SC homepage", "Noto Sans BN", "Noto Sans GU", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", "Helvetica Neue", Helvetica, Arial, sans' - font-serif-custom-stack: '"Noto Sans Arabic", "Noto Sans BN homepage", "Noto Sans GU homepage", "Noto Sans KR homepage", "Noto Sans SC homepage", "Noto Sans BN", "Noto Sans GU", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", Georgia, Cambria, "Times New Roman", Times, serif' + font-sans-custom-stack: '"Noto Sans Arabic homepage", "Noto Sans KR homepage", "Noto Sans SC homepage", "Noto Sans BN homepage", "Noto Sans GU homepage", "Noto Sans Arabic", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", "Noto Sans BN", "Noto Sans GU", "Helvetica Neue", Helvetica, Arial, sans' + font-serif-custom-stack: '"Noto Sans Arabic homepage", "Noto Sans KR homepage", "Noto Sans SC homepage", "Noto Sans BN homepage", "Noto Sans GU homepage", "Noto Sans Arabic", "Noto Sans KR", "Noto Sans SC", "Noto Sans TC", "Noto Sans BN", "Noto Sans GU", Georgia, Cambria, "Times New Roman", Times, serif' # https://github.com/uswds/uswds/blob/develop/packages/uswds-core/src/styles/settings/_settings-color.scss color-base-family: 'gray-cool' color-base-lightest: 'gray-5'