|
| 1 | +/* Variable fonts usage: |
| 2 | +:root { font-family: "Inter", sans-serif; } |
| 3 | +@supports (font-variation-settings: normal) { |
| 4 | + :root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; } |
| 5 | +} */ |
| 6 | +@font-face { |
| 7 | + font-family: InterVariable; |
| 8 | + font-style: normal; |
| 9 | + font-weight: 100 900; |
| 10 | + font-display: swap; |
| 11 | + src: url("InterVariable.woff2") format("woff2"); |
| 12 | +} |
| 13 | +@font-face { |
| 14 | + font-family: InterVariable; |
| 15 | + font-style: italic; |
| 16 | + font-weight: 100 900; |
| 17 | + font-display: swap; |
| 18 | + src: url("InterVariable-Italic.woff2") format("woff2"); |
| 19 | +} |
| 20 | + |
| 21 | +/* static fonts */ |
| 22 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("Inter-Thin.woff2") format("woff2"); } |
| 23 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("Inter-ThinItalic.woff2") format("woff2"); } |
| 24 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("Inter-ExtraLight.woff2") format("woff2"); } |
| 25 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("Inter-ExtraLightItalic.woff2") format("woff2"); } |
| 26 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("Inter-Light.woff2") format("woff2"); } |
| 27 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("Inter-LightItalic.woff2") format("woff2"); } |
| 28 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("Inter-Regular.woff2") format("woff2"); } |
| 29 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("Inter-Italic.woff2") format("woff2"); } |
| 30 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("Inter-Medium.woff2") format("woff2"); } |
| 31 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("Inter-MediumItalic.woff2") format("woff2"); } |
| 32 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("Inter-SemiBold.woff2") format("woff2"); } |
| 33 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("Inter-SemiBoldItalic.woff2") format("woff2"); } |
| 34 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("Inter-Bold.woff2") format("woff2"); } |
| 35 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("Inter-BoldItalic.woff2") format("woff2"); } |
| 36 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("Inter-ExtraBold.woff2") format("woff2"); } |
| 37 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("Inter-ExtraBoldItalic.woff2") format("woff2"); } |
| 38 | +@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("Inter-Black.woff2") format("woff2"); } |
| 39 | +@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("Inter-BlackItalic.woff2") format("woff2"); } |
| 40 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 100; font-display: swap; src: url("InterDisplay-Thin.woff2") format("woff2"); } |
| 41 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 100; font-display: swap; src: url("InterDisplay-ThinItalic.woff2") format("woff2"); } |
| 42 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLight.woff2") format("woff2"); } |
| 43 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 200; font-display: swap; src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2"); } |
| 44 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 300; font-display: swap; src: url("InterDisplay-Light.woff2") format("woff2"); } |
| 45 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 300; font-display: swap; src: url("InterDisplay-LightItalic.woff2") format("woff2"); } |
| 46 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 400; font-display: swap; src: url("InterDisplay-Regular.woff2") format("woff2"); } |
| 47 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 400; font-display: swap; src: url("InterDisplay-Italic.woff2") format("woff2"); } |
| 48 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 500; font-display: swap; src: url("InterDisplay-Medium.woff2") format("woff2"); } |
| 49 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 500; font-display: swap; src: url("InterDisplay-MediumItalic.woff2") format("woff2"); } |
| 50 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBold.woff2") format("woff2"); } |
| 51 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 600; font-display: swap; src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2"); } |
| 52 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 700; font-display: swap; src: url("InterDisplay-Bold.woff2") format("woff2"); } |
| 53 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 700; font-display: swap; src: url("InterDisplay-BoldItalic.woff2") format("woff2"); } |
| 54 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBold.woff2") format("woff2"); } |
| 55 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 800; font-display: swap; src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2"); } |
| 56 | +@font-face { font-family: "InterDisplay"; font-style: normal; font-weight: 900; font-display: swap; src: url("InterDisplay-Black.woff2") format("woff2"); } |
| 57 | +@font-face { font-family: "InterDisplay"; font-style: italic; font-weight: 900; font-display: swap; src: url("InterDisplay-BlackItalic.woff2") format("woff2"); } |
| 58 | + |
| 59 | +@font-feature-values InterVariable { |
| 60 | + @character-variant { |
| 61 | + cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8; |
| 62 | + cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13; |
| 63 | + alt-1: 1; /* Alternate one */ |
| 64 | + alt-3: 9; /* Flat-top three */ |
| 65 | + open-4: 2; /* Open four */ |
| 66 | + open-6: 3; /* Open six */ |
| 67 | + open-9: 4; /* Open nine */ |
| 68 | + lc-l-with-tail: 5; /* Lower-case L with tail */ |
| 69 | + simplified-u: 6; /* Simplified u */ |
| 70 | + alt-double-s: 7; /* Alternate German double s */ |
| 71 | + uc-i-with-serif: 8; /* Upper-case i with serif */ |
| 72 | + uc-g-with-spur: 10; /* Capital G with spur */ |
| 73 | + single-story-a: 11; /* Single-story a */ |
| 74 | + compact-lc-f: 12; /* Compact f */ |
| 75 | + compact-lc-t: 13; /* Compact t */ |
| 76 | + } |
| 77 | + @styleset { |
| 78 | + ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8; |
| 79 | + open-digits: 1; /* Open digits */ |
| 80 | + disambiguation: 2; /* Disambiguation (with zero) */ |
| 81 | + disambiguation-except-zero: 4; /* Disambiguation (no zero) */ |
| 82 | + round-quotes-and-commas: 3; /* Round quotes & commas */ |
| 83 | + square-punctuation: 7; /* Square punctuation */ |
| 84 | + square-quotes: 8; /* Square quotes */ |
| 85 | + circled-characters: 5; /* Circled characters */ |
| 86 | + squared-characters: 6; /* Squared characters */ |
| 87 | + } |
| 88 | +} |
| 89 | +@font-feature-values Inter { |
| 90 | + @character-variant { |
| 91 | + cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8; |
| 92 | + cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13; |
| 93 | + alt-1: 1; /* Alternate one */ |
| 94 | + alt-3: 9; /* Flat-top three */ |
| 95 | + open-4: 2; /* Open four */ |
| 96 | + open-6: 3; /* Open six */ |
| 97 | + open-9: 4; /* Open nine */ |
| 98 | + lc-l-with-tail: 5; /* Lower-case L with tail */ |
| 99 | + simplified-u: 6; /* Simplified u */ |
| 100 | + alt-double-s: 7; /* Alternate German double s */ |
| 101 | + uc-i-with-serif: 8; /* Upper-case i with serif */ |
| 102 | + uc-g-with-spur: 10; /* Capital G with spur */ |
| 103 | + single-story-a: 11; /* Single-story a */ |
| 104 | + compact-lc-f: 12; /* Compact f */ |
| 105 | + compact-lc-t: 13; /* Compact t */ |
| 106 | + } |
| 107 | + @styleset { |
| 108 | + ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8; |
| 109 | + open-digits: 1; /* Open digits */ |
| 110 | + disambiguation: 2; /* Disambiguation (with zero) */ |
| 111 | + disambiguation-except-zero: 4; /* Disambiguation (no zero) */ |
| 112 | + round-quotes-and-commas: 3; /* Round quotes & commas */ |
| 113 | + square-punctuation: 7; /* Square punctuation */ |
| 114 | + square-quotes: 8; /* Square quotes */ |
| 115 | + circled-characters: 5; /* Circled characters */ |
| 116 | + squared-characters: 6; /* Squared characters */ |
| 117 | + } |
| 118 | +} |
| 119 | +@font-feature-values InterDisplay { |
| 120 | + @character-variant { |
| 121 | + cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8; |
| 122 | + cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13; |
| 123 | + alt-1: 1; /* Alternate one */ |
| 124 | + alt-3: 9; /* Flat-top three */ |
| 125 | + open-4: 2; /* Open four */ |
| 126 | + open-6: 3; /* Open six */ |
| 127 | + open-9: 4; /* Open nine */ |
| 128 | + lc-l-with-tail: 5; /* Lower-case L with tail */ |
| 129 | + simplified-u: 6; /* Simplified u */ |
| 130 | + alt-double-s: 7; /* Alternate German double s */ |
| 131 | + uc-i-with-serif: 8; /* Upper-case i with serif */ |
| 132 | + uc-g-with-spur: 10; /* Capital G with spur */ |
| 133 | + single-story-a: 11; /* Single-story a */ |
| 134 | + compact-lc-f: 12; /* Compact f */ |
| 135 | + compact-lc-t: 13; /* Compact t */ |
| 136 | + } |
| 137 | + @styleset { |
| 138 | + ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8; |
| 139 | + open-digits: 1; /* Open digits */ |
| 140 | + disambiguation: 2; /* Disambiguation (with zero) */ |
| 141 | + disambiguation-except-zero: 4; /* Disambiguation (no zero) */ |
| 142 | + round-quotes-and-commas: 3; /* Round quotes & commas */ |
| 143 | + square-punctuation: 7; /* Square punctuation */ |
| 144 | + square-quotes: 8; /* Square quotes */ |
| 145 | + circled-characters: 5; /* Circled characters */ |
| 146 | + squared-characters: 6; /* Squared characters */ |
| 147 | + } |
| 148 | +} |
0 commit comments