move font features to @font-face declaration (closes #489)
This commit is contained in:
parent
21620ae214
commit
d9eccf6127
13 changed files with 6 additions and 18 deletions
|
@ -1,15 +1,19 @@
|
|||
/* _font.scss */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Fira Code";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../fonts/FiraCode-Regular.woff") format("woff");
|
||||
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
|
||||
font-variant-ligatures: contextual;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: "Fira Code";
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: url("../fonts/FiraCode-Bold.woff") format("woff");
|
||||
font-feature-settings: "liga", "tnum", "zero", "ss01", "locl";
|
||||
font-variant-ligatures: contextual;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue