diff --git a/fonts/Inter-Medium.woff b/fonts/Inter-Medium.woff new file mode 100644 index 0000000000..ef8085236b Binary files /dev/null and b/fonts/Inter-Medium.woff differ diff --git a/fonts/Inter-Regular.woff b/fonts/Inter-Regular.woff new file mode 100644 index 0000000000..9aa5423aa0 Binary files /dev/null and b/fonts/Inter-Regular.woff differ diff --git a/fonts/Inter-UI-Medium.woff b/fonts/Inter-UI-Medium.woff deleted file mode 100644 index 860da965f6..0000000000 Binary files a/fonts/Inter-UI-Medium.woff and /dev/null differ diff --git a/fonts/Inter-UI-Regular.woff b/fonts/Inter-UI-Regular.woff deleted file mode 100644 index dea6032204..0000000000 Binary files a/fonts/Inter-UI-Regular.woff and /dev/null differ diff --git a/src/marketing/support/variables.scss b/src/marketing/support/variables.scss index a97f20b14f..cd2af747e3 100644 --- a/src/marketing/support/variables.scss +++ b/src/marketing/support/variables.scss @@ -2,20 +2,20 @@ $marketing-font-path: "/primer-marketing-support/fonts/" !default; // Type @font-face { - font-family: InterUI; + font-family: Inter; font-style: normal; font-weight: $font-weight-normal; - src: local("InterUI"), local("InterUI-Regular"), url("#{$marketing-font-path}Inter-UI-Regular.woff") format("woff"); + src: local("Inter"), local("Inter-Regular"), url("#{$marketing-font-path}Inter-UI-Regular.woff") format("woff"); } @font-face { - font-family: InterUI; + font-family: Inter; font-style: normal; font-weight: $font-weight-semibold; - src: local("InterUI Medium"), local("InterUI-Medium"), url("#{$marketing-font-path}Inter-UI-Medium.woff") format("woff"); + src: local("Inter Medium"), local("Inter-Medium"), url("#{$marketing-font-path}Inter-UI-Medium.woff") format("woff"); } -$font-mktg: InterUI, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; +$font-mktg: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default; // Builds upon primer-support/variables/typography.scss $h000-size: 64px !default;