@admin-layout/tailwind-design-pro 12.2.4-alpha.39 → 12.2.4-alpha.40

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.
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/utils/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;;GAMzB,CAAC;AAGF,eAAO,MAAM,YAAY;;;GAmBxB,CAAC;AAGF,eAAO,MAAM,eAAe,OAAO,CAAC;AAGpC,eAAO,MAAM,0BAA0B,sIACgG,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/SettingDrawer/utils/constants.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;;GAOzB,CAAC;AAGF,eAAO,MAAM,YAAY;;;GAmBxB,CAAC;AAGF,eAAO,MAAM,eAAe,OAAO,CAAC;AAGpC,eAAO,MAAM,0BAA0B,sIACgG,CAAC"}
@@ -14,6 +14,9 @@ const THEME_OPTIONS = [{
14
14
  }, {
15
15
  key: 'spotify',
16
16
  title: 'Spotify Theme'
17
+ }, {
18
+ key: 'yantra',
19
+ title: 'Yantra Theme'
17
20
  }];
18
21
  // Font options for the settings drawer
19
22
  const FONT_OPTIONS = [{
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../src/components/SettingDrawer/utils/constants.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACO,MAAM,aAAa,GAAG,CAAA;AACzB,EAAA,GAAA,WAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,UAAO;AACP,EAAA,OAAK;CACR,EAAC;AAEF,EAAA,GAAA,EAAA,OAAA;AACA,EAAA,KAAO,EAAA;AACH,CAAA,EAAA;AACA,EAAA,GAAA,UAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,WAAO;AACP,EAAA,OAAK;AACL,CAAA;AACA;AACO,MAAA,YAAA,GAAA,CAAA;AACP,EAAA,GAAA,uBAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,sBAAuB;AACvB,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,yBAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;EACF,GAAA,EAAA,wBAAA;AAEF,EAAA,KAAA,EAAA;AACA,CAAA,EAAA;AAEA,EAAA,GAAA,EAAA,kBAAwB;AACxB,EAAA,KAAO,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../src/components/SettingDrawer/utils/constants.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACO,MAAM,aAAa,GAAG,CAAA;AACzB,EAAA,GAAA,WAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,UAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;EACF,GAAA,EAAA,OAAA;AAEF,EAAA,KAAA,EAAA;AACA,CAAA,EAAA;AACI,EAAA,GAAA,UAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,WAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,UAAO;AACP,EAAA,OAAK;AACL,CAAA;AACA;AACO,MAAA,YAAA,GAAA,CAAA;AACP,EAAA,GAAA,uBAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,sBAAO;AACP,EAAA,OAAK;AACL,CAAA,EAAA;AACA,EAAA,GAAA,yBAAO;EACT,KAAA,EAAA;AAEF,CAAA,EAAA;AACA,EAAA,GAAA,EAAO,wBAAwB;AAE/B,EAAA,KAAA,EAAA;AACA,CAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -492,8 +492,290 @@
492
492
  --table-header: 141 10% 96%;
493
493
  --code-background: 141 10% 96%;
494
494
  }
495
+
496
+ /* Yantra Theme - Default (Dark)
497
+ Scene: AI engineer iterating on agentic workflows late evening on a 32"
498
+ monitor in a warm-lit home office. Warm blue-charcoal surface, amber-gold
499
+ signal color. Committed color strategy; neutrals tinted toward brand hue. */
500
+ [data-theme="yantra"] {
501
+ --background: 222 18% 9%;
502
+ --foreground: 38 30% 94%;
503
+ --card: 222 16% 12%;
504
+ --card-foreground: 38 30% 94%;
505
+ --popover: 222 16% 12%;
506
+ --popover-foreground: 38 30% 94%;
507
+ --primary: 38 92% 58%;
508
+ --primary-foreground: 222 30% 8%;
509
+ --secondary: 222 14% 17%;
510
+ --secondary-foreground: 38 30% 94%;
511
+ --muted: 222 14% 17%;
512
+ --muted-foreground: 222 10% 65%;
513
+ --accent: 222 14% 20%;
514
+ --accent-foreground: 38 92% 64%;
515
+ --destructive: 0 72% 55%;
516
+ --destructive-foreground: 38 30% 96%;
517
+ --border: 222 14% 20%;
518
+ --input: 222 14% 20%;
519
+ --ring: 38 92% 58%;
520
+ --radius: 0.625rem;
521
+
522
+ --brand-primary: 38 92% 58%;
523
+ --brand-secondary: 222 14% 17%;
524
+ --brand-accent: 38 80% 70%;
525
+
526
+ --success: 152 60% 45%;
527
+ --warning: 38 92% 58%;
528
+ --error: 0 72% 55%;
529
+ --info: 200 80% 55%;
530
+
531
+ --gradient-primary: linear-gradient(135deg, hsl(38 92% 58%), hsl(28 92% 52%));
532
+ --gradient-secondary: linear-gradient(135deg, hsl(222 14% 17%), hsl(222 14% 22%));
533
+ --gradient-brand: linear-gradient(135deg, hsl(38 92% 58%), hsl(14 80% 56%));
534
+
535
+ --shadow-sm: 0 1px 2px 0 hsl(222 30% 4% / 0.4);
536
+ --shadow-md: 0 4px 12px -2px hsl(222 30% 4% / 0.45);
537
+ --shadow-lg: 0 12px 32px -8px hsl(222 30% 4% / 0.55);
538
+ --shadow-xl: 0 24px 48px -12px hsl(222 30% 4% / 0.65);
539
+
540
+ --sidebar-background: 222 18% 7%;
541
+ --sidebar-foreground: 38 30% 94%;
542
+ --sidebar-border: 222 14% 14%;
543
+ --modal-backdrop: 222 30% 4% / 0.85;
544
+ --dropdown-background: 222 16% 12%;
545
+ --table-header: 222 14% 14%;
546
+ --code-background: 222 18% 7%;
547
+ }
548
+
549
+ /* Yantra Theme - Light Mode */
550
+ [data-theme="yantra"].light {
551
+ --background: 38 30% 98%;
552
+ --foreground: 222 30% 12%;
553
+ --card: 0 0% 100%;
554
+ --card-foreground: 222 30% 12%;
555
+ --popover: 0 0% 100%;
556
+ --popover-foreground: 222 30% 12%;
557
+ --primary: 28 88% 48%;
558
+ --primary-foreground: 38 30% 98%;
559
+ --secondary: 38 30% 95%;
560
+ --secondary-foreground: 222 30% 12%;
561
+ --muted: 38 22% 94%;
562
+ --muted-foreground: 222 14% 42%;
563
+ --accent: 38 60% 92%;
564
+ --accent-foreground: 28 88% 38%;
565
+ --destructive: 0 72% 50%;
566
+ --destructive-foreground: 38 30% 98%;
567
+ --border: 38 18% 88%;
568
+ --input: 38 18% 88%;
569
+ --ring: 28 88% 48%;
570
+
571
+ --brand-primary: 28 88% 48%;
572
+ --brand-secondary: 38 30% 95%;
573
+ --brand-accent: 38 92% 58%;
574
+
575
+ --gradient-primary: linear-gradient(135deg, hsl(28 88% 48%), hsl(14 80% 50%));
576
+ --gradient-secondary: linear-gradient(135deg, hsl(38 30% 95%), hsl(38 30% 92%));
577
+ --gradient-brand: linear-gradient(135deg, hsl(38 92% 58%), hsl(14 80% 56%));
578
+
579
+ --shadow-sm: 0 1px 2px 0 hsl(28 60% 30% / 0.06);
580
+ --shadow-md: 0 4px 12px -2px hsl(28 60% 30% / 0.1);
581
+ --shadow-lg: 0 12px 32px -8px hsl(28 60% 30% / 0.12);
582
+ --shadow-xl: 0 24px 48px -12px hsl(28 60% 30% / 0.16);
583
+
584
+ --sidebar-background: 38 30% 96%;
585
+ --sidebar-foreground: 222 30% 12%;
586
+ --sidebar-border: 38 18% 88%;
587
+ --modal-backdrop: 222 30% 12% / 0.7;
588
+ --dropdown-background: 0 0% 100%;
589
+ --table-header: 38 22% 94%;
590
+ --code-background: 38 22% 94%;
591
+ }
592
+
593
+ /* ─────────────────────────────────────────────────────────────
594
+ Yantra Editorial Layer — shared design system for marketing
595
+ and impeccable product surfaces (pricing, operator, landing,
596
+ gallery, etc.). Tokens use OKLCH; classes are unscoped so any
597
+ page can opt-in by writing `<div className="y-display">`.
598
+
599
+ Brand register: warm cream + persimmon accent, Josefin Sans
600
+ for display, ui-monospace for captions. Tinted neutrals (no
601
+ pure black/white). Animation easing committed to one curve.
602
+ ───────────────────────────────────────────────────────────── */
603
+ :root {
604
+ --y-cream: oklch(0.97 0.012 60);
605
+ --y-cream-2: oklch(0.94 0.014 60);
606
+ --y-cream-3: oklch(0.91 0.014 60);
607
+ --y-ink: oklch(0.18 0.012 60);
608
+ --y-ink-2: oklch(0.32 0.013 60);
609
+ --y-mute: oklch(0.55 0.012 60);
610
+ --y-rule: oklch(0.86 0.012 60);
611
+ --y-rule-2: oklch(0.78 0.012 60);
612
+ --y-accent: oklch(0.66 0.19 38);
613
+ --y-accent-ink: oklch(0.32 0.13 38);
614
+ --y-ease: cubic-bezier(0.16, 1, 0.3, 1);
615
+ --y-font-display: 'Josefin Sans', ui-sans-serif, system-ui, sans-serif;
616
+ --y-font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
617
+ }
618
+
619
+ [data-theme="yantra"].dark,
620
+ [data-theme="yantra"]:not(.light) {
621
+ /* Inverted editorial palette for dark surfaces — same accent. */
622
+ --y-cream: oklch(0.20 0.013 60);
623
+ --y-cream-2: oklch(0.24 0.013 60);
624
+ --y-cream-3: oklch(0.28 0.013 60);
625
+ --y-ink: oklch(0.96 0.010 60);
626
+ --y-ink-2: oklch(0.82 0.010 60);
627
+ --y-mute: oklch(0.62 0.010 60);
628
+ --y-rule: oklch(0.32 0.010 60);
629
+ --y-rule-2: oklch(0.40 0.010 60);
630
+ --y-accent: oklch(0.74 0.18 38);
631
+ --y-accent-ink: oklch(0.86 0.16 38);
632
+ }
633
+ }
634
+
635
+ /* Yantra editorial — surface + typography utilities (unscoped) */
636
+ @layer components {
637
+ .y-surface {
638
+ background: var(--y-cream);
639
+ color: var(--y-ink);
640
+ font-feature-settings: 'ss01', 'cv01', 'cv11';
641
+ }
642
+
643
+ .y-display {
644
+ font-family: var(--y-font-display);
645
+ font-weight: 200;
646
+ font-size: clamp(2.5rem, 6.5vw, 6rem);
647
+ line-height: 0.95;
648
+ letter-spacing: -0.035em;
649
+ color: var(--y-ink);
650
+ }
651
+ .y-display em {
652
+ font-style: italic;
653
+ font-weight: 300;
654
+ color: var(--y-accent);
655
+ }
656
+ .y-display .y-period { color: var(--y-accent); }
657
+
658
+ .y-prose {
659
+ font-family: var(--y-font-display);
660
+ font-weight: 300;
661
+ font-size: clamp(1.4rem, 2.4vw, 2rem);
662
+ line-height: 1.4;
663
+ letter-spacing: -0.005em;
664
+ color: var(--y-ink);
665
+ }
666
+ .y-prose em { font-style: italic; color: var(--y-accent-ink); }
667
+
668
+ .y-lede {
669
+ font-family: var(--y-font-display);
670
+ font-weight: 300;
671
+ font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
672
+ line-height: 1.55;
673
+ color: var(--y-ink-2);
674
+ max-width: 56ch;
675
+ }
676
+ .y-lede em { font-style: italic; color: var(--y-accent); }
677
+
678
+ .y-mono {
679
+ font-family: var(--y-font-mono);
680
+ font-size: 0.72rem;
681
+ letter-spacing: 0.14em;
682
+ text-transform: uppercase;
683
+ color: var(--y-mute);
684
+ }
685
+
686
+ .y-num {
687
+ font-family: var(--y-font-display);
688
+ font-weight: 200;
689
+ font-size: clamp(2.5rem, 4vw, 3.75rem);
690
+ line-height: 0.9;
691
+ letter-spacing: -0.02em;
692
+ color: var(--y-ink);
693
+ }
694
+
695
+ .y-rule { height: 1px; background: var(--y-rule); border: 0; }
696
+ .y-dot {
697
+ width: 0.4rem;
698
+ height: 0.4rem;
699
+ border-radius: 50%;
700
+ background: var(--y-accent);
701
+ display: inline-block;
702
+ }
703
+
704
+ /* Section grid — paired meta column + content column */
705
+ .y-section { border-top: 1px solid var(--y-rule); }
706
+ .y-section-head {
707
+ display: grid;
708
+ grid-template-columns: 1fr;
709
+ gap: 0.5rem;
710
+ padding-top: clamp(2rem, 5vw, 3.5rem);
711
+ padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
712
+ }
713
+ @media (min-width: 768px) {
714
+ .y-section-head { grid-template-columns: 5fr 7fr; gap: 2rem; }
715
+ }
716
+ .y-section-num {
717
+ font-family: var(--y-font-mono);
718
+ font-size: 0.72rem;
719
+ letter-spacing: 0.16em;
720
+ text-transform: uppercase;
721
+ color: var(--y-mute);
722
+ }
723
+ .y-section-title {
724
+ font-family: var(--y-font-display);
725
+ font-weight: 300;
726
+ font-size: clamp(1.75rem, 3vw, 2.5rem);
727
+ line-height: 1.05;
728
+ letter-spacing: -0.02em;
729
+ color: var(--y-ink);
730
+ }
731
+ .y-section-title em { font-style: italic; color: var(--y-accent); }
732
+ .y-section-desc {
733
+ font-size: 1rem;
734
+ line-height: 1.6;
735
+ color: var(--y-ink-2);
736
+ max-width: 60ch;
737
+ margin-top: 0.75rem;
738
+ }
739
+
740
+ /* Reveal animation — committed to one easing curve */
741
+ .y-reveal {
742
+ opacity: 0;
743
+ transform: translateY(0.6rem);
744
+ animation: y-reveal 1100ms var(--y-ease) forwards;
745
+ }
746
+ .y-reveal[data-d="1"] { animation-delay: 80ms; }
747
+ .y-reveal[data-d="2"] { animation-delay: 160ms; }
748
+ .y-reveal[data-d="3"] { animation-delay: 240ms; }
749
+ .y-reveal[data-d="4"] { animation-delay: 320ms; }
750
+ .y-reveal[data-d="5"] { animation-delay: 440ms; }
751
+ @keyframes y-reveal {
752
+ to { opacity: 1; transform: translateY(0); }
753
+ }
754
+ @media (prefers-reduced-motion: reduce) {
755
+ .y-reveal { opacity: 1; transform: none; animation: none; }
756
+ }
757
+
758
+ /* Capability ticker — for spec lists */
759
+ .y-ticker {
760
+ font-family: var(--y-font-mono);
761
+ font-size: 0.72rem;
762
+ letter-spacing: 0.06em;
763
+ text-transform: uppercase;
764
+ color: var(--y-ink-2);
765
+ }
766
+ .y-ticker-row {
767
+ display: flex;
768
+ align-items: baseline;
769
+ justify-content: space-between;
770
+ gap: 1rem;
771
+ padding: 0.7rem 0;
772
+ border-top: 1px solid var(--y-rule);
773
+ }
774
+ .y-ticker-row:last-child { border-bottom: 1px solid var(--y-rule); }
775
+ .y-ticker-row .y-ticker-id { color: var(--y-mute); }
495
776
  }
496
777
 
778
+
497
779
  @layer base {
498
780
  * {
499
781
  @apply border-border;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/tailwind-design-pro",
3
- "version": "12.2.4-alpha.39",
3
+ "version": "12.2.4-alpha.40",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -55,5 +55,5 @@
55
55
  "typescript": {
56
56
  "definition": "lib/index.d.ts"
57
57
  },
58
- "gitHead": "c6059313e412eae73ba479dd483456eafd730b90"
58
+ "gitHead": "7b980dc331b185c046086a3eb333093337159a40"
59
59
  }