@astryxdesign/theme-gothic 0.7.17-canary.g5a3fd39 → 0.7.17-canary.g5cf5d69
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/dist/gothic.js +317 -0
- package/dist/gothicPaletteRefs.generated.d.ts +16 -15
- package/dist/gothicPaletteRefs.generated.d.ts.map +1 -1
- package/dist/gothicTheme.d.ts.map +1 -1
- package/dist/source.cjs +99 -7
- package/dist/source.mjs +99 -7
- package/dist/theme.css +287 -0
- package/package.json +3 -3
- package/src/gothicPaletteRefs.generated.ts +3 -3
- package/src/gothicTheme.ts +114 -4
package/dist/gothic.js
CHANGED
|
@@ -338,6 +338,11 @@ export const gothicTheme = {
|
|
|
338
338
|
"borderColor": "transparent",
|
|
339
339
|
"borderWidth": "0"
|
|
340
340
|
}
|
|
341
|
+
},
|
|
342
|
+
"variant:input": {
|
|
343
|
+
"--color-text-primary": "#e8f1f6",
|
|
344
|
+
"--color-text-secondary": "#96a0ab",
|
|
345
|
+
"--color-text-accent": "#e8f1f6"
|
|
341
346
|
}
|
|
342
347
|
},
|
|
343
348
|
"multi-selector": {
|
|
@@ -348,6 +353,11 @@ export const gothicTheme = {
|
|
|
348
353
|
"borderColor": "transparent",
|
|
349
354
|
"borderWidth": "0"
|
|
350
355
|
}
|
|
356
|
+
},
|
|
357
|
+
"variant:input": {
|
|
358
|
+
"--color-text-primary": "#e8f1f6",
|
|
359
|
+
"--color-text-secondary": "#96a0ab",
|
|
360
|
+
"--color-text-accent": "#e8f1f6"
|
|
351
361
|
}
|
|
352
362
|
},
|
|
353
363
|
"complex-selector": {
|
|
@@ -410,43 +420,63 @@ export const gothicTheme = {
|
|
|
410
420
|
"padding": "var(--spacing-3)",
|
|
411
421
|
"borderRadius": "var(--radius-container)"
|
|
412
422
|
},
|
|
423
|
+
"variant:default": {
|
|
424
|
+
"--color-text-primary": "#e8f1f6",
|
|
425
|
+
"--color-text-secondary": "#a7b1bb",
|
|
426
|
+
"--color-text-accent": "#e8f1f6"
|
|
427
|
+
},
|
|
428
|
+
"variant:muted": {
|
|
429
|
+
"--color-text-primary": "#e8f1f6",
|
|
430
|
+
"--color-text-secondary": "#a7b1bb",
|
|
431
|
+
"--color-text-accent": "#e8f1f6"
|
|
432
|
+
},
|
|
413
433
|
"variant:blue": {
|
|
434
|
+
"--color-text-accent": "var(--color-text-blue)",
|
|
414
435
|
"--color-text-primary": "var(--color-text-blue)",
|
|
415
436
|
"--color-text-secondary": "var(--color-text-blue)"
|
|
416
437
|
},
|
|
417
438
|
"variant:cyan": {
|
|
439
|
+
"--color-text-accent": "var(--color-text-cyan)",
|
|
418
440
|
"--color-text-primary": "var(--color-text-cyan)",
|
|
419
441
|
"--color-text-secondary": "var(--color-text-cyan)"
|
|
420
442
|
},
|
|
421
443
|
"variant:gray": {
|
|
444
|
+
"--color-text-accent": "var(--color-text-gray)",
|
|
422
445
|
"--color-text-primary": "var(--color-text-gray)",
|
|
423
446
|
"--color-text-secondary": "var(--color-text-gray)"
|
|
424
447
|
},
|
|
425
448
|
"variant:green": {
|
|
449
|
+
"--color-text-accent": "var(--color-text-green)",
|
|
426
450
|
"--color-text-primary": "var(--color-text-green)",
|
|
427
451
|
"--color-text-secondary": "var(--color-text-green)"
|
|
428
452
|
},
|
|
429
453
|
"variant:orange": {
|
|
454
|
+
"--color-text-accent": "var(--color-text-orange)",
|
|
430
455
|
"--color-text-primary": "var(--color-text-orange)",
|
|
431
456
|
"--color-text-secondary": "var(--color-text-orange)"
|
|
432
457
|
},
|
|
433
458
|
"variant:pink": {
|
|
459
|
+
"--color-text-accent": "var(--color-text-pink)",
|
|
434
460
|
"--color-text-primary": "var(--color-text-pink)",
|
|
435
461
|
"--color-text-secondary": "var(--color-text-pink)"
|
|
436
462
|
},
|
|
437
463
|
"variant:purple": {
|
|
464
|
+
"--color-text-accent": "var(--color-text-purple)",
|
|
438
465
|
"--color-text-primary": "var(--color-text-purple)",
|
|
439
466
|
"--color-text-secondary": "var(--color-text-purple)"
|
|
440
467
|
},
|
|
441
468
|
"variant:red": {
|
|
469
|
+
"--color-text-accent": "var(--color-text-red)",
|
|
442
470
|
"--color-text-primary": "var(--color-text-red)",
|
|
443
471
|
"--color-text-secondary": "var(--color-text-red)"
|
|
444
472
|
},
|
|
445
473
|
"variant:teal": {
|
|
474
|
+
"--color-text-accent": "var(--color-text-teal)",
|
|
446
475
|
"--color-text-primary": "var(--color-text-teal)",
|
|
447
476
|
"--color-text-secondary": "var(--color-text-teal)"
|
|
448
477
|
},
|
|
449
478
|
"variant:yellow": {
|
|
479
|
+
"--color-text-accent": "var(--color-text-yellow)",
|
|
450
480
|
"--color-text-primary": "var(--color-text-yellow)",
|
|
451
481
|
"--color-text-secondary": "var(--color-text-yellow)"
|
|
452
482
|
}
|
|
@@ -454,12 +484,299 @@ export const gothicTheme = {
|
|
|
454
484
|
"section": {
|
|
455
485
|
"base": {
|
|
456
486
|
"padding": "var(--spacing-3)"
|
|
487
|
+
},
|
|
488
|
+
"variant:section": {
|
|
489
|
+
"--color-text-primary": "#e8f1f6",
|
|
490
|
+
"--color-text-secondary": "#96a0ab",
|
|
491
|
+
"--color-text-accent": "#e8f1f6"
|
|
492
|
+
},
|
|
493
|
+
"variant:muted": {
|
|
494
|
+
"--color-text-primary": "#e8f1f6",
|
|
495
|
+
"--color-text-secondary": "#96a0ab",
|
|
496
|
+
"--color-text-accent": "#e8f1f6"
|
|
457
497
|
}
|
|
458
498
|
},
|
|
459
499
|
"field": {
|
|
460
500
|
"base": {
|
|
461
501
|
"borderRadius": "var(--radius-element)"
|
|
462
502
|
}
|
|
503
|
+
},
|
|
504
|
+
"clickable-card": {
|
|
505
|
+
"variant:default": {
|
|
506
|
+
"--color-text-primary": "#e8f1f6",
|
|
507
|
+
"--color-text-secondary": "#96a0ab",
|
|
508
|
+
"--color-text-accent": "#e8f1f6"
|
|
509
|
+
},
|
|
510
|
+
"variant:muted": {
|
|
511
|
+
"--color-text-primary": "#e8f1f6",
|
|
512
|
+
"--color-text-secondary": "#96a0ab",
|
|
513
|
+
"--color-text-accent": "#e8f1f6"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"selectable-card": {
|
|
517
|
+
"variant:default": {
|
|
518
|
+
"--color-text-primary": "#e8f1f6",
|
|
519
|
+
"--color-text-secondary": "#96a0ab",
|
|
520
|
+
"--color-text-accent": "#e8f1f6"
|
|
521
|
+
},
|
|
522
|
+
"variant:muted": {
|
|
523
|
+
"--color-text-primary": "#e8f1f6",
|
|
524
|
+
"--color-text-secondary": "#96a0ab",
|
|
525
|
+
"--color-text-accent": "#e8f1f6"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"app-shell": {
|
|
529
|
+
"variant:surface": {
|
|
530
|
+
"--color-text-primary": "#e8f1f6",
|
|
531
|
+
"--color-text-secondary": "#96a0ab",
|
|
532
|
+
"--color-text-accent": "#e8f1f6"
|
|
533
|
+
},
|
|
534
|
+
"variant:section": {
|
|
535
|
+
"--color-text-primary": "#e8f1f6",
|
|
536
|
+
"--color-text-secondary": "#96a0ab",
|
|
537
|
+
"--color-text-accent": "#e8f1f6"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"app-shell-header": {
|
|
541
|
+
"variant:surface": {
|
|
542
|
+
"--color-text-primary": "#e8f1f6",
|
|
543
|
+
"--color-text-secondary": "#96a0ab",
|
|
544
|
+
"--color-text-accent": "#e8f1f6"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"app-shell-sidenav": {
|
|
548
|
+
"variant:surface": {
|
|
549
|
+
"--color-text-primary": "#e8f1f6",
|
|
550
|
+
"--color-text-secondary": "#96a0ab",
|
|
551
|
+
"--color-text-accent": "#e8f1f6"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"layout-panel": {
|
|
555
|
+
"base": {
|
|
556
|
+
"--color-text-primary": "#e8f1f6",
|
|
557
|
+
"--color-text-secondary": "#96a0ab",
|
|
558
|
+
"--color-text-accent": "#e8f1f6"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"layout-content": {
|
|
562
|
+
"base": {
|
|
563
|
+
"--color-text-primary": "#e8f1f6",
|
|
564
|
+
"--color-text-secondary": "#96a0ab",
|
|
565
|
+
"--color-text-accent": "#e8f1f6"
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"code": {
|
|
569
|
+
"base": {
|
|
570
|
+
"--color-text-primary": "#e8f1f6",
|
|
571
|
+
"--color-text-secondary": "#96a0ab",
|
|
572
|
+
"--color-text-accent": "#e8f1f6"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"avatar": {
|
|
576
|
+
"base": {
|
|
577
|
+
"--color-text-primary": "#e8f1f6",
|
|
578
|
+
"--color-text-secondary": "#96a0ab",
|
|
579
|
+
"--color-text-accent": "#e8f1f6"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"avatar-group-overflow": {
|
|
583
|
+
"base": {
|
|
584
|
+
"--color-text-primary": "#e8f1f6",
|
|
585
|
+
"--color-text-secondary": "#96a0ab",
|
|
586
|
+
"--color-text-accent": "#e8f1f6"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"segmented-control-item": {
|
|
590
|
+
"selected": {
|
|
591
|
+
"--color-text-primary": "#e8f1f6",
|
|
592
|
+
"--color-text-secondary": "#96a0ab",
|
|
593
|
+
"--color-text-accent": "#e8f1f6"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
"step-indicator": {
|
|
597
|
+
"progress:not-started": {
|
|
598
|
+
"--color-text-primary": "#e8f1f6",
|
|
599
|
+
"--color-text-secondary": "#96a0ab",
|
|
600
|
+
"--color-text-accent": "#e8f1f6"
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"table-row": {
|
|
604
|
+
"base": {
|
|
605
|
+
":nth-child(even of :not([data-expansion-panel]))": {
|
|
606
|
+
"--color-text-primary": "#e8f1f6",
|
|
607
|
+
"--color-text-secondary": "#96a0ab",
|
|
608
|
+
"--color-text-accent": "#e8f1f6",
|
|
609
|
+
"color": "var(--color-text-primary)"
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"banner-content": {
|
|
614
|
+
"base": {
|
|
615
|
+
"--color-text-primary": "#e8f1f6",
|
|
616
|
+
"--color-text-secondary": "#96a0ab",
|
|
617
|
+
"--color-text-accent": "#e8f1f6"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"input-group-text": {
|
|
621
|
+
"base": {
|
|
622
|
+
"--color-text-primary": "#e8f1f6",
|
|
623
|
+
"--color-text-secondary": "#96a0ab",
|
|
624
|
+
"--color-text-accent": "#e8f1f6"
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"text-input": {
|
|
628
|
+
"base": {
|
|
629
|
+
"--color-text-primary": "#e8f1f6",
|
|
630
|
+
"--color-text-secondary": "#96a0ab",
|
|
631
|
+
"--color-text-accent": "#e8f1f6"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
"text-area": {
|
|
635
|
+
"base": {
|
|
636
|
+
"--color-text-primary": "#e8f1f6",
|
|
637
|
+
"--color-text-secondary": "#96a0ab",
|
|
638
|
+
"--color-text-accent": "#e8f1f6"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"number-input": {
|
|
642
|
+
"base": {
|
|
643
|
+
"--color-text-primary": "#e8f1f6",
|
|
644
|
+
"--color-text-secondary": "#96a0ab",
|
|
645
|
+
"--color-text-accent": "#e8f1f6"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"date-input": {
|
|
649
|
+
"base": {
|
|
650
|
+
"--color-text-primary": "#e8f1f6",
|
|
651
|
+
"--color-text-secondary": "#96a0ab",
|
|
652
|
+
"--color-text-accent": "#e8f1f6"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"date-range-input": {
|
|
656
|
+
"base": {
|
|
657
|
+
"--color-text-primary": "#e8f1f6",
|
|
658
|
+
"--color-text-secondary": "#96a0ab",
|
|
659
|
+
"--color-text-accent": "#e8f1f6"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
"date-time-input-date-segment": {
|
|
663
|
+
"base": {
|
|
664
|
+
"--color-text-primary": "#e8f1f6",
|
|
665
|
+
"--color-text-secondary": "#96a0ab",
|
|
666
|
+
"--color-text-accent": "#e8f1f6"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"date-time-input-time-segment": {
|
|
670
|
+
"base": {
|
|
671
|
+
"--color-text-primary": "#e8f1f6",
|
|
672
|
+
"--color-text-secondary": "#96a0ab",
|
|
673
|
+
"--color-text-accent": "#e8f1f6"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
"time-input": {
|
|
677
|
+
"base": {
|
|
678
|
+
"--color-text-primary": "#e8f1f6",
|
|
679
|
+
"--color-text-secondary": "#96a0ab",
|
|
680
|
+
"--color-text-accent": "#e8f1f6"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"file-input": {
|
|
684
|
+
"base": {
|
|
685
|
+
"--color-text-primary": "#e8f1f6",
|
|
686
|
+
"--color-text-secondary": "#96a0ab",
|
|
687
|
+
"--color-text-accent": "#e8f1f6"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"typeahead": {
|
|
691
|
+
"base": {
|
|
692
|
+
"--color-text-primary": "#e8f1f6",
|
|
693
|
+
"--color-text-secondary": "#96a0ab",
|
|
694
|
+
"--color-text-accent": "#e8f1f6"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"tokenizer": {
|
|
698
|
+
"base": {
|
|
699
|
+
"--color-text-primary": "#e8f1f6",
|
|
700
|
+
"--color-text-secondary": "#96a0ab",
|
|
701
|
+
"--color-text-accent": "#e8f1f6"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"selector-popup": {
|
|
705
|
+
"base": {
|
|
706
|
+
"--color-text-primary": "#e8f1f6",
|
|
707
|
+
"--color-text-secondary": "#96a0ab",
|
|
708
|
+
"--color-text-accent": "#e8f1f6"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"multi-selector-popup": {
|
|
712
|
+
"base": {
|
|
713
|
+
"--color-text-primary": "#e8f1f6",
|
|
714
|
+
"--color-text-secondary": "#96a0ab",
|
|
715
|
+
"--color-text-accent": "#e8f1f6"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"dropdown-menu": {
|
|
719
|
+
"base": {
|
|
720
|
+
"--color-text-primary": "#e8f1f6",
|
|
721
|
+
"--color-text-secondary": "#96a0ab",
|
|
722
|
+
"--color-text-accent": "#e8f1f6"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"dropdown-menu-radio": {
|
|
726
|
+
"base": {
|
|
727
|
+
"--color-text-primary": "#e8f1f6",
|
|
728
|
+
"--color-text-secondary": "#96a0ab",
|
|
729
|
+
"--color-text-accent": "#e8f1f6"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"context-menu": {
|
|
733
|
+
"base": {
|
|
734
|
+
"--color-text-primary": "#e8f1f6",
|
|
735
|
+
"--color-text-secondary": "#96a0ab",
|
|
736
|
+
"--color-text-accent": "#e8f1f6"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"popover": {
|
|
740
|
+
"base": {
|
|
741
|
+
"--color-text-primary": "#e8f1f6",
|
|
742
|
+
"--color-text-secondary": "#96a0ab",
|
|
743
|
+
"--color-text-accent": "#e8f1f6"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
"hover-card": {
|
|
747
|
+
"base": {
|
|
748
|
+
"--color-text-primary": "#e8f1f6",
|
|
749
|
+
"--color-text-secondary": "#96a0ab",
|
|
750
|
+
"--color-text-accent": "#e8f1f6"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"dialog": {
|
|
754
|
+
"base": {
|
|
755
|
+
"--color-text-primary": "#e8f1f6",
|
|
756
|
+
"--color-text-secondary": "#96a0ab",
|
|
757
|
+
"--color-text-accent": "#e8f1f6"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"drawer": {
|
|
761
|
+
"base": {
|
|
762
|
+
"--color-text-primary": "#e8f1f6",
|
|
763
|
+
"--color-text-secondary": "#96a0ab",
|
|
764
|
+
"--color-text-accent": "#e8f1f6"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"bottom-sheet": {
|
|
768
|
+
"base": {
|
|
769
|
+
"--color-text-primary": "#e8f1f6",
|
|
770
|
+
"--color-text-secondary": "#96a0ab",
|
|
771
|
+
"--color-text-accent": "#e8f1f6"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"chat-composer-drawer": {
|
|
775
|
+
"base": {
|
|
776
|
+
"--color-text-primary": "#e8f1f6",
|
|
777
|
+
"--color-text-secondary": "#96a0ab",
|
|
778
|
+
"--color-text-accent": "#e8f1f6"
|
|
779
|
+
}
|
|
463
780
|
}
|
|
464
781
|
},
|
|
465
782
|
__onDark: {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
export declare const gothicPaletteRefs: {
|
|
2
|
+
readonly neutral: {
|
|
3
|
+
readonly dark: {
|
|
4
|
+
readonly 0: "#000000";
|
|
5
|
+
readonly 10: "#101314";
|
|
6
|
+
readonly 15: "#191d20";
|
|
7
|
+
readonly 20: "#24292d";
|
|
8
|
+
readonly 35: "#3e454b";
|
|
9
|
+
readonly 40: "#495056";
|
|
10
|
+
readonly 50: "#5e676e";
|
|
11
|
+
readonly 65: "#7e8791";
|
|
12
|
+
readonly 75: "#96a0ab";
|
|
13
|
+
readonly 80: "#a7b1bb";
|
|
14
|
+
readonly 95: "#e8f1f6";
|
|
15
|
+
readonly 100: "#ffffff";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
2
18
|
readonly purple: {
|
|
3
19
|
readonly dark: {
|
|
4
20
|
readonly 20: "#481b58";
|
|
@@ -19,21 +35,6 @@ export declare const gothicPaletteRefs: {
|
|
|
19
35
|
readonly 75: "#b3c79a";
|
|
20
36
|
};
|
|
21
37
|
};
|
|
22
|
-
readonly neutral: {
|
|
23
|
-
readonly dark: {
|
|
24
|
-
readonly 0: "#000000";
|
|
25
|
-
readonly 10: "#101314";
|
|
26
|
-
readonly 15: "#191d20";
|
|
27
|
-
readonly 20: "#24292d";
|
|
28
|
-
readonly 35: "#3e454b";
|
|
29
|
-
readonly 40: "#495056";
|
|
30
|
-
readonly 50: "#5e676e";
|
|
31
|
-
readonly 65: "#7e8791";
|
|
32
|
-
readonly 75: "#96a0ab";
|
|
33
|
-
readonly 95: "#e8f1f6";
|
|
34
|
-
readonly 100: "#ffffff";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
38
|
readonly yellow: {
|
|
38
39
|
readonly dark: {
|
|
39
40
|
readonly 15: "#573f0b";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gothicPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/gothicPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"gothicPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/gothicPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC;AAEX,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gothicTheme.d.ts","sourceRoot":"","sources":["../src/gothicTheme.ts"],"names":[],"mappings":"AAgLA,eAAO,MAAM,WAAW,gEAiWtB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsQjB,CAAC"}
|
package/dist/source.cjs
CHANGED
|
@@ -70,15 +70,15 @@ var gothicIconRegistry = {
|
|
|
70
70
|
|
|
71
71
|
// src/gothicPaletteRefs.generated.ts
|
|
72
72
|
var gothicPaletteRefs = {
|
|
73
|
+
neutral: {
|
|
74
|
+
dark: { 0: "#000000", 10: "#101314", 15: "#191d20", 20: "#24292d", 35: "#3e454b", 40: "#495056", 50: "#5e676e", 65: "#7e8791", 75: "#96a0ab", 80: "#a7b1bb", 95: "#e8f1f6", 100: "#ffffff" }
|
|
75
|
+
},
|
|
73
76
|
purple: {
|
|
74
77
|
dark: { 20: "#481b58", 30: "#5a2370", 60: "#947da6", 75: "#b29bc4", 80: "#c39adb" }
|
|
75
78
|
},
|
|
76
79
|
green: {
|
|
77
80
|
dark: { 5: "#071607", 20: "#244023", 30: "#3a5e2c", 55: "#869b72", 60: "#96a880", 70: "#a3c987", 75: "#b3c79a" }
|
|
78
81
|
},
|
|
79
|
-
neutral: {
|
|
80
|
-
dark: { 0: "#000000", 10: "#101314", 15: "#191d20", 20: "#24292d", 35: "#3e454b", 40: "#495056", 50: "#5e676e", 65: "#7e8791", 75: "#96a0ab", 95: "#e8f1f6", 100: "#ffffff" }
|
|
81
|
-
},
|
|
82
82
|
yellow: {
|
|
83
83
|
dark: { 15: "#573f0b", 30: "#876515", 60: "#b6a775", 65: "#e6b85e", 70: "#dec074", 75: "#d3c490" }
|
|
84
84
|
},
|
|
@@ -105,6 +105,80 @@ var gothicPaletteRefs = {
|
|
|
105
105
|
// src/gothicTheme.ts
|
|
106
106
|
var { blue, cyan, green, neutral, orange, pink, purple, red, teal, yellow } = gothicPaletteRefs;
|
|
107
107
|
var withAlpha = (color, alpha) => `${color}${alpha}`;
|
|
108
|
+
var SURFACE_TEXT = {
|
|
109
|
+
"--color-text-primary": neutral.dark[95],
|
|
110
|
+
"--color-text-secondary": neutral.dark[75],
|
|
111
|
+
"--color-text-accent": neutral.dark[95]
|
|
112
|
+
};
|
|
113
|
+
var STRIPED_ROW = ":nth-child(even of :not([data-expansion-panel]))";
|
|
114
|
+
var OWN_FILL_RULES = [
|
|
115
|
+
["card", "variant:default"],
|
|
116
|
+
["card", "variant:muted"],
|
|
117
|
+
["clickable-card", "variant:default"],
|
|
118
|
+
["clickable-card", "variant:muted"],
|
|
119
|
+
["selectable-card", "variant:default"],
|
|
120
|
+
["selectable-card", "variant:muted"],
|
|
121
|
+
["section", "variant:section"],
|
|
122
|
+
["section", "variant:muted"],
|
|
123
|
+
["app-shell", "variant:surface"],
|
|
124
|
+
["app-shell", "variant:section"],
|
|
125
|
+
["app-shell-header", "variant:surface"],
|
|
126
|
+
["app-shell-sidenav", "variant:surface"],
|
|
127
|
+
["layout-panel", "base"],
|
|
128
|
+
["layout-content", "base"],
|
|
129
|
+
["code", "base"],
|
|
130
|
+
["avatar", "base"],
|
|
131
|
+
["avatar-group-overflow", "base"],
|
|
132
|
+
["segmented-control-item", "selected"],
|
|
133
|
+
["step-indicator", "progress:not-started"],
|
|
134
|
+
["table-row", "base", STRIPED_ROW],
|
|
135
|
+
["banner-content", "base"],
|
|
136
|
+
["input-group-text", "base"],
|
|
137
|
+
["text-input", "base"],
|
|
138
|
+
["text-area", "base"],
|
|
139
|
+
["number-input", "base"],
|
|
140
|
+
["date-input", "base"],
|
|
141
|
+
["date-range-input", "base"],
|
|
142
|
+
["date-time-input-date-segment", "base"],
|
|
143
|
+
["date-time-input-time-segment", "base"],
|
|
144
|
+
["time-input", "base"],
|
|
145
|
+
["file-input", "base"],
|
|
146
|
+
["typeahead", "base"],
|
|
147
|
+
["tokenizer", "base"],
|
|
148
|
+
["selector", "variant:input"],
|
|
149
|
+
["multi-selector", "variant:input"],
|
|
150
|
+
["selector-popup", "base"],
|
|
151
|
+
["multi-selector-popup", "base"],
|
|
152
|
+
["dropdown-menu", "base"],
|
|
153
|
+
["dropdown-menu-radio", "base"],
|
|
154
|
+
["context-menu", "base"],
|
|
155
|
+
["popover", "base"],
|
|
156
|
+
["hover-card", "base"],
|
|
157
|
+
["dialog", "base"],
|
|
158
|
+
["drawer", "base"],
|
|
159
|
+
["bottom-sheet", "base"],
|
|
160
|
+
["chat-composer-drawer", "base"]
|
|
161
|
+
];
|
|
162
|
+
function withOwnFillText(components) {
|
|
163
|
+
const out = { ...components };
|
|
164
|
+
for (const [part, key, selector] of OWN_FILL_RULES) {
|
|
165
|
+
const rule = out[part]?.[key] ?? {};
|
|
166
|
+
out[part] = {
|
|
167
|
+
...out[part],
|
|
168
|
+
[key]: selector ? {
|
|
169
|
+
...rule,
|
|
170
|
+
// A table sets its text color on its root, so a painted row
|
|
171
|
+
// sets it again as well as the tokens.
|
|
172
|
+
[selector]: {
|
|
173
|
+
...SURFACE_TEXT,
|
|
174
|
+
color: "var(--color-text-primary)",
|
|
175
|
+
...rule[selector] ?? {}
|
|
176
|
+
}
|
|
177
|
+
} : { ...SURFACE_TEXT, ...rule }
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
return out;
|
|
181
|
+
}
|
|
108
182
|
var gothicSyntax = (0, import_theme.defineSyntaxTheme)({
|
|
109
183
|
name: "astryx-gothic",
|
|
110
184
|
tokens: {
|
|
@@ -285,7 +359,7 @@ var gothicTheme = (0, import_theme.defineTheme)({
|
|
|
285
359
|
"--shadow-inset-warning": `inset 0 0 0 1px ${withAlpha(yellow.dark[75], "50")}`,
|
|
286
360
|
"--shadow-inset-error": `inset 0 0 0 1px ${withAlpha(red.dark[75], "50")}`
|
|
287
361
|
},
|
|
288
|
-
components: {
|
|
362
|
+
components: withOwnFillText({
|
|
289
363
|
button: {
|
|
290
364
|
"variant:secondary": SECONDARY_BUTTON,
|
|
291
365
|
"variant:ghost": {
|
|
@@ -301,8 +375,12 @@ var gothicTheme = (0, import_theme.defineTheme)({
|
|
|
301
375
|
}
|
|
302
376
|
},
|
|
303
377
|
// Secondary selector triggers match the secondary Button (AST-079 FR2).
|
|
304
|
-
selector: {
|
|
305
|
-
|
|
378
|
+
selector: {
|
|
379
|
+
"variant:secondary": SECONDARY_SELECTOR
|
|
380
|
+
},
|
|
381
|
+
"multi-selector": {
|
|
382
|
+
"variant:secondary": SECONDARY_SELECTOR
|
|
383
|
+
},
|
|
306
384
|
"complex-selector": { "variant:secondary": SECONDARY_BUTTON },
|
|
307
385
|
badge: {
|
|
308
386
|
base: {
|
|
@@ -356,45 +434,59 @@ var gothicTheme = (0, import_theme.defineTheme)({
|
|
|
356
434
|
padding: "var(--spacing-3)",
|
|
357
435
|
borderRadius: "var(--radius-container)"
|
|
358
436
|
},
|
|
437
|
+
// On the accent tint of a selected row or a numbered citation over the
|
|
438
|
+
// card's fill, secondary text needs the next stop.
|
|
439
|
+
"variant:default": { "--color-text-secondary": neutral.dark[80] },
|
|
440
|
+
"variant:muted": { "--color-text-secondary": neutral.dark[80] },
|
|
359
441
|
// Categorical variants — flip --color-text-primary so child
|
|
360
442
|
// XDSText labels stay readable against the dusty pastel bg.
|
|
361
443
|
"variant:blue": {
|
|
444
|
+
"--color-text-accent": "var(--color-text-blue)",
|
|
362
445
|
"--color-text-primary": "var(--color-text-blue)",
|
|
363
446
|
"--color-text-secondary": "var(--color-text-blue)"
|
|
364
447
|
},
|
|
365
448
|
"variant:cyan": {
|
|
449
|
+
"--color-text-accent": "var(--color-text-cyan)",
|
|
366
450
|
"--color-text-primary": "var(--color-text-cyan)",
|
|
367
451
|
"--color-text-secondary": "var(--color-text-cyan)"
|
|
368
452
|
},
|
|
369
453
|
"variant:gray": {
|
|
454
|
+
"--color-text-accent": "var(--color-text-gray)",
|
|
370
455
|
"--color-text-primary": "var(--color-text-gray)",
|
|
371
456
|
"--color-text-secondary": "var(--color-text-gray)"
|
|
372
457
|
},
|
|
373
458
|
"variant:green": {
|
|
459
|
+
"--color-text-accent": "var(--color-text-green)",
|
|
374
460
|
"--color-text-primary": "var(--color-text-green)",
|
|
375
461
|
"--color-text-secondary": "var(--color-text-green)"
|
|
376
462
|
},
|
|
377
463
|
"variant:orange": {
|
|
464
|
+
"--color-text-accent": "var(--color-text-orange)",
|
|
378
465
|
"--color-text-primary": "var(--color-text-orange)",
|
|
379
466
|
"--color-text-secondary": "var(--color-text-orange)"
|
|
380
467
|
},
|
|
381
468
|
"variant:pink": {
|
|
469
|
+
"--color-text-accent": "var(--color-text-pink)",
|
|
382
470
|
"--color-text-primary": "var(--color-text-pink)",
|
|
383
471
|
"--color-text-secondary": "var(--color-text-pink)"
|
|
384
472
|
},
|
|
385
473
|
"variant:purple": {
|
|
474
|
+
"--color-text-accent": "var(--color-text-purple)",
|
|
386
475
|
"--color-text-primary": "var(--color-text-purple)",
|
|
387
476
|
"--color-text-secondary": "var(--color-text-purple)"
|
|
388
477
|
},
|
|
389
478
|
"variant:red": {
|
|
479
|
+
"--color-text-accent": "var(--color-text-red)",
|
|
390
480
|
"--color-text-primary": "var(--color-text-red)",
|
|
391
481
|
"--color-text-secondary": "var(--color-text-red)"
|
|
392
482
|
},
|
|
393
483
|
"variant:teal": {
|
|
484
|
+
"--color-text-accent": "var(--color-text-teal)",
|
|
394
485
|
"--color-text-primary": "var(--color-text-teal)",
|
|
395
486
|
"--color-text-secondary": "var(--color-text-teal)"
|
|
396
487
|
},
|
|
397
488
|
"variant:yellow": {
|
|
489
|
+
"--color-text-accent": "var(--color-text-yellow)",
|
|
398
490
|
"--color-text-primary": "var(--color-text-yellow)",
|
|
399
491
|
"--color-text-secondary": "var(--color-text-yellow)"
|
|
400
492
|
}
|
|
@@ -422,7 +514,7 @@ var gothicTheme = (0, import_theme.defineTheme)({
|
|
|
422
514
|
fontFamily: '"Manufacturing Consent", "UnifrakturMaguntia", "Old English Text MT", serif'
|
|
423
515
|
}
|
|
424
516
|
}
|
|
425
|
-
},
|
|
517
|
+
}),
|
|
426
518
|
// Gothic's accent text and icons are one light color. On a media surface
|
|
427
519
|
// they follow that surface's accent, so a dark surface inside a light one
|
|
428
520
|
// gets its light accent back.
|