mirror of
https://github.com/primer/css.git
synced 2024-11-14 03:54:54 +03:00
Merge pull request #660 from primer/marketing-font-path
Add $marketing-font-path
This commit is contained in:
commit
618b7b786f
@ -1,16 +1,18 @@
|
||||
$marketing-font-path: "/primer-marketing-support/fonts/" !default;
|
||||
|
||||
// Type
|
||||
@font-face {
|
||||
font-family: InterUI;
|
||||
font-style: normal;
|
||||
font-weight: $font-weight-normal;
|
||||
src: local("InterUI"), local("InterUI-Regular"), url("/primer-marketing-support/fonts/Inter-UI-Regular.woff") format("woff");
|
||||
src: local("InterUI"), local("InterUI-Regular"), url("#{$marketing-font-path}Inter-UI-Regular.woff") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: InterUI;
|
||||
font-style: normal;
|
||||
font-weight: $font-weight-semibold;
|
||||
src: local("InterUI Medium"), local("InterUI-Medium"), url("/primer-marketing-support/fonts/Inter-UI-Medium.woff") format("woff");
|
||||
src: local("InterUI Medium"), local("InterUI-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;
|
||||
|
Loading…
Reference in New Issue
Block a user