diff --git a/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/Card.screenshot.test.ts b/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/Card.screenshot.test.ts index 3032a2d46bb..573e29690af 100644 --- a/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/Card.screenshot.test.ts +++ b/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/Card.screenshot.test.ts @@ -19,7 +19,7 @@ describe('Form.Card', () => { expect(screenshot).toMatchImageSnapshot() }) - it('have to match outset when used in wizard', async () => { + it('have to match when used in wizard', async () => { const screenshot = await makeScreenshot({ url, selector: '[data-visual-test="forms-card-in-wizard"]', diff --git a/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-outset-when-used-in-wizard.snap.png b/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-outset-when-used-in-wizard.snap.png deleted file mode 100644 index a90ae042c9b..00000000000 Binary files a/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-outset-when-used-in-wizard.snap.png and /dev/null differ diff --git a/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-when-used-in-wizard.snap.png b/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-when-used-in-wizard.snap.png new file mode 100644 index 00000000000..da932417d0f Binary files /dev/null and b/packages/dnb-eufemia/src/extensions/forms/Form/Card/__tests__/__image_snapshots__/formcard-have-to-match-when-used-in-wizard.snap.png differ diff --git a/packages/dnb-eufemia/src/extensions/forms/Form/Section/style/dnb-form-section.scss b/packages/dnb-eufemia/src/extensions/forms/Form/Section/style/dnb-form-section.scss index 4e14c27fa90..88f1a5462bc 100644 --- a/packages/dnb-eufemia/src/extensions/forms/Form/Section/style/dnb-form-section.scss +++ b/packages/dnb-eufemia/src/extensions/forms/Form/Section/style/dnb-form-section.scss @@ -38,7 +38,8 @@ &--variant-basic { --border-color: transparent; - .dnb-card { + .dnb-card, + .dnb-card & .dnb-card { --card-outline-color: transparent; } } diff --git a/packages/dnb-eufemia/src/extensions/forms/Wizard/style/themes/dnb-wizard-layout-theme-ui.scss b/packages/dnb-eufemia/src/extensions/forms/Wizard/style/themes/dnb-wizard-layout-theme-ui.scss index d5670f0e2df..d676d7d91d2 100644 --- a/packages/dnb-eufemia/src/extensions/forms/Wizard/style/themes/dnb-wizard-layout-theme-ui.scss +++ b/packages/dnb-eufemia/src/extensions/forms/Wizard/style/themes/dnb-wizard-layout-theme-ui.scss @@ -1,7 +1,8 @@ .dnb-forms-wizard-layout { &__contents { .dnb-card { - // something with this adds outline + // Change the default outline color to match the StepIndicator v2. + // This is deprecated and can be removed when the StepIndicator v3 (without a sidebar) is released. --card-outline-color: var(--color-pistachio); } }