@kolkrabbi/kol-theme 0.11.7 → 0.11.8

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 +17 -15
  2. package/package.json +1 -1
@@ -744,12 +744,14 @@
744
744
  * ============================================================================= */
745
745
 
746
746
  :root {
747
- /* Sans family tokens — three cuts loaded. Editor convention used in prose:
747
+ /* Sans family tokens — four cuts loaded. Editor convention used in prose:
748
748
  * Narrow for top-of-scale (display, large headings), Compact for mid (smaller
749
- * headings, lede), base for body. Atomic classes follow the same convention. */
749
+ * headings, lede), base for body, Tight for the display-tight voice.
750
+ * Atomic classes follow the same convention. */
750
751
  --kol-font-family-sans: 'Right Grotesk', sans-serif;
751
752
  --kol-font-family-sans-narrow: 'Right Grotesk Narrow', 'Right Grotesk', sans-serif;
752
753
  --kol-font-family-sans-compact: 'Right Grotesk Compact', 'Right Grotesk', sans-serif;
754
+ --kol-font-family-sans-tight: 'Right Grotesk Tight', 'Right Grotesk', sans-serif;
753
755
 
754
756
  /* Type size tokens — numbered scale, 01 = largest, ascending = smaller.
755
757
  * Mobile-first; @media overrides below scale display + heading-01 up on
@@ -834,19 +836,21 @@
834
836
  * Add the class when a consumer needs it. */
835
837
 
836
838
  /* =============================================================================
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.
839
+ * DISPLAY TIGHT — the condensed-caps display voice: the Tight cut by NAME
840
+ * (--kol-font-family-sans-tight), weight 500 (TightMedium). Never select the
841
+ * cut via font-stretch: the loaded faces are static, carry no stretch
842
+ * descriptors, so stretch-based selection silently renders the wide base cut
843
+ * (bug found 2026-07-28). Uppercase BY CONTRACT — display classes are the one
844
+ * type family that carries text-transform; the display voice is caps by
845
+ * design language.
841
846
  * Lobbied verbatim from the website's elder type system (2026-07-16) so call
842
847
  * sites migrate without renames. `kol-heading-display` was a byte-identical
843
848
  * duplicate of `kol-display-lg` and was not carried — map it to display-lg.
844
849
  * ============================================================================= */
845
850
 
846
851
  .kol-display-lg {
847
- font-family: var(--kol-font-family-sans);
848
- font-stretch: extra-condensed;
849
- font-weight: 470;
852
+ font-family: var(--kol-font-family-sans-tight);
853
+ font-weight: 500;
850
854
  font-size: var(--kol-text-display-tight-01);
851
855
  line-height: 100%;
852
856
  text-transform: uppercase;
@@ -854,18 +858,16 @@
854
858
  }
855
859
 
856
860
  .kol-display-section {
857
- font-family: var(--kol-font-family-sans);
858
- font-stretch: extra-condensed;
859
- font-weight: 470;
861
+ font-family: var(--kol-font-family-sans-tight);
862
+ font-weight: 500;
860
863
  font-size: var(--kol-text-display-tight-02);
861
864
  line-height: 100%;
862
865
  text-transform: uppercase;
863
866
  }
864
867
 
865
868
  .kol-display-section-sm {
866
- font-family: var(--kol-font-family-sans);
867
- font-stretch: extra-condensed;
868
- font-weight: 470;
869
+ font-family: var(--kol-font-family-sans-tight);
870
+ font-weight: 500;
869
871
  font-size: var(--kol-text-display-tight-03);
870
872
  line-height: 100%;
871
873
  text-transform: uppercase;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.11.7",
3
+ "version": "0.11.8",
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",