Skip to content

Commit 9faf1c4

Browse files
committed
adjust colors after system-status removal
1 parent c5f2e07 commit 9faf1c4

4 files changed

Lines changed: 10 additions & 12 deletions

File tree

packages/design-system/src/components/ds-button/versions/ds-button-legacy/ds-button-legacy.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $color-secondary-default: var(--action-cta3);
99
$color-secondary-hover: var(--neutral-4);
1010
$color-secondary-disabled: var(--action-disabled);
1111

12-
$color-error-default: var(--system-status-error);
12+
$color-error-default: var(--background-background-negative);
1313
$color-error-hover: var(--utility-error);
1414
$color-error-active: var(--utility-error);
1515
$color-error-disabled: var(--action-disabled);

packages/design-system/src/components/ds-table/stories/components/progress-infographic/progress-infographic.module.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use '../../../../../styles/root_updated';
2+
13
.progressInfographic {
24
width: 100%;
35
height: 20px;
@@ -17,15 +19,15 @@
1719
transition: width 0.3s ease-in-out;
1820

1921
&--low {
20-
background-color: var(--system-status-error);
22+
background-color: var(--background-background-negative);
2123
}
2224

2325
&--medium {
24-
background-color: var(--system-status-info);
26+
background-color: var(--background-background-info-strong);
2527
}
2628

2729
&--high {
28-
background-color: var(--system-status-ok);
30+
background-color: var(--background-background-positive-strong);
2931
}
3032
}
3133
}

packages/design-system/src/components/ds-table/stories/ds-table.stories.module.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
color: var(--white);
2121

2222
&--single {
23-
background-color: var(--system-status-ok);
23+
background-color: var(--background-background-positive-strong);
2424
}
2525

2626
&--relationship {
27-
background-color: var(--system-status-info);
27+
background-color: var(--background-background-info-strong);
2828
}
2929

3030
&--complicated {
31-
background-color: var(--system-status-error);
31+
background-color: var(--background-background-negative);
3232
}
3333
}
3434

@@ -328,5 +328,5 @@
328328
}
329329

330330
.destructiveAction {
331-
color: var(--system-status-error);
331+
color: var(--background-background-negative);
332332
}

packages/design-system/src/styles/_colors.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ $colors: (
2727
action-active-light: #c7d8ff,
2828
action-hover-light: #e0eaff,
2929
action-disabled: #b0b4bf,
30-
// System Status
31-
system-status-ok: #067a00,
32-
system-status-info: #005dcf,
33-
system-status-error: #d70a00,
3430
// Utility
3531
utility-ok: #d6f5cf,
3632
utility-info: #c4dcff,

0 commit comments

Comments
 (0)