mirror of
https://github.com/primer/css.git
synced 2024-11-09 12:22:47 +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:
parent
1bc39a1cb2
commit
c57c920bfe
BIN
fonts/Inter-Medium.woff
Normal file
BIN
fonts/Inter-Medium.woff
Normal file
Binary file not shown.
BIN
fonts/Inter-Regular.woff
Normal file
BIN
fonts/Inter-Regular.woff
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user