turbo-themes 0.37.0 → 0.38.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: beb57936ea9da7040d4fbde8b93212f09cb7ccf179bc74743e82d2922878b33b
4
- data.tar.gz: 3269649c5b18a3a9f03df38b6a7b9d2ee7bae01dbf1b6011d97011547e80e299
3
+ metadata.gz: 2627f88acd5363ff38cfe81d610e5cae56da4ec22b918f16169cdb5b539f1577
4
+ data.tar.gz: 44c6e7af9bdbdd904a4a728f847402ccc451d712eac8a82ee49bb1c6506b75db
5
5
  SHA512:
6
- metadata.gz: bb55379a16bab358c0d6ca9b9137c6483d691a5a3926257b553602daa5825d38edbe657ca2355fb7ed5ed3288b34e7dc511e4c0202b883650c1768585d293c65
7
- data.tar.gz: e036382f1b2d1c8f2f68a2634acbe6226bb24fc9e239f80f490ca0b55217b2a9bc649b841ba48c0699a601b942d9dd7ba059a4eb02d5f587aa74286b3f829495
6
+ metadata.gz: b98452256c207d934f1473b31df28ed065d10e67a7ad6d03deda0ac2b35f8a1a57010eefed66973fa5c1a24710169cf8e90a8529fcfa9cb91ca22d3819d72f6f
7
+ data.tar.gz: 90d65e4fc54159c215862c9f89dd85d0fb9f2416cd63f6a9ea4c4ee4efcd3ea7da2e6ff1d7f8ecef2a0fcfc9927f90b5c2f3e2795ba441b1ba9cc49929eb21ba
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ The format is based on Keep a Changelog and this project adheres to SemVer.
10
10
 
11
11
  - TBD
12
12
 
13
+ ## [0.38.0] - 2026-07-21
14
+
15
+ ### ✨ Added
16
+
17
+ - Align themes, components, and docs with showcase visual language (#705)
18
+
13
19
  ## [0.37.0] - 2026-07-21
14
20
 
15
21
  ### ✨ Added
data/assets/css/home.css CHANGED
@@ -74,27 +74,7 @@
74
74
  align-items: center;
75
75
  }
76
76
 
77
- .showcase-badge {
78
- display: inline-flex;
79
- padding: 0.25rem 0.625rem;
80
- border-radius: 9999px;
81
- border: 1px solid var(--turbo-border-default);
82
- background: color-mix(in srgb, var(--turbo-bg-surface) 80%, transparent);
83
- font-size: 0.75rem;
84
- letter-spacing: 0.06em;
85
- text-transform: uppercase;
86
-
87
- /* Secondary tone nudged toward text-primary for WCAG AA contrast (#684). */
88
- color: color-mix(in srgb, var(--turbo-text-secondary) 50%, var(--turbo-text-primary));
89
- }
90
-
91
- .showcase-headline {
92
- margin: 0.75rem 0 0;
93
- font-size: clamp(2.25rem, 6vw, 3.75rem);
94
- font-weight: 800;
95
- line-height: 1.08;
96
- letter-spacing: -0.03em;
97
- }
77
+ /* .showcase-badge / .showcase-headline → site.css (#685) */
98
78
 
99
79
  .showcase-text-mask {
100
80
  position: relative;
@@ -136,20 +116,7 @@
136
116
  clip-path: circle(120px at var(--mx) var(--my));
137
117
  }
138
118
 
139
- .showcase-lede {
140
- margin: 0.75rem 0 0;
141
- max-width: 36rem;
142
- color: var(--turbo-text-secondary);
143
- line-height: 1.6;
144
- font-size: clamp(1rem, 2vw, 1.125rem);
145
- }
146
-
147
- .showcase-cta {
148
- display: flex;
149
- flex-wrap: wrap;
150
- gap: 0.75rem;
151
- margin-top: 1.25rem;
152
- }
119
+ /* .showcase-lede / .showcase-cta → site.css (#685) */
153
120
 
154
121
  /*
155
122
  * Scoped as .showcase-page descendants to out-rank the sitewide Noir chrome
@@ -582,27 +549,7 @@
582
549
  margin-bottom: 0.75rem;
583
550
  }
584
551
 
585
- .showcase-badge-pill {
586
- padding: 0.2rem 0.5rem;
587
- border-radius: 9999px;
588
- font-size: 0.6875rem;
589
- font-weight: 600;
590
- }
591
-
592
- .showcase-badge-pill.success {
593
- background: color-mix(in srgb, var(--turbo-state-success) 18%, transparent);
594
- color: var(--turbo-state-success);
595
- }
596
-
597
- .showcase-badge-pill.warning {
598
- background: color-mix(in srgb, var(--turbo-state-warning) 18%, transparent);
599
- color: var(--turbo-state-warning);
600
- }
601
-
602
- .showcase-badge-pill.danger {
603
- background: color-mix(in srgb, var(--turbo-state-danger) 18%, transparent);
604
- color: var(--turbo-state-danger);
605
- }
552
+ /* .showcase-badge-pill → site.css (#685) */
606
553
 
