@kolkrabbi/kol-theme 0.9.3 → 0.10.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.
Files changed (2) hide show
  1. package/kol-typography.css +67 -0
  2. package/package.json +1 -1
@@ -772,6 +772,14 @@
772
772
  --kol-text-body-01: 16px;
773
773
  --kol-text-body-02: 14px;
774
774
  --kol-text-body-03: 12px;
775
+
776
+ /* Display Tight — the condensed-caps display voice (lobbied from the
777
+ * website's elder type system 2026-07-16). Own ladder with a 1024px step —
778
+ * deliberately NOT the sans-display ladder: values preserve the lobbied
779
+ * rendering exactly. */
780
+ --kol-text-display-tight-01: 48px;
781
+ --kol-text-display-tight-02: 40px;
782
+ --kol-text-display-tight-03: 32px;
775
783
  }
776
784
 
777
785
  @media (min-width: 768px) {
@@ -780,6 +788,18 @@
780
788
  --kol-text-display-02: 56px;
781
789
  --kol-text-display-03: 42px;
782
790
  --kol-text-heading-01: 56px;
791
+ --kol-text-display-tight-01: 64px;
792
+ --kol-text-display-tight-02: 48px;
793
+ --kol-text-display-tight-03: 40px;
794
+ }
795
+ }
796
+
797
+ /* Display Tight tops out at 1024, not 1280 — the lobbied ladder's own step. */
798
+ @media (min-width: 1024px) {
799
+ :root {
800
+ --kol-text-display-tight-01: 96px;
801
+ --kol-text-display-tight-02: 64px;
802
+ --kol-text-display-tight-03: 48px;
783
803
  }
784
804
  }
785
805
 
@@ -813,6 +833,53 @@
813
833
  /* .kol-sans-display-03 deferred — orphan in current consumers. Token defined.
814
834
  * Add the class when a consumer needs it. */
815
835
 
836
+ /* =============================================================================
837
+ * DISPLAY TIGHT — the condensed-caps display voice: base sans + the variable
838
+ * width axis (font-stretch), weight 470. Uppercase BY CONTRACT — display
839
+ * classes are the one type family that carries text-transform; the display
840
+ * voice is caps by design language.
841
+ * Lobbied verbatim from the website's elder type system (2026-07-16) so call
842
+ * sites migrate without renames. `kol-heading-display` was a byte-identical
843
+ * duplicate of `kol-display-lg` and was not carried — map it to display-lg.
844
+ * ============================================================================= */
845
+
846
+ .kol-display-lg {
847
+ font-family: var(--kol-font-family-sans);
848
+ font-stretch: extra-condensed;
849
+ font-weight: 470;
850
+ font-size: var(--kol-text-display-tight-01);
851
+ line-height: 100%;
852
+ text-transform: uppercase;
853
+ color: var(--kol-fg-emphasis);
854
+ }
855
+
856
+ .kol-display-section {
857
+ font-family: var(--kol-font-family-sans);
858
+ font-stretch: extra-condensed;
859
+ font-weight: 470;
860
+ font-size: var(--kol-text-display-tight-02);
861
+ line-height: 100%;
862
+ text-transform: uppercase;
863
+ }
864
+
865
+ .kol-display-section-sm {
866
+ font-family: var(--kol-font-family-sans);
867
+ font-stretch: extra-condensed;
868
+ font-weight: 470;
869
+ font-size: var(--kol-text-display-tight-03);
870
+ line-height: 100%;
871
+ text-transform: uppercase;
872
+ }
873
+
874
+ /* subsection — the Narrow face, one voice quieter than section-sm */
875
+ .kol-display-subsection {
876
+ font-family: var(--kol-font-family-sans-narrow);
877
+ font-weight: 470;
878
+ font-size: var(--kol-text-display-tight-03);
879
+ line-height: 100%;
880
+ text-transform: uppercase;
881
+ }
882
+
816
883
  /* =============================================================================
817
884
  * HEADINGS — H1 sans Narrow, H2-H5 sans Compact, weight 500.
818
885
  * 01 = H1 anchor (matches prose H1). 02-06 use Compact for visual rhythm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.9.3",
3
+ "version": "0.10.0",
4
4
  "description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
5
5
  "license": "MIT",
6
6
  "type": "module",