diff --git a/.changeset/nice-timers-carry.md b/.changeset/nice-timers-carry.md new file mode 100644 index 0000000000..5282e97475 --- /dev/null +++ b/.changeset/nice-timers-carry.md @@ -0,0 +1,5 @@ +--- +"@navikt/ds-css": patch +--- + +Font: La til egen font for semibold italic for bedre skalering cross-browser diff --git a/@navikt/core/css/baseline/fonts.css b/@navikt/core/css/baseline/fonts.css index c36322e294..5d903cc513 100755 --- a/@navikt/core/css/baseline/fonts.css +++ b/@navikt/core/css/baseline/fonts.css @@ -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; diff --git a/fonts/SourceSans3-italic-latin-semibold.woff2 b/fonts/SourceSans3-italic-latin-semibold.woff2 new file mode 100644 index 0000000000..0b3ece8a82 Binary files /dev/null and b/fonts/SourceSans3-italic-latin-semibold.woff2 differ