@deriv-web-design/ui 0.0.25 → 0.0.27

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-web-design/ui",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -17,11 +17,6 @@
17
17
  "dist",
18
18
  "tokens.css"
19
19
  ],
20
- "scripts": {
21
- "prebuild": "cp ../tokens/tokens.css ./tokens.css",
22
- "build": "tsup",
23
- "dev": "tsup --watch"
24
- },
25
20
  "publishConfig": {
26
21
  "registry": "https://registry.npmjs.org",
27
22
  "access": "public"
@@ -43,5 +38,10 @@
43
38
  "react-dom": "^19.0.0",
44
39
  "tsup": "^8.5.1",
45
40
  "typescript": "^5.7.0"
41
+ },
42
+ "scripts": {
43
+ "prebuild": "pnpm --filter @deriv-web-design/tokens build && cp ../tokens/tokens.css ./tokens.css",
44
+ "build": "tsup",
45
+ "dev": "tsup --watch"
46
46
  }
47
- }
47
+ }
package/tokens.css CHANGED
@@ -1,7 +1,6 @@
1
1
  /* ============================================================
2
- CORE TOKENS
3
- Source of truth — never use these directly in components.
4
- Use semantic tokens instead.
2
+ AUTO-GENERATED by Style Dictionary — DO NOT EDIT DIRECTLY.
3
+ Edit the JSON token sources in src/ and run `pnpm build`.
5
4
  ============================================================ */
6
5
 
