Skip to content

Commit

Permalink
feat(Section): deprecate style_type signal-orange (#1886)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed Jan 19, 2023
1 parent 4a7b480 commit dbea031
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,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); }
"
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dbea031

Please sign in to comment.