Switch to SS3 variable font

This commit is contained in:
Late Night Defender 2024-12-10 02:36:23 +07:00
parent 47db64670d
commit f204347776
6 changed files with 20 additions and 10 deletions

View file

@ -1,9 +0,0 @@
/* source-sans-3 */
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 400;
font-stretch: 100%;
src: local("Source Sans 3 Regular"), local("SourceSans3-Regular"), url(source-sans-3.woff2) format("woff2");
}

View file

@ -0,0 +1,19 @@
/* source-sans-3-extralight-italic-latin */
@font-face {
font-family: "Source Sans 3";
font-style: italic;
font-weight: 200 900;
font-stretch: 100%;
src: local("Source Sans 3 Italic"), local("SourceSans3-Italic"), url(source-sans-3-extralight-italic-latin.woff2) format("woff2");
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
/* source-sans-3-extralight-latin */
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 200 900;
font-stretch: 100%;
src: local("Source Sans 3"), local("SourceSans3-Roman"), url(source-sans-3-extralight-latin.woff2) format("woff2");
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}

View file

@ -1,4 +1,4 @@
@import url("../assets/source-sans-3/source-sans-3.css"); @import url("../assets/source-sans-variable/source-sans-3.css");
:root { :root {
--black: 0, 0, 0; --black: 0, 0, 0;