7
6
  :root {
@@ -31,7 +30,9 @@
31
30
  /* Color — Emerald */
32
31
  --color-emerald-500: #4cd6c0;
33
32
  --color-emerald-600: #00b39a;
34
- --color-emerald-700: #00a286;
33
+ --color-emerald-700: #00c390;
34
+ --color-emerald-800: #00bb86;
35
+ --color-emerald-900: #00ae7a;
35
36
 
36
37
  /* Color — Yellow */
37
38
  --color-yellow-500: #ffb84d;
@@ -46,30 +47,19 @@
46
47
  --color-cherry-800: #f50032;
47
48
  --color-cherry-900: #dc002c;
48
49
 
49
- /* Color — Green (field success) */
50
+ /* Color — Green */
50
51
  --color-green-600: #007a22;
51
52
 
52
- /* Color — Red (field error) */
53
+ /* Color — Red */
53
54
  --color-red-600: #c40000;
54
55
 
55
- /* Color — Opacity / Green */
56
- --color-opacity-green-8: rgba(0, 136, 50, 0.08);
57
- --color-opacity-green-16: rgba(0, 136, 50, 0.16);
58
- --color-opacity-green-72: rgba(0, 136, 50, 0.72);
59
- --color-opacity-green-88: rgba(0, 136, 50, 0.88);
60
-
61
- /* Color — Opacity / Red */
62
- --color-opacity-red-8: rgba(230, 25, 14, 0.08);
63
- --color-opacity-red-16: rgba(230, 25, 14, 0.16);
64
- --color-opacity-red-72: rgba(230, 25, 14, 0.72);
65
- --color-opacity-red-88: rgba(230, 25, 14, 0.88);
66
-
67
56
  /* Color — Opacity / Slate */
68
57
  --color-opacity-slate-4: rgba(24, 28, 37, 0.04);
69
58
  --color-opacity-slate-8: rgba(24, 28, 37, 0.08);
70
59
  --color-opacity-slate-16: rgba(24, 28, 37, 0.16);
71
60
  --color-opacity-slate-24: rgba(24, 28, 37, 0.24);
72
61
  --color-opacity-slate-48: rgba(24, 28, 37, 0.48);
62
+ --color-opacity-slate-56: rgba(24, 28, 37, 0.56);
73
63
  --color-opacity-slate-72: rgba(24, 28, 37, 0.72);
74
64
  --color-opacity-slate-88: rgba(24, 28, 37, 0.88);
75
65
 
@@ -82,6 +72,18 @@
82
72
  --color-opacity-white-72: rgba(255, 255, 255, 0.72);
83
73
  --color-opacity-white-88: rgba(255, 255, 255, 0.88);
84
74
 
75
+ /* Color — Opacity / Green */
76
+ --color-opacity-green-8: rgba(0, 136, 50, 0.08);
77
+ --color-opacity-green-16: rgba(0, 136, 50, 0.16);
78
+ --color-opacity-green-72: rgba(0, 136, 50, 0.72);
79
+ --color-opacity-green-88: rgba(0, 136, 50, 0.88);
80
+
81
+ /* Color — Opacity / Red */
82
+ --color-opacity-red-8: rgba(230, 25, 14, 0.08);
83
+ --color-opacity-red-16: rgba(230, 25, 14, 0.16);
84
+ --color-opacity-red-72: rgba(230, 25, 14, 0.72);
85
+ --color-opacity-red-88: rgba(230, 25, 14, 0.88);
86
+
85
87
  /* Content Width */
86
88
  --content-width-846: 52.875rem;
87
89
  --content-width-1064: 66.5rem;
@@ -109,60 +111,46 @@
109
111
  /* Font Family */
110
112
  --font-family-base: Inter, sans-serif;
111
113
 
112
- /* Font Size — mobile (default)
113
- xs–lg are identical across viewports; xl–5xl scale up at tablet/desktop */
114
+ /* Font Size */
114
115
  --font-size-xs: 0.75rem;
115
116
  --font-size-sm: 0.875rem;
116
117
  --font-size-md: 1rem;
117
118
  --font-size-lg: 1.125rem;
118
119
  --font-size-xl: 1.25rem;
119
- /* mobile.xl */
120
120
  --font-size-2xl: 1.5rem;
121
- /* mobile.2xl */
122
121
  --font-size-3xl: 2rem;
123
- /* mobile.3xl */
124
122
  --font-size-4xl: 2.5rem;
125
- /* mobile.4xl */
126
123
  --font-size-5xl: 3rem;
127
- /* mobile.5xl */
124
+ --font-size-h6: 1rem;
128
125
 
129
126
  /* Font Weight */
130
127
  --font-weight-regular: 400;
131
- --font-weight-medium: 500;
132
128
  --font-weight-semi-bold: 600;
133
129
  --font-weight-extra-bold: 800;
134
130
 
135
- /* Line Height — ratio utilities (used for body/label text) */
131
+ /* Line Height */
136
132
  --line-height-tight: 1.2;
137
133
  --line-height-snug: 1.3;
138
134
  --line-height-normal: 1.5;
139
135
  --line-height-relaxed: 1.75;
140
-
141
- /* Line Height — absolute, mobile (default)
142
- xs–lg are identical across viewports; xl–5xl scale up at tablet/desktop */
143
136
  --line-height-xs: 1.25rem;
144
137
  --line-height-sm: 1.5rem;
145
138
  --line-height-md: 1.5rem;
146
139
  --line-height-lg: 1.75rem;
147
140
  --line-height-xl: 1.75rem;
148
- /* mobile.xl */
149
141
  --line-height-2xl: 2rem;
150
- /* mobile.2xl */
151
142
  --line-height-3xl: 2.5rem;
152
- /* mobile.3xl */
153
143
  --line-height-4xl: 3rem;
154
- /* mobile.4xl */
155
144
  --line-height-5xl: 3.5rem;
156
- /* mobile.5xl */
145
+ --line-height-h6: 1.5rem;
157
146
 
158
147
  /* Border Radius */
159
148
  --radius-none: 0;
160
149
  --radius-xs: 0.125rem;
161
- --radius-sm: 0.25rem;
162
150
  --radius-md: 0.5rem;
163
- --radius-lg: 0.75rem;
164
151
  --radius-xl: 1rem;
165
152
  --radius-2xl: 1.5rem;
153
+ --radius-3xl: 2rem;
166
154
  --radius-full: 9999px;
167
155
 
168
156
  /* Shadow */
@@ -173,113 +161,98 @@
173
161
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
174
162
  }
