diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/makePropertiesFile.test.ts.snap b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/makePropertiesFile.test.ts.snap index f6c0bef776a..c84adae7547 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/makePropertiesFile.test.ts.snap +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/makePropertiesFile.test.ts.snap @@ -15,8 +15,9 @@ export default { '--sb-font-size-small': '0.875rem', '--sb-font-size-basis': '1rem', '--sb-font-size-basis--em': '1em', - '--sb-font-size-lead': '1.25rem', - '--sb-font-size-medium': '1.625rem', + '--sb-font-size-lead': 'var(--font-size-medium)', + '--sb-font-size-medium': '1.25rem', + '--sb-font-size-medium--plus': '1.625rem', '--sb-font-size-large': '2rem', '--sb-font-size-x-large': '2.375rem', '--sb-font-size-xx-large': '3rem', @@ -196,8 +197,9 @@ export default { '--sb-font-size-small': '0.875rem', '--sb-font-size-basis': '1rem', '--sb-font-size-basis--em': '1em', - '--sb-font-size-lead': '1.25rem', - '--sb-font-size-medium': '1.625rem', + '--sb-font-size-lead': 'var(--font-size-medium)', + '--sb-font-size-medium': '1.25rem', + '--sb-font-size-medium--plus': '1.625rem', '--sb-font-size-large': '2rem', '--sb-font-size-x-large': '2.375rem', '--sb-font-size-xx-large': '3rem', diff --git a/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-custom-input-width.snap.png b/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-custom-input-width.snap.png index 841052e0973..7201fe878d7 100644 Binary files a/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-custom-input-width.snap.png and b/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-custom-input-width.snap.png differ diff --git a/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-different-sizes.snap.png b/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-different-sizes.snap.png index 05d7bd4b2fd..696741fbeaf 100644 Binary files a/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-different-sizes.snap.png and b/packages/dnb-eufemia/src/components/autocomplete/__tests__/__image_snapshots__/autocomplete-for-sbanken-have-to-match-different-sizes.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-cookie-concent-confirmation.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-cookie-concent-confirmation.snap.png index 62e6b2525e3..3c20eab55c9 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-cookie-concent-confirmation.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-cookie-concent-confirmation.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-custom-dialog-window.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-custom-dialog-window.snap.png index 7dbd4fc73c3..7a955708c09 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-custom-dialog-window.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-custom-dialog-window.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-confirmation.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-confirmation.snap.png index e77cd29c214..bc1db32ada0 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-confirmation.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-confirmation.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-dialog-window.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-dialog-window.snap.png index 3751f060176..e7e5db4e185 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-dialog-window.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-default-dialog-window.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-delete-confirmation.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-delete-confirmation.snap.png index 899aac6cf30..81e13d72dc0 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-delete-confirmation.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-delete-confirmation.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-help-window.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-help-window.snap.png index d93b9fcf62d..3b32ee0faa1 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-help-window.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-help-window.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-window-using-custom-trigger.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-window-using-custom-trigger.snap.png index 32ac558369c..fbd90994c20 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-window-using-custom-trigger.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-window-using-custom-trigger.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-logged-out-confirmation.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-logged-out-confirmation.snap.png index be74ddf9074..a166973929f 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-logged-out-confirmation.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-have-to-match-the-logged-out-confirmation.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-bottom.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-bottom.snap.png index 427067d2067..77f2a8af53a 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-bottom.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-bottom.snap.png differ diff --git a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-top.snap.png b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-top.snap.png index 717341a968e..bfdd2393fc1 100644 Binary files a/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-top.snap.png and b/packages/dnb-eufemia/src/components/dialog/__tests__/__image_snapshots__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-top.snap.png differ diff --git a/packages/dnb-eufemia/src/components/input/__tests__/__image_snapshots__/input-for-sbanken-have-to-match-text-align-with-icon.snap.png b/packages/dnb-eufemia/src/components/input/__tests__/__image_snapshots__/input-for-sbanken-have-to-match-text-align-with-icon.snap.png index 4fcc27af78c..e95c941f0d8 100644 Binary files a/packages/dnb-eufemia/src/components/input/__tests__/__image_snapshots__/input-for-sbanken-have-to-match-text-align-with-icon.snap.png and b/packages/dnb-eufemia/src/components/input/__tests__/__image_snapshots__/input-for-sbanken-have-to-match-text-align-with-icon.snap.png differ diff --git a/packages/dnb-eufemia/src/components/progress-indicator/__tests__/__image_snapshots__/progressindicator-for-sbanken-have-to-match-customized-countdown.snap.png b/packages/dnb-eufemia/src/components/progress-indicator/__tests__/__image_snapshots__/progressindicator-for-sbanken-have-to-match-customized-countdown.snap.png index 69c523c2868..3b367230f60 100644 Binary files a/packages/dnb-eufemia/src/components/progress-indicator/__tests__/__image_snapshots__/progressindicator-for-sbanken-have-to-match-customized-countdown.snap.png and b/packages/dnb-eufemia/src/components/progress-indicator/__tests__/__image_snapshots__/progressindicator-for-sbanken-have-to-match-customized-countdown.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-have-to-match-the-additional-heading-examples.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-have-to-match-the-additional-heading-examples.snap.png index f252a23821a..da270210a84 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-have-to-match-the-additional-heading-examples.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-have-to-match-the-additional-heading-examples.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-all-sizes-and-variants.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-all-sizes-and-variants.snap.png index 06e73a3a043..a5a2b06d683 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-all-sizes-and-variants.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-all-sizes-and-variants.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-base-component.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-base-component.snap.png index 7a4e2c393b1..232d660add7 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-base-component.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-for-sbanken-matches-base-component.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-additional-heading-examples.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-additional-heading-examples.snap.png index ae92c7d47be..7957f78dfbf 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-additional-heading-examples.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-additional-heading-examples.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-default-heading-examples.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-default-heading-examples.snap.png index 12e5de9d8ff..37b230ce46e 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-default-heading-examples.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-have-to-match-the-default-heading-examples.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-matches-all-sizes-and-variants.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-matches-all-sizes-and-variants.snap.png index 78adc984b4e..a0412ca5570 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-matches-all-sizes-and-variants.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/heading-mobile-for-sbanken-matches-all-sizes-and-variants.snap.png differ diff --git a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/paragraph-for-sbanken-matches-all-sizes-and-weights.snap.png b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/paragraph-for-sbanken-matches-all-sizes-and-weights.snap.png index 6b555a9fd4a..99b7f00752c 100644 Binary files a/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/paragraph-for-sbanken-matches-all-sizes-and-weights.snap.png and b/packages/dnb-eufemia/src/elements/typography/__tests__/__image_snapshots__/paragraph-for-sbanken-matches-all-sizes-and-weights.snap.png differ diff --git a/packages/dnb-eufemia/src/extensions/payment-card/__tests__/__snapshots__/PaymentCard.test.tsx.snap b/packages/dnb-eufemia/src/extensions/payment-card/__tests__/__snapshots__/PaymentCard.test.tsx.snap index 6300a64a851..1b953ef23f1 100644 --- a/packages/dnb-eufemia/src/extensions/payment-card/__tests__/__snapshots__/PaymentCard.test.tsx.snap +++ b/packages/dnb-eufemia/src/extensions/payment-card/__tests__/__snapshots__/PaymentCard.test.tsx.snap @@ -32,8 +32,9 @@ exports[`PaymentCard scss has to match style dependencies css 1`] = ` --sb-font-size-small: 0.875rem; --sb-font-size-basis: 1rem; --sb-font-size-basis--em: 1em; - --sb-font-size-lead: 1.25rem; - --sb-font-size-medium: 1.625rem; + --sb-font-size-lead: var(--font-size-medium); + --sb-font-size-medium: 1.25rem; + --sb-font-size-medium--plus: 1.625rem; --sb-font-size-large: 2rem; --sb-font-size-x-large: 2.375rem; --sb-font-size-xx-large: 3rem;