Browse Source

optimize fonts

develop
Simon Vieille 3 weeks ago
parent
commit
94bf90fbb5
  1. 1
      README.md
  2. 12
      assets/css/app.scss
  3. BIN
      assets/fonts/deblan/deblan-icon.woff2
  4. BIN
      assets/fonts/ubuntu/ubuntu-light.woff2

1
README.md

@ -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
-
```

12
assets/css/app.scss

@ -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;

BIN
assets/fonts/deblan/deblan-icon.woff2

Binary file not shown.

BIN
assets/fonts/ubuntu/ubuntu-light.woff2

Binary file not shown.
Loading…
Cancel
Save