From 3323cda3583bcd93a88dd96bd08b3309838315be Mon Sep 17 00:00:00 2001 From: -l Date: Mon, 9 Jan 2023 15:16:58 +0100 Subject: [PATCH] feat(Section): deprecate style_type signal-orange --- .../__tests__/__snapshots__/Section.test.tsx.snap | 7 +------ .../section/style/themes/dnb-section-theme-ui.scss | 9 --------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/dnb-eufemia/src/components/section/__tests__/__snapshots__/Section.test.tsx.snap b/packages/dnb-eufemia/src/components/section/__tests__/__snapshots__/Section.test.tsx.snap index 165767b8ce5..49cfe79e5e7 100644 --- a/packages/dnb-eufemia/src/components/section/__tests__/__snapshots__/Section.test.tsx.snap +++ b/packages/dnb-eufemia/src/components/section/__tests__/__snapshots__/Section.test.tsx.snap @@ -153,12 +153,7 @@ exports[`Section scss have to match default theme snapshot 1`] = ` box-shadow: 0 0 0 0.125rem var(--border-color); border-color: transparent; } -.dnb-section--signal-orange { - color: var(--color-ocean-green); } - .dnb-section--signal-orange::after { - color: var(--color-signal-orange); } - -.dnb-section--signal-orange ::selection, .dnb-section--fire-red ::selection, .dnb-section--mint-green ::selection { +.dnb-section--fire-red ::selection, .dnb-section--mint-green ::selection { background-color: var(--color-white); } " `; diff --git a/packages/dnb-eufemia/src/components/section/style/themes/dnb-section-theme-ui.scss b/packages/dnb-eufemia/src/components/section/style/themes/dnb-section-theme-ui.scss index 9ccec7b3d6d..3cf658095d2 100644 --- a/packages/dnb-eufemia/src/components/section/style/themes/dnb-section-theme-ui.scss +++ b/packages/dnb-eufemia/src/components/section/style/themes/dnb-section-theme-ui.scss @@ -119,16 +119,7 @@ } } - // Deprecated - &--signal-orange { - color: var(--color-ocean-green); - &::after { - color: var(--color-signal-orange); - } - } - // contrast color - &--signal-orange, &--fire-red, &--mint-green { ::selection {