Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
feat(fonts): adding Book weight
Browse files Browse the repository at this point in the history
  • Loading branch information
vsjolander committed Mar 13, 2024
1 parent 6d5236c commit 3003332
Show file tree
Hide file tree
Showing 33 changed files with 7,478 additions and 0 deletions.
Binary file modified fonts/SEBSansSerif-Bold.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Bold.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Bold.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-BoldItalic.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-BoldItalic.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-BoldItalic.woff2
Binary file not shown.
Binary file added fonts/SEBSansSerif-Book.eot
Binary file not shown.
Binary file added fonts/SEBSansSerif-Book.woff
Binary file not shown.
Binary file added fonts/SEBSansSerif-Book.woff2
Binary file not shown.
Binary file added fonts/SEBSansSerif-BookItalic.eot
Binary file not shown.
Binary file added fonts/SEBSansSerif-BookItalic.woff
Binary file not shown.
Binary file added fonts/SEBSansSerif-BookItalic.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Light.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Light.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Light.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-LightItalic.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-LightItalic.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-LightItalic.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Medium.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Medium.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Medium.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-MediumItalic.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-MediumItalic.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-MediumItalic.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Regular.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Regular.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-Regular.woff2
Binary file not shown.
Binary file modified fonts/SEBSansSerif-RegularItalic.eot
Binary file not shown.
Binary file modified fonts/SEBSansSerif-RegularItalic.woff
Binary file not shown.
Binary file modified fonts/SEBSansSerif-RegularItalic.woff2
Binary file not shown.
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
.light {
font-weight: 300;
}
.book {
font-weight: 450;
}
.medium {
font-weight: 500;
}
Expand All @@ -42,11 +45,13 @@ <h6>Heading h6</h6>
<hr>
<p class="light">Light AaBbCc 0123456789</p>
<p>Regular AaBbCc 0123456789</p>
<p class="book">Book AaBbCc 0123456789</p>
<p class="medium">Medium AaBbCc 0123456789</p>
<p class="bold">Bold AaBbCc 0123456789</p>
<hr>
<p class="light italic">Light Italic AaBbCc 0123456789</p>
<p class="italic">Regular Italic AaBbCc 0123456789</p>
<p class="book italic">Book Italic AaBbCc 0123456789</p>
<p class="medium italic">Medium Italic AaBbCc 0123456789</p>
<p class="bold italic">Bold Italic AaBbCc 0123456789</p>
</div>
Expand Down
22 changes: 22 additions & 0 deletions scss/_path.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
font-display: swap;
}

@font-face {
font-family: "SEBSansSerif";
src: url('#{$seb-font-path}/SEBSansSerif-Book.eot');
src: url('#{$seb-font-path}/SEBSansSerif-Book.eot?#iefix') format('embedded-opentype'),
url('#{$seb-font-path}/SEBSansSerif-Book.woff2') format('woff2'),
url('#{$seb-font-path}/SEBSansSerif-Book.woff') format('woff');
font-weight: 450;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "SEBSansSerif";
src: url('#{$seb-font-path}/SEBSansSerif-Medium.eot');
Expand Down Expand Up @@ -68,6 +79,17 @@
font-display: swap;
}

@font-face {
font-family: "SEBSansSerif";
src: url('#{$seb-font-path}/SEBSansSerif-BookItalic.eot');
src: url('#{$seb-font-path}/SEBSansSerif-BookItalic.eot?#iefix') format('embedded-opentype'),
url('#{$seb-font-path}/SEBSansSerif-BookItalic.woff2') format('woff2'),
url('#{$seb-font-path}/SEBSansSerif-BookItalic.woff') format('woff');
font-weight: 450;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "SEBSansSerif";
src: url('#{$seb-font-path}/SEBSansSerif-MediumItalic.eot');
Expand Down
7,451 changes: 7,451 additions & 0 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 3003332

Please sign in to comment.