mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-29 23:09:44 +01:00
9d8b474654
This allows the font to be dequeued by a child theme or plugin. Props poena, markhowellsmead, nielslange, Otto42, SGr33n, mukesh27, joemcgill. Fixes #48630. Built from https://develop.svn.wordpress.org/trunk@57311 git-svn-id: http://core.svn.wordpress.org/trunk@56817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
24 lines
674 B
CSS
24 lines
674 B
CSS
/* ----------------------------------------------
|
|
Inter variable font. Usage:
|
|
|
|
@supports (font-variation-settings: normal) {
|
|
html { font-family: 'Inter var', sans-serif; }
|
|
}
|
|
---------------------------------------------- */
|
|
|
|
@font-face {
|
|
font-family: "Inter var";
|
|
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
|
|
font-style: normal;
|
|
font-display: swap;
|
|
src: url(../fonts/inter/Inter-upright-var.woff2) format("woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter var";
|
|
font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
|
|
font-style: italic;
|
|
font-display: swap;
|
|
src: url(../fonts/inter/Inter-italic-var.woff2) format("woff2");
|
|
}
|