175
163
 
176
-
177
- /* ============================================================
178
- CORE TOKENS — responsive overrides
179
- font-size and line-height xl–5xl scale up at tablet/desktop
180
- ============================================================ */
181
-
182
164
  @media (min-width: 768px) {
183
165
  :root {
184
166
  --font-size-xl: 1.5rem;
185
- /* tablet.xl */
186
167
  --font-size-2xl: 2rem;
187
- /* tablet.2xl */
188
168
  --font-size-3xl: 2.5rem;
189
- /* tablet.3xl */
190
169
  --font-size-4xl: 3rem;
191
- /* tablet.4xl */
192
170
  --font-size-5xl: 4rem;
193
- /* tablet.5xl */
171
+ --font-size-h6: 1.25rem;
194
172
 
195
173
  --line-height-xl: 2rem;
196
- /* tablet.xl */
197
174
  --line-height-2xl: 2.5rem;
198
- /* tablet.2xl */
199
175
  --line-height-3xl: 3rem;
200
- /* tablet.3xl */
201
176
  --line-height-4xl: 3.5rem;
202
- /* tablet.4xl */
203
- --line-height-5xl: 4rem;
204
- /* tablet.5xl */
177
+ --line-height-5xl: 4.5rem;
178
+ --line-height-h6: 1.75rem;
205
179
  }
206
180
  }
207
181
 
208
182
  @media (min-width: 992px) {
209
183
  :root {
210
184
  --font-size-xl: 1.75rem;
211
- /* desktop.xl */
212
185
  --font-size-2xl: 2.5rem;
213
- /* desktop.2xl */
214
186
  --font-size-3xl: 3rem;
215
- /* desktop.3xl */
216
187
  --font-size-4xl: 3.5rem;
217
- /* desktop.4xl */
218
188
  --font-size-5xl: 5rem;
219
- /* desktop.5xl */
189
+ --font-size-h6: 1.5rem;
220
190
 
221
191
  --line-height-xl: 2.25rem;
222
- /* desktop.xl */
223
192
  --line-height-2xl: 3rem;
224
- /* desktop.2xl */
225
193
  --line-height-3xl: 3.5rem;
226
- /* desktop.3xl */
227
194
  --line-height-4xl: 4rem;
228
- /* desktop.4xl */
229
195
  --line-height-5xl: 5.5rem;
230
- /* desktop.5xl */
196
+ --line-height-h6: 2rem;
231
197
  }
232
198
  }
233
199
 
