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