Skip to content

Commit

Permalink
💄 Bolder medium+ headings
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Jan 22, 2025
1 parent a46c898 commit 4dd2478
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
24 changes: 12 additions & 12 deletions @navikt/core/css/darkside/baseline/fonts.darkside.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-cyrillic_ext.woff2) format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
Expand All @@ -12,7 +12,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-cyrillic.woff2) format("woff2");
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
Expand All @@ -22,7 +22,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-latin_ext.woff2) format("woff2");
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
Expand All @@ -33,7 +33,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
Expand All @@ -44,7 +44,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-cyrillic_ext.woff2) format("woff2");
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
Expand All @@ -54,7 +54,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-cyrillic.woff2) format("woff2");
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
Expand All @@ -64,7 +64,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-latin_ext.woff2) format("woff2");
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
Expand All @@ -75,7 +75,7 @@
@font-face {
font-family: "Source Sans 3";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
Expand All @@ -88,7 +88,7 @@
@font-face {
font-family: "Source Sans Pro";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic-latin_ext.woff2) format("woff2");
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
Expand All @@ -99,7 +99,7 @@
@font-face {
font-family: "Source Sans Pro";
font-style: italic;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-italic.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
Expand All @@ -110,7 +110,7 @@
@font-face {
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal-latin_ext.woff2) format("woff2");
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
Expand All @@ -121,7 +121,7 @@
@font-face {
font-family: "Source Sans Pro";
font-style: normal;
font-weight: 400 600;
font-weight: 400 650;
font-display: swap;
src: url(https://cdn.nav.no/aksel/fonts/SourceSans3-normal.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
Expand Down
3 changes: 3 additions & 0 deletions @navikt/core/css/darkside/typography.darkside.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
font-size: var(--ax-font-size-heading-2xlarge);
letter-spacing: -0.01em;
line-height: var(--ax-font-line-height-heading-2xlarge);
font-weight: 650;
}

.navds-heading--xlarge.navds-typo--spacing {
Expand All @@ -18,6 +19,7 @@
font-size: var(--ax-font-size-heading-xlarge);
letter-spacing: -0.008em;
line-height: var(--ax-font-line-height-heading-xlarge);
font-weight: 650;
}

.navds-heading--large.navds-typo--spacing {
Expand Down Expand Up @@ -51,6 +53,7 @@
font-size: var(--ax-font-size-heading-medium);
letter-spacing: -0.002em;
line-height: var(--ax-font-line-height-heading-medium);
font-weight: 650;
}

.navds-heading--medium.navds-typo--spacing {
Expand Down

0 comments on commit 4dd2478

Please sign in to comment.