Skip to content

Commit

Permalink
Add semibold (600) fonts (#2150)
Browse files Browse the repository at this point in the history
Co-authored-by: Ken <[email protected]>
  • Loading branch information
cskrov and KenAJoh authored Aug 11, 2023
1 parent 647b14a commit 0de8238
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nice-timers-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-css": patch
---

Font: La til egen font for semibold italic for bedre skalering cross-browser
7 changes: 7 additions & 0 deletions @navikt/core/css/baseline/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
font-display: swap;
src: url("https://cdn.nav.no/aksel/fonts/SourceSans3-italic.woff2") format("woff2");
}
@font-face {
font-family: "Source Sans Pro";
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("https://cdn.nav.no/aksel/fonts/SourceSans3-italic-latin-semibold") format("woff2");
}
@font-face {
font-family: "Source Sans Pro";
font-style: normal;
Expand Down
Binary file added fonts/SourceSans3-italic-latin-semibold.woff2
Binary file not shown.

0 comments on commit 0de8238

Please sign in to comment.