@neovici/cosmoz-tokens 4.10.0 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/fallback.css +7 -7
- package/src/primitives.css +68 -68
- package/src/semantic.css +12 -12
package/package.json
CHANGED
package/src/fallback.css
CHANGED
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
inset 0 0 0 1px rgba(10, 13, 18, 0.45),
|
|
128
128
|
inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(10, 13, 18, 0.12),
|
|
129
129
|
0 2px 5px -1px rgba(10, 13, 18, 0.12);
|
|
130
|
-
--cz-color-chart-1: var(--cz-color-brand-
|
|
131
|
-
--cz-color-chart-2: var(--cz-color-orange-
|
|
132
|
-
--cz-color-chart-3: var(--cz-color-info-
|
|
133
|
-
--cz-color-chart-4: var(--cz-color-success-
|
|
134
|
-
--cz-color-chart-5: var(--cz-color-warning-
|
|
130
|
+
--cz-color-chart-1: var(--cz-color-brand-500);
|
|
131
|
+
--cz-color-chart-2: var(--cz-color-orange-600);
|
|
132
|
+
--cz-color-chart-3: var(--cz-color-info-600);
|
|
133
|
+
--cz-color-chart-4: var(--cz-color-success-600);
|
|
134
|
+
--cz-color-chart-5: var(--cz-color-warning-600);
|
|
135
135
|
--cz-color-chart-6: var(--cz-color-error-500);
|
|
136
|
-
--cz-color-chart-7: var(--cz-color-brand-
|
|
137
|
-
--cz-color-chart-8: var(--cz-color-gray-
|
|
136
|
+
--cz-color-chart-7: var(--cz-color-brand-800);
|
|
137
|
+
--cz-color-chart-8: var(--cz-color-gray-500);
|
|
138
138
|
}
|
|
139
139
|
}
|
package/src/primitives.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Cosmoz Design Tokens - Primitives
|
|
3
|
-
* Base color palette.
|
|
4
|
-
*
|
|
3
|
+
* Base color palette. Violet is the brand hue; rose, amber, emerald and sky
|
|
4
|
+
* carry status signals. Gray provides neutral surfaces and text.
|
|
5
5
|
* The remaining scales are kept for existing consumers.
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
--cz-color-alpha-white: rgb(255 255 255);
|
|
16
16
|
--cz-color-alpha-black: rgb(0 0 0);
|
|
17
17
|
|
|
18
|
-
/* Brand colors -
|
|
19
|
-
--cz-color-brand-25: var(--cz-color-
|
|
20
|
-
--cz-color-brand-50: var(--cz-color-
|
|
21
|
-
--cz-color-brand-100: var(--cz-color-
|
|
22
|
-
--cz-color-brand-200: var(--cz-color-
|
|
23
|
-
--cz-color-brand-300: var(--cz-color-
|
|
24
|
-
--cz-color-brand-400: var(--cz-color-
|
|
25
|
-
--cz-color-brand-500: var(--cz-color-
|
|
26
|
-
--cz-color-brand-600: var(--cz-color-
|
|
27
|
-
--cz-color-brand-700: var(--cz-color-
|
|
28
|
-
--cz-color-brand-800: var(--cz-color-
|
|
29
|
-
--cz-color-brand-900: var(--cz-color-
|
|
30
|
-
--cz-color-brand-950: var(--cz-color-
|
|
18
|
+
/* Brand colors - Violet. The theme switch: re-point these to re-brand. */
|
|
19
|
+
--cz-color-brand-25: var(--cz-color-violet-25);
|
|
20
|
+
--cz-color-brand-50: var(--cz-color-violet-50);
|
|
21
|
+
--cz-color-brand-100: var(--cz-color-violet-100);
|
|
22
|
+
--cz-color-brand-200: var(--cz-color-violet-200);
|
|
23
|
+
--cz-color-brand-300: var(--cz-color-violet-300);
|
|
24
|
+
--cz-color-brand-400: var(--cz-color-violet-400);
|
|
25
|
+
--cz-color-brand-500: var(--cz-color-violet-500);
|
|
26
|
+
--cz-color-brand-600: var(--cz-color-violet-600);
|
|
27
|
+
--cz-color-brand-700: var(--cz-color-violet-700);
|
|
28
|
+
--cz-color-brand-800: var(--cz-color-violet-800);
|
|
29
|
+
--cz-color-brand-900: var(--cz-color-violet-900);
|
|
30
|
+
--cz-color-brand-950: var(--cz-color-violet-950);
|
|
31
31
|
|
|
32
|
-
/* Lavender colors —
|
|
32
|
+
/* Lavender colors — retained for consumers of the original palette. */
|
|
33
33
|
--cz-color-lavender-25: rgb(250 248 255); /* derived */
|
|
34
34
|
--cz-color-lavender-50: rgb(245 242 255);
|
|
35
35
|
--cz-color-lavender-100: rgb(236 230 255); /* derived */
|
|
@@ -57,47 +57,47 @@
|
|
|
57
57
|
--cz-color-gray-900: rgb(20 21 26);
|
|
58
58
|
--cz-color-gray-950: rgb(10 11 14);
|
|
59
59
|
|
|
60
|
-
/* Error colors
|
|
61
|
-
--cz-color-error-25: rgb(255 248
|
|
62
|
-
--cz-color-error-50: rgb(255 241
|
|
63
|
-
--cz-color-error-100: rgb(255
|
|
64
|
-
--cz-color-error-200: rgb(
|
|
65
|
-
--cz-color-error-300: rgb(
|
|
66
|
-
--cz-color-error-400: rgb(
|
|
67
|
-
--cz-color-error-500: rgb(
|
|
68
|
-
--cz-color-error-600: rgb(
|
|
69
|
-
--cz-color-error-700: rgb(
|
|
70
|
-
--cz-color-error-800: rgb(
|
|
71
|
-
--cz-color-error-900: rgb(
|
|
72
|
-
--cz-color-error-950: rgb(
|
|
60
|
+
/* Error colors — saturated signals, pale surfaces and deep dark-mode surfaces. */
|
|
61
|
+
--cz-color-error-25: rgb(255 247 248);
|
|
62
|
+
--cz-color-error-50: rgb(255 241 242);
|
|
63
|
+
--cz-color-error-100: rgb(255 228 230);
|
|
64
|
+
--cz-color-error-200: rgb(254 205 211);
|
|
65
|
+
--cz-color-error-300: rgb(253 164 175);
|
|
66
|
+
--cz-color-error-400: rgb(251 113 133);
|
|
67
|
+
--cz-color-error-500: rgb(244 63 94);
|
|
68
|
+
--cz-color-error-600: rgb(225 29 72);
|
|
69
|
+
--cz-color-error-700: rgb(209 23 60);
|
|
70
|
+
--cz-color-error-800: rgb(166 16 54);
|
|
71
|
+
--cz-color-error-900: rgb(136 19 55);
|
|
72
|
+
--cz-color-error-950: rgb(76 5 25);
|
|
73
73
|
|
|
74
|
-
/* Warning colors
|
|
75
|
-
--cz-color-warning-25: rgb(255
|
|
76
|
-
--cz-color-warning-50: rgb(
|
|
77
|
-
--cz-color-warning-100: rgb(254
|
|
78
|
-
--cz-color-warning-200: rgb(
|
|
79
|
-
--cz-color-warning-300: rgb(
|
|
80
|
-
--cz-color-warning-400: rgb(
|
|
81
|
-
--cz-color-warning-500: rgb(
|
|
82
|
-
--cz-color-warning-600: rgb(
|
|
83
|
-
--cz-color-warning-700: rgb(
|
|
84
|
-
--cz-color-warning-800: rgb(
|
|
85
|
-
--cz-color-warning-900: rgb(
|
|
86
|
-
--cz-color-warning-950: rgb(
|
|
74
|
+
/* Warning colors — saturated signals, pale surfaces and deep dark-mode surfaces. */
|
|
75
|
+
--cz-color-warning-25: rgb(255 253 245);
|
|
76
|
+
--cz-color-warning-50: rgb(255 251 235);
|
|
77
|
+
--cz-color-warning-100: rgb(254 243 199);
|
|
78
|
+
--cz-color-warning-200: rgb(253 230 138);
|
|
79
|
+
--cz-color-warning-300: rgb(252 211 77);
|
|
80
|
+
--cz-color-warning-400: rgb(251 191 36);
|
|
81
|
+
--cz-color-warning-500: rgb(245 158 11);
|
|
82
|
+
--cz-color-warning-600: rgb(217 119 6);
|
|
83
|
+
--cz-color-warning-700: rgb(180 83 9);
|
|
84
|
+
--cz-color-warning-800: rgb(146 64 14);
|
|
85
|
+
--cz-color-warning-900: rgb(120 53 15);
|
|
86
|
+
--cz-color-warning-950: rgb(69 26 3);
|
|
87
87
|
|
|
88
|
-
/* Success colors
|
|
89
|
-
--cz-color-success-25: rgb(245
|
|
90
|
-
--cz-color-success-50: rgb(
|
|
91
|
-
--cz-color-success-100: rgb(
|
|
92
|
-
--cz-color-success-200: rgb(
|
|
93
|
-
--cz-color-success-300: rgb(
|
|
94
|
-
--cz-color-success-400: rgb(
|
|
95
|
-
--cz-color-success-500: rgb(
|
|
96
|
-
--cz-color-success-600: rgb(
|
|
97
|
-
--cz-color-success-700: rgb(
|
|
98
|
-
--cz-color-success-800: rgb(
|
|
99
|
-
--cz-color-success-900: rgb(
|
|
100
|
-
--cz-color-success-950: rgb(
|
|
88
|
+
/* Success colors — saturated signals, pale surfaces and deep dark-mode surfaces. */
|
|
89
|
+
--cz-color-success-25: rgb(245 255 249);
|
|
90
|
+
--cz-color-success-50: rgb(236 253 245);
|
|
91
|
+
--cz-color-success-100: rgb(209 250 229);
|
|
92
|
+
--cz-color-success-200: rgb(167 243 208);
|
|
93
|
+
--cz-color-success-300: rgb(110 231 183);
|
|
94
|
+
--cz-color-success-400: rgb(52 211 153);
|
|
95
|
+
--cz-color-success-500: rgb(16 185 129);
|
|
96
|
+
--cz-color-success-600: rgb(5 150 105);
|
|
97
|
+
--cz-color-success-700: rgb(4 120 87);
|
|
98
|
+
--cz-color-success-800: rgb(6 95 70);
|
|
99
|
+
--cz-color-success-900: rgb(6 78 59);
|
|
100
|
+
--cz-color-success-950: rgb(2 44 34);
|
|
101
101
|
|
|
102
102
|
/* Info colors - Sky */
|
|
103
103
|
--cz-color-info-25: var(--cz-color-sky-25);
|
|
@@ -239,19 +239,19 @@
|
|
|
239
239
|
--cz-color-cyan-900: rgb(22 78 99);
|
|
240
240
|
--cz-color-cyan-950: rgb(8 51 68);
|
|
241
241
|
|
|
242
|
-
/* Sky colors —
|
|
243
|
-
--cz-color-sky-25: rgb(245
|
|
244
|
-
--cz-color-sky-50: rgb(
|
|
245
|
-
--cz-color-sky-100: rgb(
|
|
246
|
-
--cz-color-sky-200: rgb(
|
|
247
|
-
--cz-color-sky-300: rgb(
|
|
248
|
-
--cz-color-sky-400: rgb(
|
|
249
|
-
--cz-color-sky-500: rgb(
|
|
250
|
-
--cz-color-sky-600: rgb(
|
|
251
|
-
--cz-color-sky-700: rgb(
|
|
252
|
-
--cz-color-sky-800: rgb(
|
|
253
|
-
--cz-color-sky-900: rgb(
|
|
254
|
-
--cz-color-sky-950: rgb(
|
|
242
|
+
/* Sky colors — saturated signals, pale surfaces and deep dark-mode surfaces. */
|
|
243
|
+
--cz-color-sky-25: rgb(245 252 255);
|
|
244
|
+
--cz-color-sky-50: rgb(240 249 255);
|
|
245
|
+
--cz-color-sky-100: rgb(224 242 254);
|
|
246
|
+
--cz-color-sky-200: rgb(186 230 253);
|
|
247
|
+
--cz-color-sky-300: rgb(125 211 252);
|
|
248
|
+
--cz-color-sky-400: rgb(56 189 248);
|
|
249
|
+
--cz-color-sky-500: rgb(14 165 233);
|
|
250
|
+
--cz-color-sky-600: rgb(2 132 199);
|
|
251
|
+
--cz-color-sky-700: rgb(3 105 161);
|
|
252
|
+
--cz-color-sky-800: rgb(7 89 133);
|
|
253
|
+
--cz-color-sky-900: rgb(12 74 110);
|
|
254
|
+
--cz-color-sky-950: rgb(8 47 73);
|
|
255
255
|
|
|
256
256
|
/* Blue colors */
|
|
257
257
|
--cz-color-blue-25: rgb(239 246 255);
|
package/src/semantic.css
CHANGED
|
@@ -452,35 +452,35 @@
|
|
|
452
452
|
/* Categorical data colours, used in this order (charts, OCR fields, groups).
|
|
453
453
|
* Not statuses: use the status tokens when a colour means ok/warning/error. */
|
|
454
454
|
--cz-color-chart-1: light-dark(
|
|
455
|
-
var(--cz-color-brand-
|
|
455
|
+
var(--cz-color-brand-500),
|
|
456
456
|
var(--cz-color-brand-400)
|
|
457
457
|
);
|
|
458
458
|
--cz-color-chart-2: light-dark(
|
|
459
|
-
var(--cz-color-orange-
|
|
459
|
+
var(--cz-color-orange-600),
|
|
460
460
|
var(--cz-color-orange-400)
|
|
461
461
|
);
|
|
462
462
|
--cz-color-chart-3: light-dark(
|
|
463
|
-
var(--cz-color-info-
|
|
464
|
-
var(--cz-color-info-
|
|
463
|
+
var(--cz-color-info-600),
|
|
464
|
+
var(--cz-color-info-400)
|
|
465
465
|
);
|
|
466
466
|
--cz-color-chart-4: light-dark(
|
|
467
|
-
var(--cz-color-success-
|
|
468
|
-
var(--cz-color-success-
|
|
467
|
+
var(--cz-color-success-600),
|
|
468
|
+
var(--cz-color-success-400)
|
|
469
469
|
);
|
|
470
470
|
--cz-color-chart-5: light-dark(
|
|
471
|
-
var(--cz-color-warning-
|
|
472
|
-
var(--cz-color-warning-
|
|
471
|
+
var(--cz-color-warning-600),
|
|
472
|
+
var(--cz-color-warning-400)
|
|
473
473
|
);
|
|
474
474
|
--cz-color-chart-6: light-dark(
|
|
475
475
|
var(--cz-color-error-500),
|
|
476
|
-
var(--cz-color-error-
|
|
476
|
+
var(--cz-color-error-400)
|
|
477
477
|
);
|
|
478
478
|
--cz-color-chart-7: light-dark(
|
|
479
|
-
var(--cz-color-brand-
|
|
479
|
+
var(--cz-color-brand-800),
|
|
480
480
|
var(--cz-color-brand-200)
|
|
481
481
|
);
|
|
482
482
|
--cz-color-chart-8: light-dark(
|
|
483
|
-
var(--cz-color-gray-
|
|
484
|
-
var(--cz-color-gray-
|
|
483
|
+
var(--cz-color-gray-500),
|
|
484
|
+
var(--cz-color-gray-500)
|
|
485
485
|
);
|
|
486
486
|
}
|