234
- /* ============================================================
235
- SEMANTIC TOKENS
236
- Use these in components. They map intent → core values.
237
- ============================================================ */
238
-
239
200
  :root {
240
201
  /* Button — Primary */
241
202
  --button-primary-background: var(--color-coral-700);
242
203
  --button-primary-background-hover: var(--color-coral-800);
243
204
  --button-primary-background-active: var(--color-coral-900);
244
205
  --button-primary-text: var(--color-slate-50);
206
+ --button-primary-icon: var(--color-slate-50);
245
207
  --button-primary-border: var(--color-coral-700);
208
+ --button-primary-radius: var(--radius-full);
246
209
 
247
210
  /* Button — Secondary */
248
211
  --button-secondary-background: var(--color-slate-50);
249
212
  --button-secondary-background-hover: var(--color-slate-75);
250
213
  --button-secondary-background-active: var(--color-slate-100);
251
214
  --button-secondary-text: var(--color-slate-1200);
215
+ --button-secondary-icon: var(--color-slate-1200);
252
216
  --button-secondary-border: var(--color-slate-300);
253
217
 
218
+ /* Button — Tertiary */
219
+ --button-tertiary-background: var(--color-opacity-white-4);
220
+ --button-tertiary-background-hover: var(--color-opacity-white-8);
221
+ --button-tertiary-background-active: var(--color-opacity-white-16);
222
+ --button-tertiary-text: var(--color-coral-700);
223
+ --button-tertiary-icon: var(--color-coral-700);
224
+ --button-tertiary-border: var(--color-opacity-white-4);
225
+ --button-tertiary-radius: var(--radius-full);
226
+
254
227
  /* Button — Ghost */
255
228
  --button-ghost-background: var(--color-opacity-white-4);
256
229
  --button-ghost-background-hover: var(--color-opacity-white-8);
257
230
  --button-ghost-background-active: var(--color-opacity-white-16);
258
231
  --button-ghost-text: var(--color-slate-1200);
232
+ --button-ghost-icon: var(--color-slate-1200);
259
233
  --button-ghost-border: var(--color-opacity-white-4);
234
+ --button-ghost-radius: var(--radius-full);
260
235
 
261
236
  /* Button — Danger */
262
237
  --button-danger-background: var(--color-cherry-700);
263
238
  --button-danger-background-hover: var(--color-cherry-800);
264
239
  --button-danger-background-active: var(--color-cherry-900);
265
240
  --button-danger-text: var(--color-slate-50);
241
+ --button-danger-icon: var(--color-slate-50);
266
242
  --button-danger-border: var(--color-cherry-700);
243
+ --button-danger-radius: var(--radius-full);
267
244
 
268
245
  /* Button — Disabled */
269
246
  --button-disabled-background: var(--color-slate-200);
270
247
  --button-disabled-text: var(--color-slate-500);
248
+ --button-disabled-icon: var(--color-slate-500);
271
249
  --button-disabled-border: var(--color-slate-200);
250
+ --button-disabled-radius: var(--radius-full);
272
251
 
273
- /* Link — Coral scheme */
252
+ /* Link */
274
253
  --link-coral-color: var(--color-coral-700);
275
-
276
- /* Link — Black scheme */
277
254
  --link-black-color: var(--color-slate-1300);
278
-
279
- /* Link — White scheme */
280
255
  --link-white-color: var(--color-slate-50);
281
-
282
- /* Link — Shared */
283
256
  --link-disabled-opacity: 0.24;
284
257
 
285
258
  /* Tag */
@@ -348,167 +321,98 @@
348
321
  --breadcrumb-separator-color: var(--color-opacity-slate-48);
349
322
  --breadcrumb-focus-ring-color: var(--color-blue-600);
350
323
 
351
- /* Chip Dropdown — List panel */
324
+ /* Chip Dropdown */
352
325
  --chip-dropdown-list-bg: var(--color-slate-50);
353
326
  --chip-dropdown-list-border: var(--color-opacity-slate-4);
354
327
  --chip-dropdown-list-shadow: 0 16px 24px rgba(0, 0, 0, 0.04), 0 16px 24px rgba(0, 0, 0, 0.02);
355
-
356
- /* Chip Dropdown — List item */
357
328
  --chip-dropdown-item-text: var(--color-opacity-slate-72);
358
329
  --chip-dropdown-item-hover-bg: var(--color-opacity-slate-8);
359
330
  --chip-dropdown-item-active-bg: var(--color-opacity-slate-16);
360
331
  --chip-dropdown-item-selected-check: var(--color-opacity-slate-72);
361
332
 
362
- /* ── Typography — Headings ──────────────────────────────────
363
- font-size and line-height are responsive because the core
364
- --font-size-* / --line-height-* vars override at each
365
- breakpoint in the core section above.
366
- ────────────────────────────────────────────────────────── */
367
-
368
- /* Typography — H1 */
333
+ /* Typography */
369
334
  --typography-h1-font-family: var(--font-family-base);
370
335
  --typography-h1-font-size: var(--font-size-5xl);
371
- /* mobile: 3rem → tablet: 4rem → desktop: 5rem */
372
336
  --typography-h1-font-weight: var(--font-weight-extra-bold);
373
- /* 800 — all viewports */
374
337
  --typography-h1-line-height: var(--line-height-5xl);
375
- /* mobile: 3.5rem → tablet: 4rem → desktop: 5.5rem */
376
-
377
- /* Typography — H2 */
338
+ --typography-h1-letter-spacing: -0.035rem;
378
339
  --typography-h2-font-family: var(--font-family-base);
379
340
  --typography-h2-font-size: var(--font-size-4xl);
380
- /* mobile: 2.5rem → tablet: 3rem → desktop: 3.5rem */
381
341
  --typography-h2-font-weight: var(--font-weight-extra-bold);
382
- /* 800 — all viewports */
383
342
  --typography-h2-line-height: var(--line-height-4xl);
384
- /* mobile: 3rem → tablet: 3.5rem → desktop: 4rem */
385
-
386
- /* Typography — H3 */
343
+ --typography-h2-letter-spacing: -0.03rem;
387
344
  --typography-h3-font-family: var(--font-family-base);
388
345
  --typography-h3-font-size: var(--font-size-3xl);
389
- /* mobile: 2rem → tablet: 2.5rem → desktop: 3rem */
390
346
  --typography-h3-font-weight: var(--font-weight-extra-bold);
391
- /* 800 — all viewports */
392
347
  --typography-h3-line-height: var(--line-height-3xl);
393
- /* mobile: 2.5rem → tablet: 3rem → desktop: 3.5rem */
394
-
395
- /* Typography — H4 */
348
+ --typography-h3-letter-spacing: -0.025rem;
396
349
  --typography-h4-font-family: var(--font-family-base);
397
350
  --typography-h4-font-size: var(--font-size-2xl);
398
- /* mobile: 1.5rem → tablet: 2rem → desktop: 2.5rem */
399
351
  --typography-h4-font-weight: var(--font-weight-extra-bold);
400
- /* 800 — all viewports */
401
352
  --typography-h4-line-height: var(--line-height-2xl);
402
- /* mobile: 2rem → tablet: 2.5rem → desktop: 3rem */
403
-
404
- /* Typography — H5 */
353
+ --typography-h4-letter-spacing: normal;
405
354
  --typography-h5-font-family: var(--font-family-base);
406
355
  --typography-h5-font-size: var(--font-size-xl);
407
- /* mobile: 1.25rem → tablet: 1.5rem → desktop: 1.75rem */
408
356
  --typography-h5-font-weight: var(--font-weight-extra-bold);
409
- /* 800 — all viewports */
410
357
  --typography-h5-line-height: var(--line-height-xl);
411
- /* mobile: 1.75rem → tablet: 2rem → desktop: 2.25rem */
412
-
413
- /* ── Typography — Body ──────────────────────────────────────
414
- xs–lg are identical across all viewports — no responsive
415
- overrides needed.
416
- ────────────────────────────────────────────────────────── */
417
-
418
- /* Typography — body-lg */
358
+ --typography-h5-letter-spacing: normal;
359
+ --typography-h6-font-family: var(--font-family-base);
360
+ --typography-h6-font-size: var(--font-size-h6);
361
+ --typography-h6-font-weight: var(--font-weight-extra-bold);
362
+ --typography-h6-line-height: var(--line-height-h6);
363
+ --typography-h6-letter-spacing: normal;
419
364
  --typography-body-lg-font-family: var(--font-family-base);
420
365
  --typography-body-lg-font-size: var(--font-size-lg);
421
- /* 1.125rem (18px) — all viewports */
422
366
  --typography-body-lg-font-weight: var(--font-weight-regular);
423
- /* 400 */
424
367
  --typography-body-lg-line-height: var(--line-height-lg);
425
- /* 1.75rem (28px) — all viewports */
426
-
427
- /* Typography — body-md */
368
+ --typography-body-lg-letter-spacing: normal;
428
369
  --typography-body-md-font-family: var(--font-family-base);
429
370
  --typography-body-md-font-size: var(--font-size-md);
430
- /* 1rem (16px) — all viewports */
431
371
  --typography-body-md-font-weight: var(--font-weight-regular);
432
- /* 400 */
433
372
  --typography-body-md-line-height: var(--line-height-md);
434
- /* 1.5rem (24px) — all viewports */
435
-
436
- /* Typography — body-sm */
373
+ --typography-body-md-letter-spacing: normal;
437
374
  --typography-body-sm-font-family: var(--font-family-base);
438
375
  --typography-body-sm-font-size: var(--font-size-sm);
439
- /* 0.875rem (14px) — all viewports */
440
376
  --typography-body-sm-font-weight: var(--font-weight-regular);
441
- /* 400 */
442
377
  --typography-body-sm-line-height: var(--line-height-sm);
443
- /* 1.5rem (24px) — all viewports */
444
-
445
- /* Typography — body-xs */
378
+ --typography-body-sm-letter-spacing: normal;
446
379
  --typography-body-xs-font-family: var(--font-family-base);
447
380
  --typography-body-xs-font-size: var(--font-size-xs);
448
- /* 0.75rem (12px) — all viewports */
449
381
  --typography-body-xs-font-weight: var(--font-weight-regular);
450
- /* 400 */
451
382
  --typography-body-xs-line-height: var(--line-height-xs);
452
- /* 1.25rem (20px) — all viewports */
453
-
454
- /* ── Typography — Labels ────────────────────────────────────
455
- ────────────────────────────────────────────────────────── */
456
-
457
- /* Typography — label-lg */
383
+ --typography-body-xs-letter-spacing: normal;
458
384
  --typography-label-lg-font-family: var(--font-family-base);
459
385
  --typography-label-lg-font-size: var(--font-size-lg);
460
- /* 1.125rem (18px) */
461
386
  --typography-label-lg-font-weight: var(--font-weight-regular);
462
- /* 400 */
463
387
  --typography-label-lg-line-height: var(--line-height-lg);
464
- /* 1.75rem (28px) */
465
-
466
- /* Typography — label-md */
388
+ --typography-label-lg-letter-spacing: normal;
467
389
  --typography-label-md-font-family: var(--font-family-base);
468
390
  --typography-label-md-font-size: var(--font-size-md);
469
- /* 1rem (16px) */
470
391
  --typography-label-md-font-weight: var(--font-weight-regular);
471
- /* 400 */
472
392
  --typography-label-md-line-height: var(--line-height-md);
473
- /* 1.5rem (24px) */
474
-
475
- /* Typography — label-sm */
393
+ --typography-label-md-letter-spacing: normal;
476
394
  --typography-label-sm-font-family: var(--font-family-base);
477
395
  --typography-label-sm-font-size: var(--font-size-xs);
478
- /* 0.75rem (12px) */
479
396
  --typography-label-sm-font-weight: var(--font-weight-regular);
480
- /* 400 */
481
397
  --typography-label-sm-line-height: var(--line-height-xs);
482
- /* 1.25rem (20px) */
483
-
484
- /* ── Typography — Caption ───────────────────────────────────
485
- ────────────────────────────────────────────────────────── */
398
+ --typography-label-sm-letter-spacing: normal;
486
399
  --typography-caption-font-family: var(--font-family-base);
487
400
  --typography-caption-font-size: var(--font-size-xs);
488
- /* 0.75rem (12px) */
489
401
  --typography-caption-font-weight: var(--font-weight-regular);
490
- /* 400 */
491
402
  --typography-caption-line-height: var(--line-height-xs);
492
- /* 1.25rem (20px) */
493
-
494
- /* ── Typography — Link ──────────────────────────────────────
495
- ────────────────────────────────────────────────────────── */
403
+ --typography-caption-letter-spacing: normal;
496
404
  --typography-link-md-font-family: var(--font-family-base);
497
405
  --typography-link-md-font-size: var(--font-size-md);
498
- /* 1rem (16px) */
499
406
  --typography-link-md-font-weight: var(--font-weight-semi-bold);
500
- /* 600 */
501
407
  --typography-link-md-line-height: var(--line-height-md);
502
- /* 1.5rem (24px) */
408
+ --typography-link-md-letter-spacing: normal;
503
409
 
504
- /* Pagination — Page */
410
+ /* Pagination */
505
411
  --pagination-page-radius: var(--radius-full);
506
412
  --pagination-page-text: var(--color-opacity-slate-72);
507
413
  --pagination-page-selected-bg: var(--color-slate-1400);
508
414
  --pagination-page-selected-text: var(--color-slate-50);
509
415
  --pagination-page-ellipsis-text: var(--color-opacity-slate-24);
510
-
511
- /* Pagination — Nav */
512
416
  --pagination-nav-icon: var(--color-slate-1400);
513
417
  --pagination-nav-icon-disabled: var(--color-opacity-slate-24);
514
418
 
@@ -532,16 +436,42 @@
532
436
  --bottom-sheet-action-secondary-active-bg: var(--color-opacity-slate-16);
533
437
  --bottom-sheet-list-item-border: var(--color-opacity-slate-8);
534
438
 
439
+ /* Elevation */
440
+ --elevation-card: var(--shadow-sm);
441
+ --elevation-dropdown: var(--shadow-md);
442
+ --elevation-modal: var(--shadow-lg);
443
+ --elevation-popover: var(--shadow-md);
444
+ --elevation-floating: var(--shadow-xl);
445
+
446
+ /* Overlay */
447
+ --overlay-light: var(--color-opacity-slate-16);
448
+ --overlay-medium: var(--color-opacity-slate-48);
449
+ --overlay-strong: var(--color-opacity-slate-72);
450
+
451
+ /* Status */
452
+ --status-success-background: var(--color-emerald-500);
453
+ --status-success-text: var(--color-slate-1200);
454
+ --status-success-icon: var(--color-emerald-700);
455
+ --status-success-border: var(--color-emerald-700);
456
+ --status-warning-background: var(--color-yellow-500);
457
+ --status-warning-text: var(--color-slate-1200);
458
+ --status-warning-icon: var(--color-yellow-600);
459
+ --status-warning-border: var(--color-yellow-600);
460
+ --status-danger-background: var(--color-cherry-800);
461
+ --status-danger-text: var(--color-slate-50);
462
+ --status-danger-icon: var(--color-slate-50);
463
+ --status-danger-border: var(--color-cherry-700);
464
+ --status-info-background: var(--color-blue-500);
465
+ --status-info-text: var(--color-slate-1200);
466
+ --status-info-icon: var(--color-blue-600);
467
+ --status-info-border: var(--color-blue-600);
468
+
535
469
  /* Text Color */
536
470
  --text-primary: var(--color-slate-1200);
537
- --text-secondary: var(--color-slate-1000);
538
- --text-tertiary: var(--color-slate-500);
539
- --text-disabled: var(--color-slate-400);
471
+ --text-secondary: var(--color-opacity-slate-72);
472
+ --text-disabled: var(--color-opacity-slate-56);
540
473
  --text-inverse: var(--color-slate-50);
541
474
  --text-brand: var(--color-coral-700);
542
- --text-success: var(--color-emerald-700);
543
- --text-warning: var(--color-yellow-600);
544
- --text-danger: var(--color-cherry-700);
545
475
 
546
476
  /* Icon Color */
547
477
  --icon-primary: var(--color-slate-1200);
@@ -587,4 +517,4 @@
587
517
  --footer-accordion-text-color: var(--color-slate-50);
588
518
  --footer-accordion-chevron-color: var(--color-slate-50);
589
519
  --footer-app-badge-border: var(--color-opacity-white-8);
590
- }
520
+ }