Skip to content

Commit

Permalink
feat(fonts): optimize fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ForkInSpace committed Sep 1, 2020
1 parent 7084245 commit 3027b6e
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 288 deletions.
166 changes: 27 additions & 139 deletions projects/seb-pictograms/fonts/seb-light-pictograms.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified projects/seb-pictograms/fonts/seb-light-pictograms.woff
Binary file not shown.
Empty file.
166 changes: 27 additions & 139 deletions projects/seb-pictograms/fonts/seb-pictograms.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified projects/seb-pictograms/fonts/seb-pictograms.woff
Binary file not shown.
Empty file.
22 changes: 12 additions & 10 deletions projects/seb-pictograms/pictograms.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
@font-face {
font-family: 'seb-pictograms';
src: url('fonts/seb-pictograms.eot?a7zwa4');
src: url('fonts/seb-pictograms.eot?a7zwa4#iefix') format('embedded-opentype'),
src: url('fonts/seb-pictograms.eot');
src: url('fonts/seb-pictograms.eot?#iefix') format('embedded-opentype'),
url('fonts/seb-pictograms.ttf?a7zwa4') format('truetype'),
url('fonts/seb-pictograms.woff?a7zwa4') format('woff'),
url('fonts/seb-pictograms.svg?a7zwa4#icomoon') format('svg');
url('fonts/seb-pictograms.woff2') format('woff2'),
url('fonts/seb-pictograms.woff') format('woff'),
url('fonts/seb-pictograms.svg#seb-iconsregular') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'seb-light-pictograms';
src: url('fonts/seb-light-pictograms.eot?a7zwa4');
src: url('fonts/seb-light-pictograms.eot?a7zwa4#iefix') format('embedded-opentype'),
src: url('fonts/seb-light-pictograms.eot');
src: url('fonts/seb-light-pictograms.eot?#iefix') format('embedded-opentype'),
url('fonts/seb-light-pictograms.ttf?a7zwa4') format('truetype'),
url('fonts/seb-light-pictograms.woff?a7zwa4') format('woff'),
url('fonts/seb-light-pictograms.svg?a7zwa4#icomoon') format('svg');
url('fonts/seb-light-pictograms.woff2') format('woff2'),
url('fonts/seb-light-pictograms.woff') format('woff'),
url('fonts/seb-light-pictograms.svg#seb-light-iconsregular') format('svg');
font-weight: normal;
font-style: normal;
}
Expand All @@ -28,7 +30,7 @@
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand All @@ -50,4 +52,4 @@
content: #{'"\\' + map-get($item, code) + '"'};
}
}
}
}

0 comments on commit 3027b6e

Please sign in to comment.