@ecopages/radiant-themes 0.2.1 → 0.2.2
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 +27 -15
- package/dist/compiled/themes/cloudflare/compact.css +40 -12
- package/dist/compiled/themes/cloudflare.css +40 -12
- package/dist/compiled/themes/github/compact.css +264 -67
- package/dist/compiled/themes/github.css +264 -67
- package/dist/compiled/themes/high-contrast/compact.css +88 -5
- package/dist/compiled/themes/high-contrast.css +88 -5
- package/dist/compiled/themes/macos/compact.css +674 -294
- package/dist/compiled/themes/macos-classic/compact.css +197 -25
- package/dist/compiled/themes/macos-classic.css +197 -25
- package/dist/compiled/themes/macos.css +674 -294
- package/dist/compiled/themes/material/compact.css +447 -132
- package/dist/compiled/themes/material.css +447 -132
- package/dist/compiled/themes/vercel/compact.css +104 -62
- package/dist/compiled/themes/vercel.css +104 -62
- package/dist/compiled/themes/vscode/compact.css +255 -40
- package/dist/compiled/themes/vscode.css +255 -40
- package/dist/compiled/themes/windows95/compact.css +260 -22
- package/dist/compiled/themes/windows95.css +260 -22
- package/dist/tokens/colors/github.css +32 -0
- package/dist/tokens/colors/macos.css +65 -25
- package/dist/tokens/colors/material.css +61 -20
- package/dist/tokens/colors/vercel.css +43 -39
- package/dist/tokens/colors/vscode.css +48 -4
- package/dist/tokens/colors/windows95.css +10 -5
- package/dist/tokens/components/cloudflare.css +55 -5
- package/dist/tokens/components/github.css +258 -40
- package/dist/tokens/components/high-contrast.css +93 -5
- package/dist/tokens/components/macos-classic.css +262 -24
- package/dist/tokens/components/macos.css +537 -106
- package/dist/tokens/components/material.css +354 -25
- package/dist/tokens/components/vercel.css +77 -15
- package/dist/tokens/components/vscode.css +248 -27
- package/dist/tokens/components/windows95.css +304 -19
- package/dist/tokens/roles/github.css +12 -12
- package/dist/tokens/roles/macos.css +97 -93
- package/dist/tokens/roles/material.css +65 -65
- package/dist/tokens/roles/vercel.css +3 -3
- package/package.json +3 -3
|
@@ -371,8 +371,18 @@
|
|
|
371
371
|
box-shadow: var(--macos-classic-bevel);
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
+
/**
|
|
375
|
+
* @remarks Every floating panel shares the `.rui-popover` surface, so its custom properties give popovers, date
|
|
376
|
+
* pickers, and navigation panels the window frame; menus and listboxes override the frame below.
|
|
377
|
+
*/
|
|
378
|
+
:root .rui-popover {
|
|
379
|
+
--rui-popover-radius: 0;
|
|
380
|
+
--rui-popover-surface: var(--macos-classic-surface);
|
|
381
|
+
--rui-popover-border-color: var(--macos-classic-dark);
|
|
382
|
+
--rui-popover-shadow: var(--macos-classic-bevel), 1px 1px 0 var(--macos-classic-dark), 3px 3px 0 rgb(0 0 0 / 0.25);
|
|
383
|
+
}
|
|
384
|
+
|
|
374
385
|
:root .rui-dialog__surface,
|
|
375
|
-
:root .rui-popover-host,
|
|
376
386
|
:root .rui-hover-card__content,
|
|
377
387
|
:root .rui-calendar {
|
|
378
388
|
@apply rounded-none text-on-surface;
|
|
@@ -425,7 +435,7 @@
|
|
|
425
435
|
padding-inline: 1.125rem;
|
|
426
436
|
clip-path: var(--macos-classic-tab-shape);
|
|
427
437
|
border-radius: 0;
|
|
428
|
-
background-color: var(--macos-classic-
|
|
438
|
+
background-color: var(--macos-classic-container);
|
|
429
439
|
background-image: var(--macos-classic-tab-outline);
|
|
430
440
|
background-position: 0 0;
|
|
431
441
|
background-size: 100% 100%;
|
|
@@ -456,36 +466,214 @@
|
|
|
456
466
|
padding: var(--rui-tabs-panel-padding);
|
|
457
467
|
}
|
|
458
468
|
|
|
469
|
+
/**
|
|
470
|
+
* Menus inherit the menu frame's grey face, so the inner listbox drops its own fill. Standalone list boxes are
|
|
471
|
+
* black-framed white wells. Items are square and full width.
|
|
472
|
+
*/
|
|
473
|
+
:root .rui-select__listbox .rui-listbox,
|
|
474
|
+
:root .rui-combobox__listbox .rui-listbox {
|
|
475
|
+
background-color: transparent;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:root .rui-listbox {
|
|
479
|
+
gap: 0;
|
|
480
|
+
padding: 1px;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
:root .rui-listbox--bordered {
|
|
484
|
+
@apply rounded-none;
|
|
485
|
+
border-color: var(--macos-classic-dark);
|
|
486
|
+
background-color: var(--macos-classic-field);
|
|
487
|
+
color: var(--macos-classic-field-text);
|
|
488
|
+
box-shadow: none;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
:root .rui-listbox__option,
|
|
492
|
+
:root .rui-menu-button__item,
|
|
493
|
+
:root .rui-menubar__item,
|
|
494
|
+
:root .rui-menubar__menu-item,
|
|
495
|
+
:root .rui-tree__node,
|
|
496
|
+
:root .rui-calendar__day {
|
|
497
|
+
border-radius: 0;
|
|
498
|
+
background-image: none;
|
|
499
|
+
transition: none;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
:root .rui-listbox__option[aria-selected='true'][data-active]:not([aria-disabled='true']) {
|
|
503
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Platinum highlights the item under the pointer, and an open menu title, in the selection color with white text.
|
|
508
|
+
*/
|
|
509
|
+
:root .rui-menu-button__item:is(:hover, :focus-visible):not([aria-disabled='true']),
|
|
510
|
+
:root .rui-menubar__menu-item:is(:hover, :focus-visible):not(:disabled):not([aria-disabled='true']),
|
|
511
|
+
:root .rui-menubar__menu-item[aria-expanded='true'],
|
|
512
|
+
:root .rui-menubar__item:is([aria-expanded='true'], :active):not(:disabled):not([aria-disabled='true']),
|
|
513
|
+
:root .rui-listbox__option[data-active]:not([aria-selected='true']):not([aria-disabled='true']) {
|
|
514
|
+
background-color: var(--macos-classic-selection);
|
|
515
|
+
color: var(--macos-classic-selection-text);
|
|
516
|
+
box-shadow: none;
|
|
517
|
+
outline: none;
|
|
518
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* The menu bar is a face-colored strip with a black rule underneath.
|
|
523
|
+
*/
|
|
524
|
+
:root .rui-menubar {
|
|
525
|
+
@apply rounded-none;
|
|
526
|
+
gap: 0;
|
|
527
|
+
padding: 0 0.25rem;
|
|
528
|
+
border: 0;
|
|
529
|
+
border-bottom: 1px solid var(--macos-classic-dark);
|
|
530
|
+
background-color: var(--macos-classic-face);
|
|
531
|
+
box-shadow: inset 0 1px 0 var(--macos-classic-light);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
:root .rui-menubar__item {
|
|
535
|
+
@apply font-normal;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
:root .rui-menubar__item:hover:not(:disabled):not([aria-disabled='true']):not([aria-expanded='true']) {
|
|
539
|
+
background-color: transparent;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @remarks Help balloons are black-outlined white panels with a drop edge, unlike the inverted modern tooltip.
|
|
544
|
+
*/
|
|
545
|
+
:root .rui-tooltip__content {
|
|
546
|
+
--rui-tooltip-radius: 0;
|
|
547
|
+
--rui-tooltip-surface: var(--macos-classic-field);
|
|
548
|
+
--rui-tooltip-color: var(--macos-classic-field-text);
|
|
549
|
+
--rui-tooltip-shadow: 0 0 0 1px var(--macos-classic-dark), 2px 2px 0 rgb(0 0 0 / 0.3);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Tags are small bevelled faces in a black frame; a selected tag takes the selection color.
|
|
554
|
+
*/
|
|
555
|
+
:root .rui-tag {
|
|
556
|
+
@apply rounded-sm;
|
|
557
|
+
border-color: var(--macos-classic-dark);
|
|
558
|
+
background-color: var(--macos-classic-face);
|
|
559
|
+
background-image: none;
|
|
560
|
+
color: var(--macos-classic-text);
|
|
561
|
+
box-shadow: var(--macos-classic-bevel);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
:root .rui-tag[aria-selected='true'] {
|
|
565
|
+
border-color: var(--macos-classic-dark);
|
|
566
|
+
background-color: var(--macos-classic-selection);
|
|
567
|
+
color: var(--macos-classic-selection-text);
|
|
568
|
+
box-shadow: none;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
:root .rui-tag__remove {
|
|
572
|
+
@apply rounded-none;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Finder-style trees: a black-framed white well, no guide lines, and solid disclosure triangles.
|
|
577
|
+
*/
|
|
578
|
+
:root .rui-tree {
|
|
579
|
+
@apply rounded-none;
|
|
580
|
+
border-color: var(--macos-classic-dark);
|
|
581
|
+
background-color: var(--macos-classic-field);
|
|
582
|
+
color: var(--macos-classic-field-text);
|
|
583
|
+
box-shadow: none;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
:root .rui-tree ul {
|
|
587
|
+
border-left: 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
:root .rui-tree__node {
|
|
591
|
+
color: var(--macos-classic-field-text);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
:root .rui-tree__node:hover:not([aria-selected='true']) {
|
|
595
|
+
background-color: transparent;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @remarks Disclosure buttons use the Platinum triangle: pointing right when closed and down when open.
|
|
600
|
+
*/
|
|
601
|
+
:root .rui-disclosure__icon--chevron > * {
|
|
602
|
+
display: none;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
:root .rui-disclosure__icon--chevron::before {
|
|
606
|
+
content: '';
|
|
607
|
+
border-block: 4px solid transparent;
|
|
608
|
+
border-inline-start: 6px solid var(--macos-classic-text);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
:root .rui-disclosure__icon--chevron,
|
|
612
|
+
:root .rui-disclosure__trigger[aria-expanded='true'] .rui-disclosure__icon--chevron {
|
|
613
|
+
transition: none;
|
|
614
|
+
transform: none;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
:root .rui-disclosure__trigger[aria-expanded='true'] .rui-disclosure__icon--chevron {
|
|
618
|
+
transform: rotate(90deg);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
:root .rui-disclosure__trigger:hover {
|
|
622
|
+
background-color: transparent;
|
|
623
|
+
}
|
|
624
|
+
|
|
459
625
|
:root .rui-listbox__option[aria-selected='true'],
|
|
460
626
|
:root .rui-menu-button__item[aria-checked='true'],
|
|
461
627
|
:root .rui-menubar__menu-item[aria-checked='true'],
|
|
462
628
|
:root .rui-tree__node[aria-selected='true'],
|
|
463
629
|
:root .rui-calendar__day[aria-selected='true'],
|
|
464
630
|
:root .rui-sidebar__menu-button--active,
|
|
631
|
+
:root .rui-sidebar__menu-button[aria-current='page'],
|
|
465
632
|
:root .rui-navigation-menu__link-list a[aria-current='page'] {
|
|
466
633
|
background-color: var(--macos-classic-selection);
|
|
467
634
|
color: var(--macos-classic-selection-text);
|
|
468
635
|
}
|
|
469
636
|
|
|
470
|
-
|
|
637
|
+
/**
|
|
638
|
+
* List views: a black-framed white well with Platinum column headers, bevelled face cells over a black rule.
|
|
639
|
+
*/
|
|
640
|
+
:root rui-table,
|
|
471
641
|
:root .rui-grid {
|
|
642
|
+
border-radius: 0;
|
|
643
|
+
border-color: var(--macos-classic-dark);
|
|
644
|
+
box-shadow: none;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
:root .rui-table__cell,
|
|
648
|
+
:root .rui-table__selection-cell,
|
|
649
|
+
:root .rui-table__empty-state,
|
|
650
|
+
:root .rui-table__empty-state-spacer,
|
|
651
|
+
:root .rui-grid__cell {
|
|
652
|
+
border-color: var(--macos-classic-mid);
|
|
472
653
|
background-color: var(--macos-classic-field);
|
|
473
654
|
color: var(--macos-classic-field-text);
|
|
474
655
|
}
|
|
475
656
|
|
|
476
|
-
:root .rui-
|
|
477
|
-
:root .rui-
|
|
478
|
-
:root .rui-
|
|
657
|
+
:root .rui-table__column,
|
|
658
|
+
:root .rui-grid__row:first-child .rui-grid__cell,
|
|
659
|
+
:root .rui-treegrid__row--header .rui-treegrid__cell {
|
|
479
660
|
@apply font-normal;
|
|
661
|
+
border-right: 1px solid var(--macos-classic-shadow);
|
|
662
|
+
border-bottom: 1px solid var(--macos-classic-dark);
|
|
480
663
|
background-color: var(--macos-classic-face);
|
|
481
|
-
|
|
664
|
+
color: var(--macos-classic-text);
|
|
665
|
+
box-shadow: var(--macos-classic-bevel);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
:root .rui-table__column .rui-table__sort {
|
|
669
|
+
@apply font-normal;
|
|
670
|
+
color: var(--macos-classic-text);
|
|
482
671
|
}
|
|
483
672
|
|
|
484
|
-
:root .rui-
|
|
485
|
-
|
|
486
|
-
background-color: var(--macos-classic-
|
|
487
|
-
|
|
488
|
-
background-blend-mode: soft-light;
|
|
673
|
+
:root .rui-calendar__weekdays {
|
|
674
|
+
@apply font-normal;
|
|
675
|
+
background-color: var(--macos-classic-face);
|
|
676
|
+
box-shadow: var(--macos-classic-raised);
|
|
489
677
|
}
|
|
490
678
|
|
|
491
679
|
/**
|
|
@@ -493,10 +681,11 @@
|
|
|
493
681
|
* The disclosure glyph stays a solid triangle, matching the original Finder tree affordance.
|
|
494
682
|
*/
|
|
495
683
|
:root .rui-treegrid {
|
|
496
|
-
@apply rounded-none
|
|
684
|
+
@apply rounded-none;
|
|
685
|
+
border: 1px solid var(--macos-classic-dark);
|
|
497
686
|
background-color: var(--macos-classic-field);
|
|
498
687
|
color: var(--macos-classic-field-text);
|
|
499
|
-
box-shadow:
|
|
688
|
+
box-shadow: none;
|
|
500
689
|
--rui-treegrid-indent: 0.875rem;
|
|
501
690
|
}
|
|
502
691
|
|
|
@@ -505,13 +694,6 @@
|
|
|
505
694
|
color: var(--macos-classic-field-text);
|
|
506
695
|
}
|
|
507
696
|
|
|
508
|
-
:root .rui-treegrid__row--header .rui-treegrid__cell {
|
|
509
|
-
@apply font-normal;
|
|
510
|
-
background-color: var(--macos-classic-face);
|
|
511
|
-
color: var(--macos-classic-text);
|
|
512
|
-
box-shadow: var(--macos-classic-raised-thin);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
697
|
:root .rui-treegrid__row:not(.rui-treegrid__row--header):hover .rui-treegrid__cell:not([aria-selected='true']) {
|
|
516
698
|
background-color: var(--macos-classic-container);
|
|
517
699
|
}
|
|
@@ -538,7 +720,7 @@
|
|
|
538
720
|
}
|
|
539
721
|
|
|
540
722
|
:root .rui-alert,
|
|
541
|
-
:root .rui-
|
|
723
|
+
:root .rui-toast {
|
|
542
724
|
@apply rounded-none text-on-surface;
|
|
543
725
|
border: 1px solid var(--macos-classic-dark);
|
|
544
726
|
background-color: var(--macos-classic-surface);
|
|
@@ -547,6 +729,33 @@
|
|
|
547
729
|
1px 1px 0 var(--macos-classic-dark);
|
|
548
730
|
}
|
|
549
731
|
|
|
732
|
+
:root .rui-toast {
|
|
733
|
+
background-image: none;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
:root .rui-toast--info .rui-toast__icon {
|
|
737
|
+
color: var(--macos-classic-blue);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
:root .rui-toast--success .rui-toast__icon {
|
|
741
|
+
color: var(--macos-classic-green);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:root .rui-toast--warning .rui-toast__icon {
|
|
745
|
+
color: var(--macos-classic-amber);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
:root .rui-toast--error .rui-toast__icon {
|
|
749
|
+
color: var(--macos-classic-red);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
:root .rui-toast__close {
|
|
753
|
+
border-color: var(--macos-classic-dark);
|
|
754
|
+
background-color: var(--macos-classic-face);
|
|
755
|
+
color: var(--macos-classic-text);
|
|
756
|
+
box-shadow: var(--macos-classic-bevel);
|
|
757
|
+
}
|
|
758
|
+
|
|
550
759
|
:root .rui-alert--inline.rui-alert--dismissible {
|
|
551
760
|
padding-inline-start: 2.5rem;
|
|
552
761
|
}
|
|
@@ -576,20 +785,41 @@
|
|
|
576
785
|
}
|
|
577
786
|
|
|
578
787
|
:root .rui-badge,
|
|
579
|
-
:root .rui-chip
|
|
580
|
-
:root .rui-pagination__link {
|
|
788
|
+
:root .rui-chip {
|
|
581
789
|
@apply rounded-sm text-on-surface;
|
|
582
790
|
border: 1px solid var(--macos-classic-dark);
|
|
583
791
|
background-color: var(--macos-classic-face);
|
|
584
792
|
box-shadow: var(--macos-classic-raised);
|
|
585
793
|
}
|
|
586
794
|
|
|
795
|
+
:root .rui-pagination__link {
|
|
796
|
+
min-width: 0;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
:root .rui-calendar {
|
|
800
|
+
--radius-control: 0;
|
|
801
|
+
}
|
|
802
|
+
|
|
587
803
|
:root .rui-separator,
|
|
588
804
|
:root .rui-sidebar__separator {
|
|
589
805
|
background-color: var(--macos-classic-shadow);
|
|
590
806
|
box-shadow: 0 1px 0 var(--macos-classic-light);
|
|
591
807
|
}
|
|
592
808
|
|
|
809
|
+
:root .rui-slider {
|
|
810
|
+
--rui-slider-track-size: 0.3125rem;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
:root .rui-slider__thumb {
|
|
814
|
+
inline-size: 0.6875rem;
|
|
815
|
+
block-size: 1.125rem;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
:root .rui-slider--vertical .rui-slider__thumb {
|
|
819
|
+
inline-size: 1.125rem;
|
|
820
|
+
block-size: 0.6875rem;
|
|
821
|
+
}
|
|
822
|
+
|
|
593
823
|
:root .rui-slider__thumb,
|
|
594
824
|
:root .rui-number-field__stepper {
|
|
595
825
|
@apply rounded-sm;
|
|
@@ -607,9 +837,17 @@
|
|
|
607
837
|
box-shadow: var(--macos-classic-well);
|
|
608
838
|
}
|
|
609
839
|
|
|
840
|
+
:root .rui-meter__track {
|
|
841
|
+
background-color: var(--macos-classic-container);
|
|
842
|
+
}
|
|
843
|
+
|
|
610
844
|
:root .rui-meter__fill {
|
|
611
845
|
@apply rounded-none;
|
|
612
846
|
background-color: var(--macos-classic-selection);
|
|
847
|
+
box-shadow:
|
|
848
|
+
inset 0 1px 0 rgb(255 255 255 / 0.45),
|
|
849
|
+
inset 0 -1px 0 rgb(0 0 0 / 0.3),
|
|
850
|
+
1px 0 0 var(--macos-classic-dark);
|
|
613
851
|
}
|
|
614
852
|
|
|
615
853
|
:root .rui-slider__range-fill {
|