use local fonts

This commit is contained in:
2023-07-06 14:01:56 +02:00
parent 0759b2e4ad
commit f1e15863ea
10 changed files with 148 additions and 190 deletions

View File

@@ -0,0 +1,33 @@
/* fallback */
@font-face {
font-family: "Material Symbols Rounded";
font-weight: 100 700;
font-style: normal;
src: url("@fontsource-variable/material-symbols-rounded/files/material-symbols-rounded-latin-full-normal.woff2")
format("woff2");
}
.icon {
user-select: none;
direction: ltr;
display: inline-block;
/* stylelint-disable-next-line */
font-family: "Material Symbols Rounded";
font-size: 24px;
font-feature-settings: "liga";
font-variation-settings: "FILL" var(--icon-fill, 0), "wght" var(--icon-weigth, 400), "GRAD"
var(--icon-grade, 0);
font-weight: normal;
font-style: normal;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
transition: font-variation-settings 250ms ease;
-moz-osx-font-smoothing: grayscale;
}