Skip to content

Commit d33d4e6

Browse files
authored
fix: correct green colors (#648)
1 parent 9cb90b4 commit d33d4e6

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

packages/uui-css/lib/custom-properties/colors.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,10 @@
6262
--uui-color-danger-standalone: var(--uui-palette-maroon-flush-dark);
6363
--uui-color-danger-contrast: white;
6464

65-
--uui-color-positive: #1f9554;
66-
--uui-color-positive-emphasis: #2ca964;
67-
--uui-color-positive-standalone: #19864a;
65+
--uui-color-positive: var(--uui-palette-forest-green);
66+
--uui-color-positive-emphasis: var(--uui-palette-forest-green-light);
67+
--uui-color-positive-standalone: var(--uui-palette-forest-green-dark);
6868
--uui-color-positive-contrast: #fff;
69-
/* --uui-color-positive: var(--uui-palette-jungle-green); Contrast not high enough */
70-
/* --uui-color-positive-emphasis: var(--uui-palette-jungle-green-light); Contrast not high enough */
71-
/* --uui-color-positive-standalone: var(--uui-palette-jungle-green-dark); Contrast not high enough */
7269
}
7370

7471
:root[data-theme='dark'] {

packages/uui-css/lib/custom-properties/palette.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,14 @@
8686
$maroon-flush saturation(- 62%) blackness(+ 2%)
8787
);
8888

89-
$jungle-green: #25aa60; /* A11Y acceptable color. Originally #2BC37C*/
89+
$jungle-green: #2bc37c;
9090
--uui-palette-jungle-green: $jungle-green;
9191
--uui-palette-jungle-green-light: color($jungle-green lightness(+ 6%));
9292
--uui-palette-jungle-green-dark: color($jungle-green blackness(+ 6%));
9393
--uui-palette-jungle-green-dimmed: color(
9494
$jungle-green saturation(- 50%) blackness(+ 1%)
9595
);
9696

97-
/*TODO: color needs proper name*/
9897
$forest-green: #0b8152;
9998
--uui-palette-forest-green: $forest-green;
10099
--uui-palette-forest-green-light: color($forest-green lightness(+ 6%));

0 commit comments

Comments
 (0)