optimize fonts
This commit is contained in:
parent
f3941c6ffc
commit
94bf90fbb5
|
@ -13,6 +13,7 @@ make
|
||||||
cd assets/fonts/deblan/
|
cd assets/fonts/deblan/
|
||||||
svg2ttf src/deblan-icon.svg deblan-icon.ttf
|
svg2ttf src/deblan-icon.svg deblan-icon.ttf
|
||||||
ttf2woff deblan-icon.ttf deblan-icon.woff
|
ttf2woff deblan-icon.ttf deblan-icon.woff
|
||||||
|
cat deblan-icon.ttf | ttf2woff2 > deblan-icon.woff2
|
||||||
ttf2eot deblan-icon.ttf deblan-icon.eot
|
ttf2eot deblan-icon.ttf deblan-icon.eot
|
||||||
-
|
-
|
||||||
```
|
```
|
||||||
|
|
|
@ -5,14 +5,18 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "MainFont";
|
font-family: "MainFont";
|
||||||
src: url(../fonts/ubuntu/ubuntu-light.woff) format('woff');
|
src:
|
||||||
|
url('../fonts/ubuntu/ubuntu-light.woff2?20211108') format('woff2'),
|
||||||
|
url('../fonts/ubuntu/ubuntu-light.woff?20211108') format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "deblan-icon";
|
font-family: "deblan-icon";
|
||||||
src: url('../fonts/deblan/deblan-icon.eot?v=5');
|
src: url('../fonts/deblan/deblan-icon.eot?20211108');
|
||||||
src: url('../fonts/deblan/deblan-icon.woff?vmatrix5') format('woff'),
|
src:
|
||||||
url('../fonts/deblan/deblan-icon.ttf?v=5') format('truetype');
|
url('../fonts/deblan/deblan-icon.woff2?20211108') format('woff2'),
|
||||||
|
url('../fonts/deblan/deblan-icon.woff?20211108') format('woff'),
|
||||||
|
url('../fonts/deblan/deblan-icon.ttf?20211108') format('truetype');
|
||||||
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|
BIN
assets/fonts/deblan/deblan-icon.woff2
Normal file
BIN
assets/fonts/deblan/deblan-icon.woff2
Normal file
Binary file not shown.
BIN
assets/fonts/ubuntu/ubuntu-light.woff2
Normal file
BIN
assets/fonts/ubuntu/ubuntu-light.woff2
Normal file
Binary file not shown.
Loading…
Reference in a new issue