Skip to content

Commit 8896280

Browse files
committed
chart colors
1 parent 41d0cfb commit 8896280

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

apps/web/src/app/globals.css

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,21 @@ body {
2727
--border: 240 5.9% 90%;
2828
--input: 240 5.9% 90%;
2929
--ring: 240 10% 3.9%;
30-
--chart-1: 12 76% 61%;
31-
--chart-2: 173 58% 39%;
32-
--chart-3: 197 37% 24%;
33-
--chart-4: 43 74% 66%;
34-
--chart-5: 27 87% 67%;
30+
--chart-1: 265, 65%, 46%;
31+
--chart-2: 204, 86%, 49%;
32+
--chart-3: 180, 100%, 18%;
33+
--chart-4: 334, 74%, 36%;
34+
--chart-5: 357, 95%, 64%;
35+
--chart-6: 357, 91%, 18%;
36+
--chart-7: 138, 67%, 30%;
37+
--chart-8: 223, 100%, 31%;
38+
--chart-9: 338, 82%, 63%;
39+
--chart-10: 45, 100%, 35%;
40+
--chart-11: 179, 100%, 31%;
41+
--chart-12: 208, 97%, 15%;
42+
--chart-13: 24, 100%, 27%;
43+
--chart-14: 263, 100%, 72%;
44+
3545
--radius: 0.5rem;
3646
}
3747
.dark {
@@ -59,6 +69,10 @@ body {
5969
--chart-3: 30 80% 55%;
6070
--chart-4: 280 65% 60%;
6171
--chart-5: 340 75% 55%;
72+
/*
73+
chart color pallete from https://carbondesignsystem.com/data-visualization/color-palettes/
74+
also contains dark colors when needed
75+
*/
6276
}
6377
}
6478

0 commit comments

Comments
 (0)