Skip to content

Commit 3c8450e

Browse files
committed
feat(theming): Use OkLCh for consistent intensity
Signed-off-by: kramo <git@kramo.page>
1 parent d86975e commit 3c8450e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

apps/theming/css/default.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@
2525
--color-border-maxcontrast: #7d7d7d;
2626
--color-border-error: var(--color-element-error);
2727
--color-border-success: var(--color-element-success);
28-
--color-element-error: #c90000;
29-
--color-element-info: #0077C7;
30-
--color-element-success: #099f05;
31-
--color-element-warning: #BF7900;
32-
--color-error: #FFE7E7;
33-
--color-error-hover: #ffc3c3;
34-
--color-error-text: #8A0000;
35-
--color-warning: #FFEEC5;
36-
--color-warning-hover: #ffe4a1;
37-
--color-warning-text: #664700;
38-
--color-success: #D8F3DA;
39-
--color-success-hover: #bdebc0;
40-
--color-success-text: #005416;
41-
--color-info: #D5F1FA;
42-
--color-info-hover: #b5e6f6;
43-
--color-info-text: #0066AC;
28+
--color-element-error: oklch(55% 1.45 15);
29+
--color-element-info: oklch(55% 1.45 235);
30+
--color-element-success: oklch(55% 1.45 145);
31+
--color-element-warning: oklch(55% 1.45 90);
32+
--color-error: oklch(95% 0.05 15);
33+
--color-error-hover: oklch(90% 0.06 15);
34+
--color-error-text: oklch(30% 0.1 15);
35+
--color-warning: oklch(95% 0.05 90);
36+
--color-warning-hover: oklch(90% 0.06 90);
37+
--color-warning-text: oklch(30% 0.1 90);
38+
--color-success: oklch(95% 0.05 145);
39+
--color-success-hover: oklch(90% 0.06 145);
40+
--color-success-text: oklch(30% 0.1 145);
41+
--color-info: oklch(95% 0.05 235);
42+
--color-info-hover: oklch(90% 0.06 235);
43+
--color-info-text: oklch(30% 0.1 235);
4444
--color-favorite: #A37200;
4545
/** @deprecated use css color functions */
4646
--color-error-rgb: 255,231,231;

0 commit comments

Comments
 (0)