607
554
  .showcase-preview-theme {
608
555
  display: flex;
@@ -686,33 +633,7 @@
686
633
  color: var(--turbo-brand-primary);
687
634
  }
688
635
 
689
- .showcase-reveal {
690
- opacity: 0;
691
- transform: translateY(24px);
692
- animation: showcase-fade-up 0.55s ease forwards;
693
- animation-delay: var(--reveal-delay, 0s);
694
- }
695
-
696
- @keyframes showcase-fade-up {
697
- to {
698
- opacity: 1;
699
- transform: translateY(0);
700
- }
701
- }
702
-
703
- [data-showcase-reveal] {
704
- opacity: 0;
705
- transform: translateY(20px);
706
- transition:
707
- opacity 0.45s ease,
708
- transform 0.45s ease;
709
- transition-delay: var(--reveal-delay, 0s);
710
- }
711
-
712
- [data-showcase-reveal].is-visible {
713
- opacity: 1;
714
- transform: translateY(0);
715
- }
636
+ /* reveal primitives → site.css (#685) */
716
637
 
717
638
  .showcase-marquees {
718
639
  position: relative;
@@ -842,102 +763,21 @@
842
763
  border-top: 1px solid var(--turbo-border-default);
843
764
  }
844
765
 
845
- .showcase-features-grid {
846
- width: min(1120px, 100%);
847
- margin: 0 auto;
848
- display: grid;
849
- grid-template-columns: repeat(4, 1fr);
850
- gap: 0;
851
- border: 1px solid var(--turbo-border-default);
852
- }
853
-
854
- .showcase-feature {
855
- padding: 1.125rem;
856
- border-right: 1px solid var(--turbo-border-default);
857
- }
858
-
859
- .showcase-feature:last-child {
860
- border-right: none;
861
- }
862
-
863
- .showcase-feature h3 {
864
- margin: 0 0 0.5rem;
865
- font-size: 0.9375rem;
866
-
867
- /* Per-level theme heading colors can fail AA at this size; use body text (#684). */
868
- color: var(--turbo-text-primary);
869
- }
870
-
871
- .showcase-feature p {
872
- margin: 0;
873
- font-size: 0.8125rem;
874
-
875
- /* Secondary tone nudged toward text-primary for WCAG AA contrast (#684). */
876
- color: color-mix(in srgb, var(--turbo-text-secondary) 60%, var(--turbo-text-primary));
877
- line-height: 1.55;
878
- }
879
-
880
- .showcase-footer-cta {
881
- position: relative;
882
- z-index: 1;
883
- padding: 2rem 1.5rem 5.5rem;
884
- text-align: center;
885
- border-top: 1px solid var(--turbo-border-default);
886
- }
887
-
888
- .showcase-footer-cta code {
889
- display: block;
890
- margin-bottom: 1.25rem;
891
- font-family: var(--turbo-font-mono);
892
- font-size: 1.0625rem;
893
-
894
- /* Brand accent mixed toward text-primary for WCAG AA contrast (#684). */
895
- color: color-mix(in srgb, var(--turbo-brand-primary) 60%, var(--turbo-text-primary));
896
- }
766
+ /* .showcase-features-grid / .showcase-feature / .showcase-footer-cta → site.css (#685) */
897
767
 
898
768
  @media (max-width: 900px) {
899
769
  .showcase-hero-grid {
900
770
  grid-template-columns: 1fr;
901
771
  }
902
-
903
- .showcase-features-grid {
904
- grid-template-columns: 1fr 1fr;
905
- }
906
-
907
- .showcase-feature:nth-child(2) {
908
- border-right: none;
909
- }
910
-
911
- .showcase-feature {
912
- border-bottom: 1px solid var(--turbo-border-default);
913
- }
914
772
  }
915
773
 
916
- @media (max-width: 640px) {
917
- .showcase-features-grid {
918
- grid-template-columns: 1fr;
919
- }
920
-
921
- .showcase-feature {
922
- border-right: none;
923
- }
924
-
925
- /* Drop the 900px-query border-bottom so it does not double the grid border. */
926
- .showcase-feature:last-child {
927
- border-bottom: none;
928
- }
929
- }
774
+ /* feature-grid responsive rules (incl. mobile double-border fix) → site.css (#685) */
930
775
 
931
776
  @media (prefers-reduced-motion: reduce) {
932
777
  .showcase-marquee-left,
933
- .showcase-marquee-right,
934
- .showcase-reveal {
778
+ .showcase-marquee-right {
935
779
  animation: none;
936
780
  }
937
781
 
938
- .showcase-reveal,
939
- [data-showcase-reveal] {
940
- opacity: 1;
941
- transform: none;
942
- }
782
+ /* reveal reduced-motion → site.css (#685) */
943
783
  }