@vellira-ui/tokens 2.21.0 → 2.22.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/README.md +3 -3
- package/dist/css/tokens.css +119 -43
- package/dist/dark/components/checkbox.d.ts +2 -2
- package/dist/dark/components/checkbox.js +1 -1
- package/dist/dark/components/dropdown.d.ts +2 -2
- package/dist/dark/components/input.d.ts +30 -3
- package/dist/dark/components/input.d.ts.map +1 -1
- package/dist/dark/components/input.js +29 -1
- package/dist/dark/components/menu.d.ts +2 -2
- package/dist/dark/components/radio.d.ts +1 -1
- package/dist/dark/components/select.d.ts +1 -1
- package/dist/dark/components/tabs.d.ts +1 -1
- package/dist/dark/semantic/control.d.ts +6 -1
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +6 -0
- package/dist/dark/semantic/icons.d.ts +15 -0
- package/dist/dark/semantic/icons.d.ts.map +1 -0
- package/dist/dark/semantic/icons.js +15 -0
- package/dist/dark/semantic/navigation.d.ts +2 -2
- package/dist/dark/semantic/status.d.ts +1 -1
- package/dist/dark/semantic/status.js +1 -1
- package/dist/dark/semantic/surface.d.ts +2 -1
- package/dist/dark/semantic/surface.d.ts.map +1 -1
- package/dist/dark/semantic/surface.js +3 -1
- package/dist/generated/token-types.d.ts +5 -5
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +100 -0
- package/dist/highContrast/components/checkbox.d.ts +1 -1
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +2 -6
- package/dist/highContrast/components/input.d.ts +28 -1
- package/dist/highContrast/components/input.d.ts.map +1 -1
- package/dist/highContrast/components/input.js +29 -1
- package/dist/highContrast/semantic/control.d.ts +5 -0
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +7 -0
- package/dist/highContrast/semantic/icons.d.ts +15 -0
- package/dist/highContrast/semantic/icons.d.ts.map +1 -0
- package/dist/highContrast/semantic/icons.js +15 -0
- package/dist/highContrast/semantic/surface.d.ts +1 -0
- package/dist/highContrast/semantic/surface.d.ts.map +1 -1
- package/dist/highContrast/semantic/surface.js +2 -0
- package/dist/light/components/button.d.ts +1 -1
- package/dist/light/components/checkbox.d.ts +2 -2
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +2 -6
- package/dist/light/components/dropdown.d.ts +3 -3
- package/dist/light/components/formField.d.ts +3 -3
- package/dist/light/components/formField.js +1 -1
- package/dist/light/components/input.d.ts +31 -4
- package/dist/light/components/input.d.ts.map +1 -1
- package/dist/light/components/input.js +30 -2
- package/dist/light/components/menu.d.ts +1 -1
- package/dist/light/components/modal.d.ts +1 -1
- package/dist/light/components/radio.d.ts +2 -2
- package/dist/light/components/select.d.ts +2 -2
- package/dist/light/components/tabs.d.ts +1 -1
- package/dist/light/components/tooltip.d.ts +1 -1
- package/dist/light/semantic/border.d.ts +2 -1
- package/dist/light/semantic/border.d.ts.map +1 -1
- package/dist/light/semantic/border.js +2 -1
- package/dist/light/semantic/control.d.ts +5 -0
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +7 -0
- package/dist/light/semantic/icons.d.ts +15 -0
- package/dist/light/semantic/icons.d.ts.map +1 -0
- package/dist/light/semantic/icons.js +15 -0
- package/dist/light/semantic/status.d.ts +1 -1
- package/dist/light/semantic/status.js +1 -1
- package/dist/light/semantic/surface.d.ts +1 -0
- package/dist/light/semantic/surface.d.ts.map +1 -1
- package/dist/light/semantic/surface.js +2 -0
- package/dist/utils/color.d.ts +2 -0
- package/dist/utils/color.d.ts.map +1 -0
- package/dist/utils/color.js +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ theme.semantic.text.primary;
|
|
|
29
29
|
theme.semantic.border.default;
|
|
30
30
|
theme.semantic.status.success.fg;
|
|
31
31
|
|
|
32
|
-
theme.components.button.primary.default.bg;
|
|
32
|
+
theme.components.button.primary.solid.default.bg;
|
|
33
33
|
theme.components.input.default.bg; // may be a hex color or transparent
|
|
34
34
|
|
|
35
35
|
theme.tokens.typography.family.regular;
|
|
@@ -82,7 +82,7 @@ Using semantic tokens instead of raw palette values makes components easier to m
|
|
|
82
82
|
Component tokens define renderer-neutral values for component states.
|
|
83
83
|
|
|
84
84
|
```ts
|
|
85
|
-
theme.components.button.primary.default.bg;
|
|
85
|
+
theme.components.button.primary.solid.default.bg;
|
|
86
86
|
theme.components.input.focus.border;
|
|
87
87
|
theme.components.dropdown.content.bg;
|
|
88
88
|
```
|
|
@@ -106,7 +106,7 @@ Examples:
|
|
|
106
106
|
--surface-default
|
|
107
107
|
--text-primary
|
|
108
108
|
--border-default
|
|
109
|
-
--button-primary-default-bg
|
|
109
|
+
--button-primary-solid-default-bg
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
---
|
package/dist/css/tokens.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AUTO-GENERATED FILE
|
|
3
3
|
* DO NOT EDIT MANUALLY
|
|
4
|
-
* Generated: 2026-07-
|
|
4
|
+
* Generated: 2026-07-08T21:08:56.804Z
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
:root {
|
|
@@ -228,12 +228,16 @@
|
|
|
228
228
|
--action-danger-subtle-fg: #BE123C;
|
|
229
229
|
--action-danger-muted-bg: #FFE4E6;
|
|
230
230
|
--action-danger-muted-fg: #BE123C;
|
|
231
|
-
--border-default: #
|
|
231
|
+
--border-default: #BBB2D2;
|
|
232
232
|
--border-muted: #EEE8FA;
|
|
233
233
|
--border-subtle: #D4CEE8;
|
|
234
234
|
--border-elevated: #958CB0;
|
|
235
235
|
--border-strong: #4F4867;
|
|
236
|
+
--border-disabled: #E4DDF4;
|
|
236
237
|
--border-focus: #5037C8;
|
|
238
|
+
--control-default-bg: #F4F1FB;
|
|
239
|
+
--control-default-fg: #4F4867;
|
|
240
|
+
--control-default-border: #D4CEE8;
|
|
237
241
|
--control-hover-bg: #F4F3FF;
|
|
238
242
|
--control-hover-fg: #342580;
|
|
239
243
|
--control-hover-border: #5037C8;
|
|
@@ -273,7 +277,7 @@
|
|
|
273
277
|
--status-success-bg: #ECFDF5;
|
|
274
278
|
--status-success-border: #6EE7B7;
|
|
275
279
|
--status-success-strong: #047857;
|
|
276
|
-
--status-error-fg: #
|
|
280
|
+
--status-error-fg: #F43F5E;
|
|
277
281
|
--status-error-bg: #FFE4E6;
|
|
278
282
|
--status-error-border: #FDA4AF;
|
|
279
283
|
--status-error-strong: #BE123C;
|
|
@@ -291,6 +295,7 @@
|
|
|
291
295
|
--surface-elevated: #D9FBFF;
|
|
292
296
|
--surface-pressed: #E4DDF4;
|
|
293
297
|
--surface-disabled: #F4F1FB;
|
|
298
|
+
--surface-danger: #FFE4E680;
|
|
294
299
|
--surface-hover: #EEE8FA;
|
|
295
300
|
--surface-active: #BBB2D2;
|
|
296
301
|
--surface-inverse: #181521;
|
|
@@ -412,7 +417,7 @@
|
|
|
412
417
|
--button-danger-ghost-pressed-border: transparent;
|
|
413
418
|
--button-disabled-bg: #F4F1FB;
|
|
414
419
|
--button-disabled-fg: #9CA3AF;
|
|
415
|
-
--button-disabled-border: #
|
|
420
|
+
--button-disabled-border: #BBB2D2;
|
|
416
421
|
--checkbox-default-bg: #F4F1FB;
|
|
417
422
|
--checkbox-default-fg: #4F4867;
|
|
418
423
|
--checkbox-default-border: #D4CEE8;
|
|
@@ -432,8 +437,8 @@
|
|
|
432
437
|
--checkbox-disabled-bg: #FFFFFF;
|
|
433
438
|
--checkbox-disabled-fg: #9CA3AF;
|
|
434
439
|
--checkbox-disabled-border: #EEE8FA;
|
|
435
|
-
--checkbox-error-
|
|
436
|
-
--checkbox-error-
|
|
440
|
+
--checkbox-error-fg: #F43F5E;
|
|
441
|
+
--checkbox-error-border: #F43F5E;
|
|
437
442
|
--dropdown-trigger-default-bg: transparent;
|
|
438
443
|
--dropdown-trigger-default-fg: #5037C8;
|
|
439
444
|
--dropdown-trigger-default-border: transparent;
|
|
@@ -461,47 +466,68 @@
|
|
|
461
466
|
--dropdown-item-focus-ring: #5037C8;
|
|
462
467
|
--dropdown-item-disabled-bg: transparent;
|
|
463
468
|
--dropdown-item-disabled-fg: #9CA3AF;
|
|
464
|
-
--dropdown-item-danger-default-fg: #
|
|
469
|
+
--dropdown-item-danger-default-fg: #F43F5E;
|
|
465
470
|
--dropdown-item-danger-hover-bg: #FFE4E6;
|
|
466
|
-
--dropdown-item-danger-hover-fg: #
|
|
471
|
+
--dropdown-item-danger-hover-fg: #F43F5E;
|
|
467
472
|
--dropdown-item-danger-active-bg: #FFE4E6;
|
|
468
|
-
--dropdown-item-danger-active-fg: #
|
|
473
|
+
--dropdown-item-danger-active-fg: #F43F5E;
|
|
469
474
|
--dropdown-item-danger-active-ring: transparent;
|
|
470
475
|
--dropdown-group-label-fg: #958CB0;
|
|
471
476
|
--dropdown-separator-bg: #EEE8FA;
|
|
472
477
|
--dropdown-separator-fg: #958CB0;
|
|
473
|
-
--form-field-label-fg: #
|
|
478
|
+
--form-field-label-fg: #1A1A1A;
|
|
474
479
|
--form-field-description-fg: #6B6386;
|
|
475
480
|
--form-field-helper-text-default-fg: #958CB0;
|
|
476
|
-
--form-field-helper-text-error-fg: #
|
|
481
|
+
--form-field-helper-text-error-fg: #F43F5E;
|
|
477
482
|
--form-field-helper-text-success-fg: #047857;
|
|
478
483
|
--form-field-helper-text-warning-fg: #B45309;
|
|
479
484
|
--form-field-helper-text-info-fg: #0C4A6E;
|
|
480
|
-
--form-field-required-mark-fg: #
|
|
485
|
+
--form-field-required-mark-fg: #F43F5E;
|
|
481
486
|
--form-field-disabled-label-fg: #9CA3AF;
|
|
482
487
|
--form-field-disabled-description-fg: #9CA3AF;
|
|
483
488
|
--form-field-disabled-helper-text-fg: #9CA3AF;
|
|
484
489
|
--input-default-bg: transparent;
|
|
485
490
|
--input-default-fg: #4F4867;
|
|
486
|
-
--input-default-border: #
|
|
491
|
+
--input-default-border: #BBB2D2;
|
|
487
492
|
--input-default-placeholder: #958CB0;
|
|
493
|
+
--input-default-icon: #9B7CFF;
|
|
488
494
|
--input-hover-bg: #F4F3FF;
|
|
489
495
|
--input-hover-fg: #4F4867;
|
|
490
496
|
--input-hover-border: #5037C8;
|
|
491
497
|
--input-hover-placeholder: #958CB0;
|
|
498
|
+
--input-hover-icon: #9B7CFF;
|
|
492
499
|
--input-focus-bg: transparent;
|
|
493
500
|
--input-focus-fg: #4F4867;
|
|
494
501
|
--input-focus-border: #5037C8;
|
|
495
502
|
--input-focus-ring: #5037C8;
|
|
496
503
|
--input-focus-placeholder: #958CB0;
|
|
497
|
-
--input-
|
|
504
|
+
--input-focus-icon: #FFFFFF;
|
|
505
|
+
--input-disabled-bg: #F4F1FB;
|
|
498
506
|
--input-disabled-fg: #9CA3AF;
|
|
499
|
-
--input-disabled-border: #
|
|
507
|
+
--input-disabled-border: #E4DDF4;
|
|
500
508
|
--input-disabled-placeholder: #9CA3AF;
|
|
509
|
+
--input-disabled-icon: #958CB0;
|
|
501
510
|
--input-error-border: #BE123C;
|
|
502
|
-
--input-error-ring: #
|
|
511
|
+
--input-error-ring: #F43F5E;
|
|
503
512
|
--input-success-border: #047857;
|
|
504
513
|
--input-success-ring: #047857;
|
|
514
|
+
--input-read-only-bg: #FFFFFF;
|
|
515
|
+
--input-read-only-fg: #6B6386;
|
|
516
|
+
--input-read-only-border: #BBB2D2;
|
|
517
|
+
--input-read-only-placeholder: #958CB0;
|
|
518
|
+
--input-read-only-icon: #6B6386;
|
|
519
|
+
--input-icon-default: #0F0F0F;
|
|
520
|
+
--input-icon-primary: #7C5CFF;
|
|
521
|
+
--input-icon-secondary: #1FBEDB;
|
|
522
|
+
--input-icon-success: #059669;
|
|
523
|
+
--input-icon-danger: #E11D48;
|
|
524
|
+
--input-icon-muted: #6B6386;
|
|
525
|
+
--input-icon-inverse: #1A1A1A;
|
|
526
|
+
--input-clear-button-fg: #F43F5E;
|
|
527
|
+
--input-clear-button-hover-fg: #F43F5E;
|
|
528
|
+
--input-clear-button-hover-bg: #FFE4E680;
|
|
529
|
+
--input-clear-button-focus-bg: #181521;
|
|
530
|
+
--input-clear-button-pressed-bg: #BBB2D2;
|
|
505
531
|
--menu-item-default-bg: transparent;
|
|
506
532
|
--menu-item-default-fg: #4F4867;
|
|
507
533
|
--menu-item-hover-bg: #F4F1FB;
|
|
@@ -511,7 +537,7 @@
|
|
|
511
537
|
--menu-item-focus-ring: transparent;
|
|
512
538
|
--menu-item-disabled-bg: #FFFFFF;
|
|
513
539
|
--menu-item-disabled-fg: #9CA3AF;
|
|
514
|
-
--menu-item-danger-default-fg: #
|
|
540
|
+
--menu-item-danger-default-fg: #F43F5E;
|
|
515
541
|
--menu-item-danger-hover-bg: #FFF1F2;
|
|
516
542
|
--menu-item-danger-hover-fg: #BE123C;
|
|
517
543
|
--menu-item-danger-active-bg: #FFE4E6;
|
|
@@ -524,7 +550,7 @@
|
|
|
524
550
|
--modal-overlay-bg: rgba(0, 0, 0, 0.72);
|
|
525
551
|
--modal-content-bg: #FFFFFF;
|
|
526
552
|
--modal-content-fg: #4F4867;
|
|
527
|
-
--modal-content-border: #
|
|
553
|
+
--modal-content-border: #BBB2D2;
|
|
528
554
|
--modal-title-fg: #4F4867;
|
|
529
555
|
--modal-description-fg: #6B6386;
|
|
530
556
|
--modal-close-button-default-bg: transparent;
|
|
@@ -535,7 +561,7 @@
|
|
|
535
561
|
--modal-close-button-disabled-fg: #9CA3AF;
|
|
536
562
|
--radio-default-bg: #F4F1FB;
|
|
537
563
|
--radio-default-fg: #4F4867;
|
|
538
|
-
--radio-default-border: #
|
|
564
|
+
--radio-default-border: #BBB2D2;
|
|
539
565
|
--radio-hover-bg: #F4F3FF;
|
|
540
566
|
--radio-hover-fg: #342580;
|
|
541
567
|
--radio-hover-border: #5037C8;
|
|
@@ -551,10 +577,10 @@
|
|
|
551
577
|
--radio-focus-ring: #5037C8;
|
|
552
578
|
--radio-disabled-bg: #FFFFFF;
|
|
553
579
|
--radio-disabled-fg: #9CA3AF;
|
|
554
|
-
--radio-disabled-border: #
|
|
580
|
+
--radio-disabled-border: #BBB2D2;
|
|
555
581
|
--select-trigger-default-bg: #F4F1FB;
|
|
556
582
|
--select-trigger-default-fg: #1A1A1A;
|
|
557
|
-
--select-trigger-default-border: #
|
|
583
|
+
--select-trigger-default-border: #BBB2D2;
|
|
558
584
|
--select-trigger-hover-bg: #F4F3FF;
|
|
559
585
|
--select-trigger-hover-fg: #342580;
|
|
560
586
|
--select-trigger-hover-border: #5037C8;
|
|
@@ -566,7 +592,7 @@
|
|
|
566
592
|
--select-trigger-disabled-fg: #9CA3AF;
|
|
567
593
|
--select-trigger-disabled-border: #EEE8FA;
|
|
568
594
|
--select-trigger-placeholder-fg: #6B6386;
|
|
569
|
-
--select-trigger-error-border: #
|
|
595
|
+
--select-trigger-error-border: #F43F5E;
|
|
570
596
|
--select-trigger-error-ring: #FFE4E6;
|
|
571
597
|
--select-dropdown-bg: #FFFFFF;
|
|
572
598
|
--select-dropdown-fg: #4F4867;
|
|
@@ -584,7 +610,7 @@
|
|
|
584
610
|
--select-option-disabled-bg: transparent;
|
|
585
611
|
--select-option-disabled-fg: #9CA3AF;
|
|
586
612
|
--select-option-disabled-border: #EEE8FA;
|
|
587
|
-
--tabs-list-border: #
|
|
613
|
+
--tabs-list-border: #BBB2D2;
|
|
588
614
|
--tabs-trigger-default-bg: transparent;
|
|
589
615
|
--tabs-trigger-default-fg: #4F4867;
|
|
590
616
|
--tabs-trigger-default-border: transparent;
|
|
@@ -616,7 +642,7 @@
|
|
|
616
642
|
--tabs-panel-fg: #4F4867;
|
|
617
643
|
--tooltip-content-bg: #181521;
|
|
618
644
|
--tooltip-content-fg: #FFFFFF;
|
|
619
|
-
--tooltip-content-border: #
|
|
645
|
+
--tooltip-content-border: #BBB2D2;
|
|
620
646
|
--tooltip-arrow-bg: #181521;
|
|
621
647
|
}
|
|
622
648
|
|
|
@@ -803,7 +829,10 @@
|
|
|
803
829
|
--border-subtle: #231F31;
|
|
804
830
|
--border-elevated: #6B6386;
|
|
805
831
|
--border-focus: #B8A8FF;
|
|
806
|
-
--control-
|
|
832
|
+
--control-default-bg: #3D3754;
|
|
833
|
+
--control-default-fg: #FFFFFF;
|
|
834
|
+
--control-default-border: #231F31;
|
|
835
|
+
--control-hover-bg: #3D3754;
|
|
807
836
|
--control-hover-fg: #B8A8FF;
|
|
808
837
|
--control-hover-border: #B8A8FF;
|
|
809
838
|
--control-selected-default-bg: #6346E8;
|
|
@@ -827,7 +856,7 @@
|
|
|
827
856
|
--navigation-hover-fg: #F4F1FB;
|
|
828
857
|
--navigation-active-bg: #6B6386;
|
|
829
858
|
--navigation-active-fg: #F4F1FB;
|
|
830
|
-
--navigation-brand-hover-bg: #
|
|
859
|
+
--navigation-brand-hover-bg: #3D3754;
|
|
831
860
|
--navigation-brand-hover-fg: #D4CCFF;
|
|
832
861
|
--navigation-tab-hover-fg: #D4CCFF;
|
|
833
862
|
--navigation-tab-focus-ring: #F59E0B;
|
|
@@ -836,7 +865,7 @@
|
|
|
836
865
|
--navigation-option-active-bg: #6B6386;
|
|
837
866
|
--navigation-option-active-fg: #F4F1FB;
|
|
838
867
|
--navigation-border: #3D3754;
|
|
839
|
-
--navigation-trigger-hover-bg: #
|
|
868
|
+
--navigation-trigger-hover-bg: #3D3754;
|
|
840
869
|
--navigation-trigger-hover-fg: #FAF8FF;
|
|
841
870
|
--skeleton-base: #1F2937;
|
|
842
871
|
--skeleton-highlight: #374151;
|
|
@@ -846,7 +875,7 @@
|
|
|
846
875
|
--status-success-strong: #059669;
|
|
847
876
|
--status-error-fg: #FB7185;
|
|
848
877
|
--status-error-bg: rgba(251, 113, 133, 0.16);
|
|
849
|
-
--status-error-border: #
|
|
878
|
+
--status-error-border: #FB7185;
|
|
850
879
|
--status-error-strong: #E11D48;
|
|
851
880
|
--status-warning-fg: #FBBF24;
|
|
852
881
|
--status-warning-bg: rgba(251, 191, 36, 0.14);
|
|
@@ -861,7 +890,8 @@
|
|
|
861
890
|
--surface-subtle: #2F2A42;
|
|
862
891
|
--surface-elevated: #3D3754;
|
|
863
892
|
--surface-pressed: #4F4867;
|
|
864
|
-
--surface-
|
|
893
|
+
--surface-danger: #9F123980;
|
|
894
|
+
--surface-hover: #3D3754;
|
|
865
895
|
--surface-active: #6B6386;
|
|
866
896
|
--surface-inverse: #FFFFFF;
|
|
867
897
|
--text-primary: #F4F1FB;
|
|
@@ -987,7 +1017,7 @@
|
|
|
987
1017
|
--checkbox-default-bg: #3D3754;
|
|
988
1018
|
--checkbox-default-fg: #FFFFFF;
|
|
989
1019
|
--checkbox-default-border: #231F31;
|
|
990
|
-
--checkbox-hover-bg: #
|
|
1020
|
+
--checkbox-hover-bg: #3D3754;
|
|
991
1021
|
--checkbox-hover-fg: #FFFFFF;
|
|
992
1022
|
--checkbox-hover-border: #B8A8FF;
|
|
993
1023
|
--checkbox-checked-default-bg: #6346E8;
|
|
@@ -1003,12 +1033,12 @@
|
|
|
1003
1033
|
--checkbox-disabled-bg: #2F2A42;
|
|
1004
1034
|
--checkbox-disabled-fg: #958CB0;
|
|
1005
1035
|
--checkbox-disabled-border: #4F4867;
|
|
1006
|
-
--checkbox-error-border: #FB7185;
|
|
1007
1036
|
--checkbox-error-fg: #FB7185;
|
|
1037
|
+
--checkbox-error-border: #FB7185;
|
|
1008
1038
|
--dropdown-trigger-default-bg: transparent;
|
|
1009
1039
|
--dropdown-trigger-default-fg: #B8A8FF;
|
|
1010
1040
|
--dropdown-trigger-default-border: transparent;
|
|
1011
|
-
--dropdown-trigger-hover-bg: #
|
|
1041
|
+
--dropdown-trigger-hover-bg: #3D3754;
|
|
1012
1042
|
--dropdown-trigger-hover-fg: #D4CCFF;
|
|
1013
1043
|
--dropdown-trigger-hover-border: transparent;
|
|
1014
1044
|
--dropdown-trigger-hover-ring: transparent;
|
|
@@ -1035,7 +1065,7 @@
|
|
|
1035
1065
|
--dropdown-item-danger-default-fg: #FB7185;
|
|
1036
1066
|
--dropdown-item-danger-hover-bg: rgba(251, 113, 133, 0.16);
|
|
1037
1067
|
--dropdown-item-danger-hover-fg: #FB7185;
|
|
1038
|
-
--dropdown-item-danger-active-bg: #
|
|
1068
|
+
--dropdown-item-danger-active-bg: #FB7185;
|
|
1039
1069
|
--dropdown-item-danger-active-fg: #FB7185;
|
|
1040
1070
|
--dropdown-item-danger-active-ring: transparent;
|
|
1041
1071
|
--dropdown-group-label-fg: #BBB2D2;
|
|
@@ -1056,23 +1086,44 @@
|
|
|
1056
1086
|
--input-default-fg: #F4F1FB;
|
|
1057
1087
|
--input-default-border: #6B6386;
|
|
1058
1088
|
--input-default-placeholder: #BBB2D2;
|
|
1059
|
-
--input-
|
|
1089
|
+
--input-default-icon: #9B7CFF;
|
|
1090
|
+
--input-hover-bg: #3D3754;
|
|
1060
1091
|
--input-hover-fg: #F4F1FB;
|
|
1061
1092
|
--input-hover-border: #B8A8FF;
|
|
1062
1093
|
--input-hover-placeholder: #6B6386;
|
|
1094
|
+
--input-hover-icon: #9B7CFF;
|
|
1063
1095
|
--input-focus-bg: transparent;
|
|
1064
1096
|
--input-focus-fg: #F4F1FB;
|
|
1065
1097
|
--input-focus-border: #B8A8FF;
|
|
1066
1098
|
--input-focus-ring: #B8A8FF;
|
|
1067
1099
|
--input-focus-placeholder: #6B6386;
|
|
1068
|
-
--input-
|
|
1100
|
+
--input-focus-icon: #FFFFFF;
|
|
1101
|
+
--input-disabled-bg: #3D3754;
|
|
1069
1102
|
--input-disabled-fg: #958CB0;
|
|
1070
1103
|
--input-disabled-border: #4F4867;
|
|
1071
1104
|
--input-disabled-placeholder: #958CB0;
|
|
1072
|
-
--input-
|
|
1105
|
+
--input-disabled-icon: #D1D5DB;
|
|
1106
|
+
--input-error-border: #FB7185;
|
|
1073
1107
|
--input-error-ring: #FB7185;
|
|
1074
1108
|
--input-success-border: #059669;
|
|
1075
1109
|
--input-success-ring: #34D399;
|
|
1110
|
+
--input-read-only-bg: #2F2A42;
|
|
1111
|
+
--input-read-only-fg: #BBB2D2;
|
|
1112
|
+
--input-read-only-border: #4F4867;
|
|
1113
|
+
--input-read-only-placeholder: #6B6386;
|
|
1114
|
+
--input-read-only-icon: #9CA3AF;
|
|
1115
|
+
--input-icon-default: #0F0F0F;
|
|
1116
|
+
--input-icon-primary: #B8A8FF;
|
|
1117
|
+
--input-icon-secondary: #9CA3AF;
|
|
1118
|
+
--input-icon-success: #10B981;
|
|
1119
|
+
--input-icon-danger: #F43F5E;
|
|
1120
|
+
--input-icon-muted: #9CA3AF;
|
|
1121
|
+
--input-icon-inverse: #1A1A1A;
|
|
1122
|
+
--input-clear-button-fg: #FB7185;
|
|
1123
|
+
--input-clear-button-hover-fg: #FB7185;
|
|
1124
|
+
--input-clear-button-hover-bg: #9F123980;
|
|
1125
|
+
--input-clear-button-focus-bg: #FFFFFF;
|
|
1126
|
+
--input-clear-button-pressed-bg: #6B6386;
|
|
1076
1127
|
--menu-item-default-bg: transparent;
|
|
1077
1128
|
--menu-item-default-fg: #F4F1FB;
|
|
1078
1129
|
--menu-item-hover-bg: #6B6386;
|
|
@@ -1085,10 +1136,10 @@
|
|
|
1085
1136
|
--menu-item-danger-default-fg: #FB7185;
|
|
1086
1137
|
--menu-item-danger-hover-bg: rgba(251, 113, 133, 0.16);
|
|
1087
1138
|
--menu-item-danger-hover-fg: #FB7185;
|
|
1088
|
-
--menu-item-danger-active-bg: #
|
|
1139
|
+
--menu-item-danger-active-bg: #FB7185;
|
|
1089
1140
|
--menu-item-danger-active-fg: #FB7185;
|
|
1090
1141
|
--menu-trigger-default-fg: #B8A8FF;
|
|
1091
|
-
--menu-trigger-hover-bg: #
|
|
1142
|
+
--menu-trigger-hover-bg: #3D3754;
|
|
1092
1143
|
--menu-trigger-hover-fg: #FAF8FF;
|
|
1093
1144
|
--menu-trigger-hover-ring: transparent;
|
|
1094
1145
|
--menu-group-label-fg: #6B6386;
|
|
@@ -1107,7 +1158,7 @@
|
|
|
1107
1158
|
--radio-default-bg: #3D3754;
|
|
1108
1159
|
--radio-default-fg: #F4F1FB;
|
|
1109
1160
|
--radio-default-border: #231F31;
|
|
1110
|
-
--radio-hover-bg: #
|
|
1161
|
+
--radio-hover-bg: #3D3754;
|
|
1111
1162
|
--radio-hover-fg: #B8A8FF;
|
|
1112
1163
|
--radio-hover-border: #B8A8FF;
|
|
1113
1164
|
--radio-checked-default-bg: #6346E8;
|
|
@@ -1126,7 +1177,7 @@
|
|
|
1126
1177
|
--select-trigger-default-bg: transparent;
|
|
1127
1178
|
--select-trigger-default-fg: #FFFFFF;
|
|
1128
1179
|
--select-trigger-default-border: #231F31;
|
|
1129
|
-
--select-trigger-hover-bg: #
|
|
1180
|
+
--select-trigger-hover-bg: #3D3754;
|
|
1130
1181
|
--select-trigger-hover-fg: #B8A8FF;
|
|
1131
1182
|
--select-trigger-hover-border: #B8A8FF;
|
|
1132
1183
|
--select-trigger-focus-bg: #181521;
|
|
@@ -1172,7 +1223,7 @@
|
|
|
1172
1223
|
--tabs-pills-default-bg: transparent;
|
|
1173
1224
|
--tabs-pills-default-fg: #F4F1FB;
|
|
1174
1225
|
--tabs-pills-default-border: transparent;
|
|
1175
|
-
--tabs-pills-hover-bg: #
|
|
1226
|
+
--tabs-pills-hover-bg: #3D3754;
|
|
1176
1227
|
--tabs-pills-hover-fg: #F4F1FB;
|
|
1177
1228
|
--tabs-pills-hover-border: transparent;
|
|
1178
1229
|
--tabs-pills-active-bg: #5037C8;
|
|
@@ -1369,6 +1420,9 @@
|
|
|
1369
1420
|
--border-strong: #F9FAFB;
|
|
1370
1421
|
--border-disabled: #4B5563;
|
|
1371
1422
|
--border-focus: #FBBF24;
|
|
1423
|
+
--control-default-bg: #000000;
|
|
1424
|
+
--control-default-fg: #FFFFFF;
|
|
1425
|
+
--control-default-border: #4B5563;
|
|
1372
1426
|
--control-hover-bg: #111827;
|
|
1373
1427
|
--control-hover-fg: #000000;
|
|
1374
1428
|
--control-hover-border: #7C5CFF;
|
|
@@ -1438,6 +1492,7 @@
|
|
|
1438
1492
|
--surface-subtle: #111827;
|
|
1439
1493
|
--surface-elevated: #374151;
|
|
1440
1494
|
--surface-pressed: #111827;
|
|
1495
|
+
--surface-danger: #9F123980;
|
|
1441
1496
|
--surface-hover: #1F2937;
|
|
1442
1497
|
--surface-active: #111827;
|
|
1443
1498
|
--surface-inverse: #FFFFFF;
|
|
@@ -1579,8 +1634,8 @@
|
|
|
1579
1634
|
--checkbox-disabled-bg: #111827;
|
|
1580
1635
|
--checkbox-disabled-fg: #6B7280;
|
|
1581
1636
|
--checkbox-disabled-border: #4B5563;
|
|
1582
|
-
--checkbox-error-border: #FB7185;
|
|
1583
1637
|
--checkbox-error-fg: #FB7185;
|
|
1638
|
+
--checkbox-error-border: #FB7185;
|
|
1584
1639
|
--dropdown-trigger-default-bg: transparent;
|
|
1585
1640
|
--dropdown-trigger-default-fg: #FFFFFF;
|
|
1586
1641
|
--dropdown-trigger-default-border: transparent;
|
|
@@ -1632,23 +1687,44 @@
|
|
|
1632
1687
|
--input-default-fg: #FFFFFF;
|
|
1633
1688
|
--input-default-border: #FFFFFF;
|
|
1634
1689
|
--input-default-placeholder: #E5E7EB;
|
|
1635
|
-
--input-
|
|
1690
|
+
--input-default-icon: #9B7CFF;
|
|
1691
|
+
--input-hover-bg: #1F2937;
|
|
1636
1692
|
--input-hover-fg: #000000;
|
|
1637
1693
|
--input-hover-border: #FBBF24;
|
|
1638
1694
|
--input-hover-placeholder: #000000;
|
|
1695
|
+
--input-hover-icon: #9B7CFF;
|
|
1639
1696
|
--input-focus-bg: transparent;
|
|
1640
1697
|
--input-focus-fg: #FFFFFF;
|
|
1641
1698
|
--input-focus-border: #FBBF24;
|
|
1642
1699
|
--input-focus-ring: #F59E0B;
|
|
1643
1700
|
--input-focus-placeholder: #E5E7EB;
|
|
1701
|
+
--input-focus-icon: #FFFFFF;
|
|
1644
1702
|
--input-disabled-bg: #1F2937;
|
|
1645
1703
|
--input-disabled-fg: #6B7280;
|
|
1646
1704
|
--input-disabled-border: #4B5563;
|
|
1647
1705
|
--input-disabled-placeholder: #6B7280;
|
|
1706
|
+
--input-disabled-icon: #D1D5DB;
|
|
1648
1707
|
--input-error-border: #FB7185;
|
|
1649
1708
|
--input-error-ring: #FB7185;
|
|
1650
1709
|
--input-success-border: #6EE7B7;
|
|
1651
1710
|
--input-success-ring: #6EE7B7;
|
|
1711
|
+
--input-read-only-bg: #111827;
|
|
1712
|
+
--input-read-only-fg: #EEE8FA;
|
|
1713
|
+
--input-read-only-border: #FFFFFF;
|
|
1714
|
+
--input-read-only-placeholder: #E5E7EB;
|
|
1715
|
+
--input-read-only-icon: #9CA3AF;
|
|
1716
|
+
--input-icon-default: #0F0F0F;
|
|
1717
|
+
--input-icon-primary: #B8A8FF;
|
|
1718
|
+
--input-icon-secondary: #9CA3AF;
|
|
1719
|
+
--input-icon-success: #10B981;
|
|
1720
|
+
--input-icon-danger: #F43F5E;
|
|
1721
|
+
--input-icon-muted: #9CA3AF;
|
|
1722
|
+
--input-icon-inverse: #1A1A1A;
|
|
1723
|
+
--input-clear-button-fg: #FB7185;
|
|
1724
|
+
--input-clear-button-hover-fg: #FB7185;
|
|
1725
|
+
--input-clear-button-hover-bg: #9F123980;
|
|
1726
|
+
--input-clear-button-focus-bg: #FFFFFF;
|
|
1727
|
+
--input-clear-button-pressed-bg: #111827;
|
|
1652
1728
|
--menu-item-default-bg: transparent;
|
|
1653
1729
|
--menu-item-default-fg: #FFFFFF;
|
|
1654
1730
|
--menu-item-hover-bg: #1F2937;
|
|
@@ -6,7 +6,7 @@ export declare const checkbox: {
|
|
|
6
6
|
};
|
|
7
7
|
readonly hover: {
|
|
8
8
|
readonly fg: "#FFFFFF";
|
|
9
|
-
readonly bg: "#
|
|
9
|
+
readonly bg: "#3D3754";
|
|
10
10
|
readonly border: "#B8A8FF";
|
|
11
11
|
};
|
|
12
12
|
readonly checked: {
|
|
@@ -35,8 +35,8 @@ export declare const checkbox: {
|
|
|
35
35
|
readonly border: "#4F4867";
|
|
36
36
|
};
|
|
37
37
|
readonly error: {
|
|
38
|
-
readonly border: "#FB7185";
|
|
39
38
|
readonly fg: "#FB7185";
|
|
39
|
+
readonly border: "#FB7185";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -6,7 +6,7 @@ export declare const dropdown: {
|
|
|
6
6
|
readonly border: "transparent";
|
|
7
7
|
};
|
|
8
8
|
readonly hover: {
|
|
9
|
-
readonly bg: "#
|
|
9
|
+
readonly bg: "#3D3754";
|
|
10
10
|
readonly fg: "#D4CCFF";
|
|
11
11
|
readonly border: "transparent";
|
|
12
12
|
readonly ring: "transparent";
|
|
@@ -58,7 +58,7 @@ export declare const dropdown: {
|
|
|
58
58
|
readonly fg: "#FB7185";
|
|
59
59
|
};
|
|
60
60
|
readonly active: {
|
|
61
|
-
readonly bg: "#
|
|
61
|
+
readonly bg: "#FB7185";
|
|
62
62
|
readonly fg: "#FB7185";
|
|
63
63
|
readonly ring: "transparent";
|
|
64
64
|
};
|
|
@@ -4,12 +4,14 @@ export declare const input: {
|
|
|
4
4
|
readonly fg: "#F4F1FB";
|
|
5
5
|
readonly border: "#6B6386";
|
|
6
6
|
readonly placeholder: "#BBB2D2";
|
|
7
|
+
readonly icon: "#9B7CFF";
|
|
7
8
|
};
|
|
8
9
|
readonly hover: {
|
|
9
|
-
readonly bg: "#
|
|
10
|
+
readonly bg: "#3D3754";
|
|
10
11
|
readonly fg: "#F4F1FB";
|
|
11
12
|
readonly border: "#B8A8FF";
|
|
12
13
|
readonly placeholder: "#6B6386";
|
|
14
|
+
readonly icon: "#9B7CFF";
|
|
13
15
|
};
|
|
14
16
|
readonly focus: {
|
|
15
17
|
readonly bg: "transparent";
|
|
@@ -17,20 +19,45 @@ export declare const input: {
|
|
|
17
19
|
readonly border: "#B8A8FF";
|
|
18
20
|
readonly ring: "#B8A8FF";
|
|
19
21
|
readonly placeholder: "#6B6386";
|
|
22
|
+
readonly icon: "#FFFFFF";
|
|
20
23
|
};
|
|
21
24
|
readonly disabled: {
|
|
22
|
-
readonly bg: "#
|
|
25
|
+
readonly bg: "#3D3754";
|
|
23
26
|
readonly fg: "#958CB0";
|
|
24
27
|
readonly border: "#4F4867";
|
|
25
28
|
readonly placeholder: "#958CB0";
|
|
29
|
+
readonly icon: "#D1D5DB";
|
|
26
30
|
};
|
|
27
31
|
readonly error: {
|
|
28
|
-
readonly border: "#
|
|
32
|
+
readonly border: "#FB7185";
|
|
29
33
|
readonly ring: "#FB7185";
|
|
30
34
|
};
|
|
31
35
|
readonly success: {
|
|
32
36
|
readonly border: "#059669";
|
|
33
37
|
readonly ring: "#34D399";
|
|
34
38
|
};
|
|
39
|
+
readonly readOnly: {
|
|
40
|
+
readonly bg: "#2F2A42";
|
|
41
|
+
readonly fg: "#BBB2D2";
|
|
42
|
+
readonly border: "#4F4867";
|
|
43
|
+
readonly placeholder: "#6B6386";
|
|
44
|
+
readonly icon: "#9CA3AF";
|
|
45
|
+
};
|
|
46
|
+
readonly icon: {
|
|
47
|
+
readonly default: "#0F0F0F";
|
|
48
|
+
readonly primary: "#B8A8FF";
|
|
49
|
+
readonly secondary: "#9CA3AF";
|
|
50
|
+
readonly success: "#10B981";
|
|
51
|
+
readonly danger: "#F43F5E";
|
|
52
|
+
readonly muted: "#9CA3AF";
|
|
53
|
+
readonly inverse: "#1A1A1A";
|
|
54
|
+
};
|
|
55
|
+
readonly clearButton: {
|
|
56
|
+
readonly fg: "#FB7185";
|
|
57
|
+
readonly hoverFg: "#FB7185";
|
|
58
|
+
readonly hoverBg: string;
|
|
59
|
+
readonly focusBg: "#FFFFFF";
|
|
60
|
+
readonly pressedBg: "#6B6386";
|
|
61
|
+
};
|
|
35
62
|
};
|
|
36
63
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/dark/components/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/dark/components/input.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqER,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { border } from '../semantic/border.js';
|
|
2
2
|
import { focus } from '../semantic/focus.js';
|
|
3
|
+
import { icons } from '../semantic/icons.js';
|
|
3
4
|
import { status } from '../semantic/status.js';
|
|
4
5
|
import { surface } from '../semantic/surface.js';
|
|
5
6
|
import { text } from '../semantic/text.js';
|
|
@@ -9,12 +10,14 @@ export const input = {
|
|
|
9
10
|
fg: text.primary,
|
|
10
11
|
border: border.elevated,
|
|
11
12
|
placeholder: text.secondary,
|
|
13
|
+
icon: icons.brand,
|
|
12
14
|
},
|
|
13
15
|
hover: {
|
|
14
16
|
bg: surface.hover,
|
|
15
17
|
fg: text.primary,
|
|
16
18
|
border: border.focus,
|
|
17
19
|
placeholder: text.muted,
|
|
20
|
+
icon: icons.hover,
|
|
18
21
|
},
|
|
19
22
|
focus: {
|
|
20
23
|
bg: 'transparent',
|
|
@@ -22,12 +25,14 @@ export const input = {
|
|
|
22
25
|
border: border.focus,
|
|
23
26
|
ring: focus.ring,
|
|
24
27
|
placeholder: text.muted,
|
|
28
|
+
icon: icons.subtle,
|
|
25
29
|
},
|
|
26
30
|
disabled: {
|
|
27
|
-
bg: surface.
|
|
31
|
+
bg: surface.elevated,
|
|
28
32
|
fg: text.disabled,
|
|
29
33
|
border: border.default,
|
|
30
34
|
placeholder: text.disabled,
|
|
35
|
+
icon: icons.disabled,
|
|
31
36
|
},
|
|
32
37
|
error: {
|
|
33
38
|
border: status.error.border,
|
|
@@ -37,4 +42,27 @@ export const input = {
|
|
|
37
42
|
border: status.success.strong,
|
|
38
43
|
ring: status.success.fg,
|
|
39
44
|
},
|
|
45
|
+
readOnly: {
|
|
46
|
+
bg: surface.subtle,
|
|
47
|
+
fg: text.secondary,
|
|
48
|
+
border: border.default,
|
|
49
|
+
placeholder: text.muted,
|
|
50
|
+
icon: icons.muted,
|
|
51
|
+
},
|
|
52
|
+
icon: {
|
|
53
|
+
default: icons.default,
|
|
54
|
+
primary: icons.primary,
|
|
55
|
+
secondary: icons.secondary,
|
|
56
|
+
success: icons.success,
|
|
57
|
+
danger: icons.danger,
|
|
58
|
+
muted: icons.muted,
|
|
59
|
+
inverse: icons.inverse,
|
|
60
|
+
},
|
|
61
|
+
clearButton: {
|
|
62
|
+
fg: status.error.fg,
|
|
63
|
+
hoverFg: status.error.fg,
|
|
64
|
+
hoverBg: surface.danger,
|
|
65
|
+
focusBg: surface.inverse,
|
|
66
|
+
pressedBg: surface.active,
|
|
67
|
+
},
|
|
40
68
|
};
|
|
@@ -28,7 +28,7 @@ export declare const menu: {
|
|
|
28
28
|
readonly fg: "#FB7185";
|
|
29
29
|
};
|
|
30
30
|
readonly active: {
|
|
31
|
-
readonly bg: "#
|
|
31
|
+
readonly bg: "#FB7185";
|
|
32
32
|
readonly fg: "#FB7185";
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -38,7 +38,7 @@ export declare const menu: {
|
|
|
38
38
|
readonly fg: "#B8A8FF";
|
|
39
39
|
};
|
|
40
40
|
readonly hover: {
|
|
41
|
-
readonly bg: "#
|
|
41
|
+
readonly bg: "#3D3754";
|
|
42
42
|
readonly fg: "#FAF8FF";
|
|
43
43
|
readonly ring: "transparent";
|
|
44
44
|
};
|