1
1
mirror of https://github.com/primer/css.git synced 2024-09-19 20:57:37 +03:00

update InterUI name to Inter, and update font files

new font release with new name https://github.com/rsms/inter/releases/tag/v3.3
This commit is contained in:
Catherine Bui 2019-02-27 13:19:49 -08:00
parent 1bc39a1cb2
commit c57c920bfe
5 changed files with 5 additions and 5 deletions

BIN
fonts/Inter-Medium.woff Normal file

Binary file not shown.

BIN
fonts/Inter-Regular.woff Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,20 +2,20 @@ $marketing-font-path: "/primer-marketing-support/fonts/" !default;
// Type // Type
@font-face { @font-face {
font-family: InterUI; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: $font-weight-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-face {
font-family: InterUI; font-family: Inter;
font-style: normal; font-style: normal;
font-weight: $font-weight-semibold; 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 // Builds upon primer-support/variables/typography.scss
$h000-size: 64px !default; $h000-size: 64px !default;