@kolkrabbi/kol-theme 0.225.0 → 0.226.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.
@@ -7,8 +7,9 @@
7
7
  * --kol-font-family-mono supplies the actual font — fonts are per-app:
8
8
  * apps/brand = JetBrains Mono, apps/web = RightGroteskMono.
9
9
  *
10
- * Classes reference --kol-font-family-mono + literal px values only; nothing
11
- * else from the canonical typography files.
10
+ * Classes reference --kol-font-family-mono and the --kol-ramp-* step tokens
11
+ * (kol-typography.css, since 2026-11-15); nothing else from the canonical
12
+ * typography files.
12
13
  *
13
14
  * Architecture: docs/kol-migration/locked/typography-system.md
14
15
  */
@@ -19,43 +20,43 @@
19
20
 
20
21
  .kol-mono-8 {
21
22
  font-family: var(--kol-font-family-mono);
22
- font-size: 8px;
23
- line-height: 12px;
23
+ font-size: var(--kol-ramp-size-t10);
24
+ line-height: var(--kol-ramp-line-height-t10);
24
25
  font-weight: 400;
25
26
  }
26
27
 
27
28
  .kol-mono-10 {
28
29
  font-family: var(--kol-font-family-mono);
29
- font-size: 10px;
30
- line-height: 14px;
30
+ font-size: var(--kol-ramp-size-l8);
31
+ line-height: var(--kol-ramp-line-height-l8);
31
32
  font-weight: 400;
32
33
  }
33
34
 
34
35
  .kol-mono-12 {
35
36
  font-family: var(--kol-font-family-mono);
36
- font-size: 12px;
37
- line-height: 16px;
37
+ font-size: var(--kol-ramp-size-l6);
38
+ line-height: var(--kol-ramp-line-height-l6);
38
39
  font-weight: 400;
39
40
  }
40
41
 
41
42
  .kol-mono-14 {
42
43
  font-family: var(--kol-font-family-mono);
43
- font-size: 14px;
44
- line-height: 18px;
44
+ font-size: var(--kol-ramp-size-l5);
45
+ line-height: var(--kol-ramp-line-height-l5);
45
46
  font-weight: 400;
46
47
  }
47
48
 
48
49
  .kol-mono-16 {
49
50
  font-family: var(--kol-font-family-mono);
50
- font-size: 16px;
51
- line-height: 22px;
51
+ font-size: var(--kol-ramp-size-l4);
52
+ line-height: var(--kol-ramp-line-height-l4);
52
53
  font-weight: 400;
53
54
  }
54
55
 
55
56
  .kol-mono-20 {
56
57
  font-family: var(--kol-font-family-mono);
57
- font-size: 20px;
58
- line-height: 26px;
58
+ font-size: var(--kol-ramp-size-l2);
59
+ line-height: var(--kol-ramp-line-height-l2);
59
60
  font-weight: 400;
60
61
  }
61
62
 
@@ -97,48 +98,48 @@
97
98
 
98
99
  .kol-helper-8 {
99
100
  font-family: var(--kol-font-family-mono);
100
- font-size: 8px;
101
- line-height: 1;
101
+ font-size: var(--kol-ramp-size-u10);
102
+ line-height: var(--kol-ramp-line-height-u10);
102
103
  font-weight: 500;
103
104
  letter-spacing: 0.10em;
104
105
  }
105
106
 
106
107
  .kol-helper-10 {
107
108
  font-family: var(--kol-font-family-mono);
108
- font-size: 10px;
109
- line-height: 1;
109
+ font-size: var(--kol-ramp-size-u8);
110
+ line-height: var(--kol-ramp-line-height-u8);
110
111
  font-weight: 500;
111
112
  letter-spacing: 0.10em;
112
113
  }
113
114
 
114
115
  .kol-helper-12 {
115
116
  font-family: var(--kol-font-family-mono);
116
- font-size: 12px;
117
- line-height: 1;
117
+ font-size: var(--kol-ramp-size-u6);
118
+ line-height: var(--kol-ramp-line-height-u6);
118
119
  font-weight: 500;
119
120
  letter-spacing: 0.06em;
120
121
  }
121
122
 
122
123
  .kol-helper-14 {
123
124
  font-family: var(--kol-font-family-mono);
124
- font-size: 14px;
125
- line-height: 1;
125
+ font-size: var(--kol-ramp-size-u5);
126
+ line-height: var(--kol-ramp-line-height-u5);
126
127
  font-weight: 500;
127
128
  letter-spacing: 0.06em;
128
129
  }
129
130
 
130
131
  .kol-helper-16 {
131
132
  font-family: var(--kol-font-family-mono);
132
- font-size: 16px;
133
- line-height: 1;
133
+ font-size: var(--kol-ramp-size-u4);
134
+ line-height: var(--kol-ramp-line-height-u4);
134
135
  font-weight: 500;
135
136
  letter-spacing: 0.06em;
136
137
  }
137
138
 
138
139
  .kol-helper-20 {
139
140
  font-family: var(--kol-font-family-mono);
140
- font-size: 20px;
141
- line-height: 1;
141
+ font-size: var(--kol-ramp-size-u2);
142
+ line-height: var(--kol-ramp-line-height-u2);
142
143
  font-weight: 500;
143
144
  letter-spacing: 0.06em;
144
145
  }
@@ -94,16 +94,15 @@
94
94
  .kol-prose pre,
95
95
  .kol-doc-code {
96
96
  font-family: var(--kol-font-family-mono);
97
- font-size: 14px; /* matches CodeBlock's reference voice (14/1.6) */
98
97
  font-weight: 400;
99
- line-height: 1.6;
100
98
  padding: 16px 20px;
101
99
  background: var(--kol-fg-04);
102
- border-radius: var(--kol-radius-sm);
100
+ border-radius: var(--kol-radius-4);
103
101
  overflow-x: auto;
104
102
  }
105
- .kol-doc-code { margin: 0; }
106
- .kol-prose pre { margin: 24px 0; } /* prose keeps its editorial block rhythm */
103
+ .kol-doc-code { margin: 0; font-size: 14px; line-height: 1.6; } /* matches CodeBlock's reference voice (14/1.6) */
104
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
105
+ .kol-prose pre { margin: 24px 0; font-size: var(--kol-ramp-size-t5); line-height: var(--kol-ramp-line-height-t5); } /* prose keeps its editorial block rhythm */
107
106
 
108
107
  /* INLINE CODE — the chip look, shared with `.kol-table-token` (user question
109
108
  * 2026-08-01: *"list all the inline code classes, why do we have more then
@@ -133,13 +132,17 @@
133
132
  .kol-table-token,
134
133
  .kol-table code {
135
134
  font-family: var(--kol-font-family-mono);
136
- font-size: 0.75rem;
137
135
  font-weight: 400;
138
136
  color: var(--kol-fg-80);
139
137
  background: var(--kol-fg-08);
140
138
  padding: 2px var(--kol-spacing-1);
141
- border-radius: var(--kol-radius-sm);
139
+ border-radius: var(--kol-radius-4);
142
140
  }
141
+ .kol-doc-code-inline,
142
+ .kol-table-token,
143
+ .kol-table code { font-size: 0.75rem; }
144
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
145
+ .kol-prose code { font-size: var(--kol-ramp-size-t6); } /* line height is the paragraph's */
143
146
  /* code inside pre stays stripped (rule preserved from the prose sheet) */
144
147
  .kol-prose pre code,
145
148
  .kol-doc-code code {
@@ -157,10 +160,11 @@
157
160
  text-align: left;
158
161
  border-collapse: collapse;
159
162
  font-family: var(--kol-font-family-sans);
160
- font-size: var(--kol-text-body-02);
161
- line-height: 160%;
162
163
  font-weight: 400;
163
164
  }
165
+ .kol-doc-table { font-size: var(--kol-text-body-02); line-height: 160%; }
166
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
167
+ .kol-prose table { font-size: var(--kol-ramp-size-t5); line-height: var(--kol-ramp-line-height-t5); }
164
168
  .kol-prose thead tr,
165
169
  .kol-doc-table thead tr {
166
170
  border-bottom: 1px solid var(--kol-fg-12);
@@ -168,8 +172,6 @@
168
172
  .kol-prose th,
169
173
  .kol-doc-table th {
170
174
  font-family: var(--kol-font-family-mono);
171
- font-size: 10px;
172
- line-height: 1;
173
175
  font-weight: 400;
174
176
  letter-spacing: 0.1em;
175
177
  text-transform: uppercase;
@@ -179,6 +181,9 @@
179
181
  4-line value and the label↔value pairing broke. Both cell types agree. */
180
182
  vertical-align: top;
181
183
  }
184
+ .kol-doc-table th { font-size: 10px; line-height: 1; }
185
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
186
+ .kol-prose th { font-size: var(--kol-ramp-size-u8); line-height: var(--kol-ramp-line-height-u8); }
182
187
  .kol-prose td,
183
188
  .kol-doc-table td {
184
189
  padding: 12px 16px;
@@ -233,7 +238,7 @@
233
238
  /* oq, not fg (2026-07-30) — the seam law: chrome borders are opaque so they
234
239
  * never brighten over tinted fills; weight 08 matches the table wrapper. */
235
240
  border: 1px solid var(--kol-oq-08);
236
- border-radius: var(--kol-radius-sm); /* 4px — THE radius law */
241
+ border-radius: var(--kol-radius-4); /* 4px — THE radius law */
237
242
  overflow: hidden;
238
243
  }
239
244
 
@@ -241,12 +246,13 @@
241
246
  .kol-prose figcaption,
242
247
  .kol-doc-caption {
243
248
  font-family: var(--kol-font-family-mono);
244
- font-size: 12px;
245
- line-height: 16px;
246
249
  font-weight: 400;
247
250
  letter-spacing: 0.02em;
248
251
  color: var(--kol-fg-meta);
249
252
  }
253
+ .kol-doc-caption { font-size: 12px; line-height: 16px; }
254
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
255
+ .kol-prose figcaption { font-size: var(--kol-ramp-size-l6); line-height: var(--kol-ramp-line-height-l6); }
250
256
 
251
257
  /* footer — wrappable closing chrome (attributions, notes, updated-lines).
252
258
  * Mono ramp BY LAW: helper is line-height-1 single-line chrome and never
@@ -254,12 +260,13 @@
254
260
  .kol-prose footer,
255
261
  .kol-doc-footer {
256
262
  font-family: var(--kol-font-family-mono);
257
- font-size: 10px;
258
- line-height: 14px;
259
263
  font-weight: 400;
260
264
  letter-spacing: 0.02em;
261
265
  color: var(--kol-fg-meta);
262
266
  }
267
+ .kol-doc-footer { font-size: 10px; line-height: 14px; }
268
+ /* the prose half reads the type ramp (W7.2, 17-type-sets.md); the doc half keeps its values */
269
+ .kol-prose footer { font-size: var(--kol-ramp-size-l8); line-height: var(--kol-ramp-line-height-l8); }
263
270
 
264
271
  /* =============================================================================
265
272
  * CARD SET — 6 roles. Grounded in the shipped card families: mono body voice,
@@ -731,7 +731,7 @@
731
731
  * Narrow for top-of-scale (display, large headings), Compact for mid (smaller
732
732
  * headings, lede), base for body, Tight for display 01–04 (since 0.59.0).
733
733
  * Atomic classes follow the same convention. */
734
- --kol-font-family-sans: 'Right Grotesk', sans-serif;
734
+ --kol-font-family-sans: 'Inter', sans-serif; /* the default style's sans is Inter (user 2026-11-14, plan-2026-11-14-ds-pass W3.1; was Right Grotesk). Narrow/Compact/Tight stay Right Grotesk's display cuts */
735
735
  --kol-font-family-float: 'Inter', sans-serif; /* the float style's sans (float-everything W0.6, 2026-11-04): every `variant="float"` control and the kol-float-* roles */
736
736
  --kol-font-family-sans-neutral: 'Public Sans', sans-serif; /* TabsRow type="sans" (2026-10-29). Declared nowhere in kol-theme: the app that renders it adds the Google Fonts css2 link (PublicSansByLink, his ruling 2026-10-28 — hosted cuts were wrong, 2026-10-30) */
737
737
  --kol-font-family-sans-narrow: 'Right Grotesk Narrow', 'Right Grotesk', sans-serif;
@@ -767,6 +767,66 @@
767
767
  --kol-text-display-tight-01: 48px;
768
768
  --kol-text-display-tight-02: 40px;
769
769
  --kol-text-display-tight-03: 32px;
770
+
771
+ /* THE TYPE RAMP (plan-2026-11-14-type-ramp W7.1, docs/documentation/01-foundations/15-type-ramp.md) — 48 steps, each a
772
+ * size and a line height and nothing else: tracking and weights belong to the font, a style is a step + a weight + a
773
+ * font. One-to-one with the Figma library's `type` collection (`ramp/size/*`, `ramp/line-height/*`). Display and Heading
774
+ * fall toward and below 100% line height as they grow; Text reads (about 150%), Utility is 100% (one line, trimmed cap to
775
+ * baseline), Label about 130%. Text, Utility and Label share one list of 12 sizes. Nothing reads these yet: the set
776
+ * classes move onto them in W7.2. */
777
+ /* Display */
778
+ --kol-ramp-size-d1: 128px; --kol-ramp-line-height-d1: 116px;
779
+ --kol-ramp-size-d2: 112px; --kol-ramp-line-height-d2: 104px;
780
+ --kol-ramp-size-d3: 96px; --kol-ramp-line-height-d3: 90px;
781
+ --kol-ramp-size-d4: 80px; --kol-ramp-line-height-d4: 76px;
782
+ --kol-ramp-size-d5: 72px; --kol-ramp-line-height-d5: 70px;
783
+ --kol-ramp-size-d6: 64px; --kol-ramp-line-height-d6: 64px;
784
+ /* Heading */
785
+ --kol-ramp-size-h1: 56px; --kol-ramp-line-height-h1: 56px;
786
+ --kol-ramp-size-h2: 48px; --kol-ramp-line-height-h2: 50px;
787
+ --kol-ramp-size-h3: 40px; --kol-ramp-line-height-h3: 44px;
788
+ --kol-ramp-size-h4: 36px; --kol-ramp-line-height-h4: 40px;
789
+ --kol-ramp-size-h5: 32px; --kol-ramp-line-height-h5: 36px;
790
+ --kol-ramp-size-h6: 28px; --kol-ramp-line-height-h6: 32px;
791
+ /* Text */
792
+ --kol-ramp-size-t1: 24px; --kol-ramp-line-height-t1: 34px;
793
+ --kol-ramp-size-t2: 20px; --kol-ramp-line-height-t2: 30px;
794
+ --kol-ramp-size-t3: 18px; --kol-ramp-line-height-t3: 27px;
795
+ --kol-ramp-size-t4: 16px; --kol-ramp-line-height-t4: 24px;
796
+ --kol-ramp-size-t5: 14px; --kol-ramp-line-height-t5: 20px;
797
+ --kol-ramp-size-t6: 12px; --kol-ramp-line-height-t6: 18px;
798
+ --kol-ramp-size-t7: 11px; --kol-ramp-line-height-t7: 16px;
799
+ --kol-ramp-size-t8: 10px; --kol-ramp-line-height-t8: 15px;
800
+ --kol-ramp-size-t9: 9px; --kol-ramp-line-height-t9: 14px;
801
+ --kol-ramp-size-t10: 8px; --kol-ramp-line-height-t10: 12px;
802
+ --kol-ramp-size-t11: 7px; --kol-ramp-line-height-t11: 11px;
803
+ --kol-ramp-size-t12: 6px; --kol-ramp-line-height-t12: 9px;
804
+ /* Utility */
805
+ --kol-ramp-size-u1: 24px; --kol-ramp-line-height-u1: 24px;
806
+ --kol-ramp-size-u2: 20px; --kol-ramp-line-height-u2: 20px;
807
+ --kol-ramp-size-u3: 18px; --kol-ramp-line-height-u3: 18px;
808
+ --kol-ramp-size-u4: 16px; --kol-ramp-line-height-u4: 16px;
809
+ --kol-ramp-size-u5: 14px; --kol-ramp-line-height-u5: 14px;
810
+ --kol-ramp-size-u6: 12px; --kol-ramp-line-height-u6: 12px;
811
+ --kol-ramp-size-u7: 11px; --kol-ramp-line-height-u7: 11px;
812
+ --kol-ramp-size-u8: 10px; --kol-ramp-line-height-u8: 10px;
813
+ --kol-ramp-size-u9: 9px; --kol-ramp-line-height-u9: 9px;
814
+ --kol-ramp-size-u10: 8px; --kol-ramp-line-height-u10: 8px;
815
+ --kol-ramp-size-u11: 7px; --kol-ramp-line-height-u11: 7px;
816
+ --kol-ramp-size-u12: 6px; --kol-ramp-line-height-u12: 6px;
817
+ /* Label */
818
+ --kol-ramp-size-l1: 24px; --kol-ramp-line-height-l1: 32px;
819
+ --kol-ramp-size-l2: 20px; --kol-ramp-line-height-l2: 26px;
820
+ --kol-ramp-size-l3: 18px; --kol-ramp-line-height-l3: 24px;
821
+ --kol-ramp-size-l4: 16px; --kol-ramp-line-height-l4: 21px;
822
+ --kol-ramp-size-l5: 14px; --kol-ramp-line-height-l5: 18px;
823
+ --kol-ramp-size-l6: 12px; --kol-ramp-line-height-l6: 16px;
824
+ --kol-ramp-size-l7: 11px; --kol-ramp-line-height-l7: 14px;
825
+ --kol-ramp-size-l8: 10px; --kol-ramp-line-height-l8: 13px;
826
+ --kol-ramp-size-l9: 9px; --kol-ramp-line-height-l9: 12px;
827
+ --kol-ramp-size-l10: 8px; --kol-ramp-line-height-l10: 10px;
828
+ --kol-ramp-size-l11: 7px; --kol-ramp-line-height-l11: 9px;
829
+ --kol-ramp-size-l12: 6px; --kol-ramp-line-height-l12: 8px;
770
830
  }
771
831
 
772
832
  @media (min-width: 768px) {
@@ -942,9 +1002,9 @@
942
1002
  .kol-prose {
943
1003
  max-width: 720px;
944
1004
  font-family: var(--kol-font-family-sans);
945
- font-size: 16px;
1005
+ font-size: var(--kol-ramp-size-t4);
946
1006
  font-weight: 300;
947
- line-height: 24px;
1007
+ line-height: var(--kol-ramp-line-height-t4);
948
1008
  letter-spacing: 0.02em;
949
1009
  /* Text-role contract (kol-opacity roles): body copy sits at the body role;
950
1010
  * emphasis/strong/headings climb the ladder from there. */
@@ -969,9 +1029,9 @@
969
1029
 
970
1030
  .kol-prose-label {
971
1031
  font-family: var(--kol-font-family-mono);
972
- font-size: 12px;
1032
+ font-size: var(--kol-ramp-size-l6);
973
1033
  font-weight: 500;
974
- line-height: 16px;
1034
+ line-height: var(--kol-ramp-line-height-l6);
975
1035
  letter-spacing: 0.1em;
976
1036
  text-transform: uppercase;
977
1037
  color: var(--kol-fg-48);
@@ -990,13 +1050,14 @@
990
1050
  * ladder's third rung (96 · 72 · 64 at 1280) is deliberately not taken, a prose
991
1051
  * title at 64 was never the design. Line-heights became the same ratios
992
1052
  * (1 · 1.0625 · 1.07) so the leading follows the size. The ramp lives in the
993
- * token, as the ticket asked; the ceiling stays where the design was. */
1053
+ * token, as the ticket asked; the ceiling stays where the design was.
1054
+ * Since W7.2 (2026-11-14) each reads its type-ramp step per 17-type-sets.md, phone then 768 up. */
994
1055
 
995
1056
  .kol-prose-display {
996
1057
  font-family: var(--kol-font-family-sans-narrow);
997
- font-size: min(var(--kol-text-display-01), 80px);
1058
+ font-size: var(--kol-ramp-size-h1);
998
1059
  font-weight: 500;
999
- line-height: 1;
1060
+ line-height: var(--kol-ramp-line-height-h1);
1000
1061
  letter-spacing: -0.01em;
1001
1062
  color: var(--kol-surface-on-primary);
1002
1063
  margin: 0 0 24px;
@@ -1004,9 +1065,9 @@
1004
1065
 
1005
1066
  .kol-prose-display-md {
1006
1067
  font-family: var(--kol-font-family-sans-narrow);
1007
- font-size: min(var(--kol-text-display-tight-01), 64px);
1068
+ font-size: var(--kol-ramp-size-h2);
1008
1069
  font-weight: 500;
1009
- line-height: 1.0625;
1070
+ line-height: var(--kol-ramp-line-height-h2);
1010
1071
  letter-spacing: -0.01em;
1011
1072
  color: var(--kol-surface-on-primary);
1012
1073
  margin: 0 0 24px;
@@ -1014,19 +1075,26 @@
1014
1075
 
1015
1076
  .kol-prose-title {
1016
1077
  font-family: var(--kol-font-family-sans-narrow);
1017
- font-size: min(var(--kol-text-display-02), 56px);
1078
+ font-size: var(--kol-ramp-size-h2);
1018
1079
  font-weight: 500;
1019
- line-height: 1.07;
1080
+ line-height: var(--kol-ramp-line-height-h2);
1020
1081
  letter-spacing: -0.01em;
1021
1082
  color: var(--kol-surface-on-primary);
1022
1083
  margin: 0 0 24px;
1023
1084
  }
1024
1085
 
1086
+ /* From 768 the head classes take their desktop step (W7.2, 17-type-sets.md): display D4, display-md D6, title H1. */
1087
+ @media (min-width: 768px) {
1088
+ .kol-prose-display { font-size: var(--kol-ramp-size-d4); line-height: var(--kol-ramp-line-height-d4); }
1089
+ .kol-prose-display-md { font-size: var(--kol-ramp-size-d6); line-height: var(--kol-ramp-line-height-d6); }
1090
+ .kol-prose-title { font-size: var(--kol-ramp-size-h1); line-height: var(--kol-ramp-line-height-h1); }
1091
+ }
1092
+
1025
1093
  .kol-prose-lede {
1026
1094
  font-family: var(--kol-font-family-sans-compact);
1027
- font-size: 24px;
1095
+ font-size: var(--kol-ramp-size-t1);
1028
1096
  font-weight: 400;
1029
- line-height: 28px;
1097
+ line-height: var(--kol-ramp-line-height-t1);
1030
1098
  letter-spacing: 0.02em;
1031
1099
  color: var(--kol-surface-on-primary);
1032
1100
  margin: 0 0 40px;
@@ -1037,9 +1105,9 @@
1037
1105
  * which is Mono and used for section eyebrows / kickers. */
1038
1106
  .kol-prose-tagline {
1039
1107
  font-family: var(--kol-font-family-sans-narrow);
1040
- font-size: 14px;
1108
+ font-size: var(--kol-ramp-size-l5);
1041
1109
  font-weight: 500;
1042
- line-height: 16px;
1110
+ line-height: var(--kol-ramp-line-height-l5);
1043
1111
  letter-spacing: 0.14em;
1044
1112
  text-transform: uppercase;
1045
1113
  color: var(--kol-fg-body);
@@ -1062,12 +1130,15 @@
1062
1130
  color: var(--kol-fg-emphasis);
1063
1131
  }
1064
1132
 
1065
- .kol-prose h1 { font-family: var(--kol-font-family-sans-narrow); font-size: var(--kol-text-heading-01); line-height: 52px; margin: 0 0 24px; }
1066
- .kol-prose h2 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-text-heading-03); line-height: 40px; margin: 56px 0 16px; }
1067
- .kol-prose h3 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-text-heading-04); line-height: 32px; margin: 40px 0 12px; }
1068
- .kol-prose h4 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-text-heading-05); line-height: 28px; margin: 32px 0 8px; }
1069
- .kol-prose h5 { font-family: var(--kol-font-family-sans-compact); font-weight: 500; font-size: var(--kol-text-heading-06); line-height: 24px; margin: 24px 0 6px; }
1070
- .kol-prose h6 { font-family: var(--kol-font-family-sans-compact); font-weight: 500; font-size: var(--kol-text-heading-06); line-height: 24px; margin: 24px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
1133
+ .kol-prose h1 { font-family: var(--kol-font-family-sans-narrow); font-size: var(--kol-ramp-size-h2); line-height: var(--kol-ramp-line-height-h2); margin: 0 0 24px; }
1134
+ .kol-prose h2 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-ramp-size-h5); line-height: var(--kol-ramp-line-height-h5); margin: 56px 0 16px; }
1135
+ .kol-prose h3 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-ramp-size-l1); line-height: var(--kol-ramp-line-height-l1); margin: 40px 0 12px; }
1136
+ .kol-prose h4 { font-family: var(--kol-font-family-sans-compact); font-weight: 400; font-size: var(--kol-ramp-size-t2); line-height: var(--kol-ramp-line-height-t2); margin: 32px 0 8px; }
1137
+ .kol-prose h5 { font-family: var(--kol-font-family-sans-compact); font-weight: 500; font-size: var(--kol-ramp-size-t4); line-height: var(--kol-ramp-line-height-t4); margin: 24px 0 6px; }
1138
+ .kol-prose h6 { font-family: var(--kol-font-family-sans-compact); font-weight: 500; font-size: var(--kol-ramp-size-t4); line-height: var(--kol-ramp-line-height-t4); margin: 24px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
1139
+ /* h1 steps with heading-01's breakpoints (768, 1280): H2, H1, D6 (W7.2, 17-type-sets.md). */
1140
+ @media (min-width: 768px) { .kol-prose h1 { font-size: var(--kol-ramp-size-h1); line-height: var(--kol-ramp-line-height-h1); } }
1141
+ @media (min-width: 1280px) { .kol-prose h1 { font-size: var(--kol-ramp-size-d6); line-height: var(--kol-ramp-line-height-d6); } }
1071
1142
 
1072
1143
  /* ─── Body + lists ─── */
1073
1144
 
@@ -1078,7 +1149,7 @@
1078
1149
  .kol-prose ol { padding-left: 24px; margin: 0 0 24px; }
1079
1150
  .kol-prose ul { list-style-type: disc; }
1080
1151
  .kol-prose ol { list-style-type: decimal; }
1081
- .kol-prose li { margin: 0 0 8px; line-height: 24px; }
1152
+ .kol-prose li { margin: 0 0 8px; line-height: var(--kol-ramp-line-height-t4); }
1082
1153
 
1083
1154
  /* ─── Inline ─── */
1084
1155
 
@@ -1103,8 +1174,8 @@
1103
1174
 
1104
1175
  .kol-prose blockquote p {
1105
1176
  margin: 0 0 8px;
1106
- font-size: 24px;
1107
- line-height: 32px;
1177
+ font-size: var(--kol-ramp-size-l1);
1178
+ line-height: var(--kol-ramp-line-height-l1);
1108
1179
  color: var(--kol-fg-emphasis);
1109
1180
  }
1110
1181
 
@@ -1112,9 +1183,9 @@
1112
1183
  display: block;
1113
1184
  margin-top: 12px;
1114
1185
  font-style: normal;
1115
- font-size: 12px;
1186
+ font-size: var(--kol-ramp-size-l6);
1116
1187
  font-weight: 500;
1117
- line-height: 16px;
1188
+ line-height: var(--kol-ramp-line-height-l6);
1118
1189
  letter-spacing: 0.04em;
1119
1190
  color: var(--kol-fg-meta);
1120
1191
  }
@@ -1158,15 +1229,16 @@
1158
1229
  }
1159
1230
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kol-sheet { --accent: var(--kol-color-yellow-300); } }
1160
1231
  :root[data-theme="dark"] .kol-sheet { --accent: var(--kol-color-yellow-300); }
1161
- .kol-sheet{padding:16px 0 28px;min-width:0;color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.6}
1162
- .kol-sheet h1,.kol-sheet h2,.kol-sheet h3,.kol-sheet h4{font-family:var(--display);line-height:1.2;text-wrap:balance;letter-spacing:-.005em;font-weight:700}
1163
- .kol-sheet h1{font-size:36px;margin:0 0 12px}
1164
- .kol-sheet h2{font-size:24px;margin:44px 0 16px;padding-top:24px;border-top:1px solid var(--line)}
1232
+ .kol-sheet{padding:16px 0 28px;min-width:0;color:var(--ink);font-family:var(--body);font-size:var(--kol-ramp-size-t4);line-height:var(--kol-ramp-line-height-t4)}
1233
+ .kol-sheet h1,.kol-sheet h2,.kol-sheet h3,.kol-sheet h4{font-family:var(--display);text-wrap:balance;letter-spacing:-.005em;font-weight:700}
1234
+ .kol-sheet h4{line-height:1.2}
1235
+ .kol-sheet h1{font-size:var(--kol-ramp-size-h4);line-height:var(--kol-ramp-line-height-h4);margin:0 0 12px}
1236
+ .kol-sheet h2{font-size:var(--kol-ramp-size-l1);line-height:var(--kol-ramp-line-height-l1);margin:44px 0 16px;padding-top:24px;border-top:1px solid var(--line)}
1165
1237
  .kol-sheet h2:first-child,.kol-sheet h1+h2{border-top:0;padding-top:0;margin-top:20px}
1166
- .kol-sheet h3{font-size:18px;margin:28px 0 4px;padding-top:18px;border-top:1px solid var(--line)}
1238
+ .kol-sheet h3{font-size:var(--kol-ramp-size-l3);line-height:var(--kol-ramp-line-height-l3);margin:28px 0 4px;padding-top:18px;border-top:1px solid var(--line)}
1167
1239
  .kol-sheet h2+h3{border-top:0;padding-top:0;margin-top:16px}
1168
- .kol-sheet .mk{font-size:15px;margin-left:8px}
1169
- .kol-sheet h3 .why,.kol-sheet h2 .why{font-size:13px}
1240
+ .kol-sheet .mk{font-size:var(--kol-ramp-size-t4);line-height:var(--kol-ramp-line-height-t4);margin-left:8px}
1241
+ .kol-sheet h3 .why,.kol-sheet h2 .why{font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6)}
1170
1242
  .kol-sheet p{margin:8px 0;max-width:var(--edge)}
1171
1243
  .kol-sheet ul,.kol-sheet ol{margin:6px 0 10px;padding-left:22px;max-width:var(--edge)}
1172
1244
  .kol-sheet ul{list-style:disc}
@@ -1181,16 +1253,16 @@
1181
1253
  .kol-sheet hr{border:0;border-top:1px solid var(--line);margin:24px 0}
1182
1254
  .kol-sheet [id^="a-"]{scroll-margin-top:72px}
1183
1255
  .kol-sheet .tablewrap{overflow-x:auto;margin:12px 0;border:1px solid var(--line);border-radius:8px}
1184
- .kol-sheet table{border-collapse:collapse;width:100%;font-size:13.5px}
1256
+ .kol-sheet table{border-collapse:collapse;width:100%;font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5)}
1185
1257
  .kol-sheet th,.kol-sheet td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top}
1186
- .kol-sheet th{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--soft);font-weight:600}
1258
+ .kol-sheet th{font-size:var(--kol-ramp-size-l7);line-height:var(--kol-ramp-line-height-l7);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--soft);font-weight:600}
1187
1259
  .kol-sheet tr:last-child td{border-bottom:0}
1188
1260
  .kol-sheet td.num,.kol-sheet th.num{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
1189
1261
  .kol-sheet tr.group td{background:var(--soft);font-weight:600}
1190
1262
  .kol-sheet tr.total td{font-weight:700;background:var(--bg)}
1191
- .kol-sheet .tablewrap.kv td:first-child{width:130px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
1192
- .kol-sheet .totalbar{display:flex;flex-wrap:wrap;gap:6px 28px;align-items:baseline;margin-top:22px;padding:14px 16px;border-radius:8px;background:var(--soft);font-size:13.5px}
1193
- .kol-sheet .totalbar b{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:16px}
1263
+ .kol-sheet .tablewrap.kv td:first-child{width:130px;font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
1264
+ .kol-sheet .totalbar{display:flex;flex-wrap:wrap;gap:6px 28px;align-items:baseline;margin-top:22px;padding:14px 16px;border-radius:8px;background:var(--soft);font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5)}
1265
+ .kol-sheet .totalbar b{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:var(--kol-ramp-size-u4);line-height:var(--kol-ramp-line-height-u4)}
1194
1266
  .kol-sheet .totalbar .over{color:var(--note)}
1195
1267
  .kol-sheet .term{border-bottom:1px dotted var(--accent);cursor:help;font-weight:500}
1196
1268
  .kol-sheet .term.missing{border:0;color:var(--note);background:var(--soft);padding:0 4px;border-radius:3px}
@@ -1200,44 +1272,44 @@
1200
1272
  shows the whole image on the plate instead, `--media-ratio` sets the frame (4/3 by default) — both are the page's props */
1201
1273
  .kol-sheet .media img,.kol-sheet .media video{display:block;width:100%;aspect-ratio:var(--media-ratio,4/3);object-fit:cover;background:var(--soft);border:1px solid var(--line);border-radius:4px}
1202
1274
  .kol-sheet .media[data-fit="contain"] img,.kol-sheet .media[data-fit="contain"] video{object-fit:contain}
1203
- .kol-sheet .media .doc{display:flex;align-items:center;justify-content:center;aspect-ratio:var(--media-ratio,4/3);background:var(--soft);border:1px solid var(--line);border-radius:4px;font-family:var(--mono);font-size:12px;text-decoration:none}
1204
- .kol-sheet .media figcaption{margin-top:6px;font-size:12.5px;color:var(--muted);overflow-wrap:anywhere}
1205
- .kol-sheet .why{font-family:var(--body);font-size:12px;font-weight:400;color:var(--muted);margin-left:6px}
1206
- .kol-sheet p.when,.kol-sheet p.dw{font-size:13px;color:var(--muted);margin:0}
1275
+ .kol-sheet .media .doc{display:flex;align-items:center;justify-content:center;aspect-ratio:var(--media-ratio,4/3);background:var(--soft);border:1px solid var(--line);border-radius:4px;font-family:var(--mono);font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);text-decoration:none}
1276
+ .kol-sheet .media figcaption{margin-top:6px;font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);color:var(--muted);overflow-wrap:anywhere}
1277
+ .kol-sheet .why{font-family:var(--body);font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);font-weight:400;color:var(--muted);margin-left:6px}
1278
+ .kol-sheet p.when,.kol-sheet p.dw{font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5);color:var(--muted);margin:0}
1207
1279
  .kol-sheet p.when .k,.kol-sheet p.dw .k{color:var(--ink)}
1208
1280
  .kol-sheet p.when+p:not(.dw){margin-top:12px}
1209
1281
  .kol-sheet p.dw+p{margin-top:12px}
1210
- .kol-sheet p.note{font-size:10px;color:color-mix(in srgb,var(--ink) 48%,transparent);max-width:none;margin-top:10px}
1211
- .kol-sheet p.tb{margin:6px 0 0;font-size:14.5px}
1282
+ .kol-sheet p.note{font-size:var(--kol-ramp-size-t8);line-height:var(--kol-ramp-line-height-t8);color:color-mix(in srgb,var(--ink) 48%,transparent);max-width:none;margin-top:10px}
1283
+ .kol-sheet p.tb{margin:6px 0 0;font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5)}
1212
1284
  .kol-sheet sup.fn{line-height:0;vertical-align:baseline;position:relative;top:-.5em;font-size:.75em}
1213
1285
  .kol-sheet sup.fn a{text-decoration:none;font-weight:600;color:color-mix(in srgb,var(--ink) 48%,transparent)}
1214
- .kol-sheet ol.fns{font-size:10px;color:color-mix(in srgb,var(--ink) 48%,transparent);margin:32px 0 0;padding-left:0;list-style:none}
1286
+ .kol-sheet ol.fns{font-size:var(--kol-ramp-size-t8);line-height:var(--kol-ramp-line-height-t8);color:color-mix(in srgb,var(--ink) 48%,transparent);margin:32px 0 0;padding-left:0;list-style:none}
1215
1287
  .kol-sheet ol.fns li{margin:2px 0}
1216
1288
  .kol-sheet ol.fns .fnn{margin-right:.4em}
1217
1289
  .kol-sheet ol.fns .url{color:color-mix(in srgb,var(--ink) 36%,transparent);overflow-wrap:anywhere}
1218
1290
  /* a link in the note list is a plain source: the list's ink, no underline; the Sources list stands a step larger (kol-atlas
1219
1291
  workspace.css, carried 2026-10-28 for apps/document — the port had missed these two) */
1220
1292
  .kol-sheet ol.fns a{color:inherit;text-decoration:none}
1221
- .kol-sheet ol.fns.src{font-size:12px;margin-top:8px}
1293
+ .kol-sheet ol.fns.src{font-size:var(--kol-ramp-size-t6);line-height:var(--kol-ramp-line-height-t6);margin-top:8px}
1222
1294
  .kol-sheet .ol .ms{margin-top:20px}
1223
- .kol-sheet .ol .ms>summary.mh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-family:var(--display);font-weight:700;font-size:20px;padding:2px 8px;line-height:1.3}
1295
+ .kol-sheet .ol .ms>summary.mh{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-family:var(--display);font-weight:700;font-size:var(--kol-ramp-size-l2);line-height:var(--kol-ramp-line-height-l2);padding:2px 8px}
1224
1296
  .kol-sheet .ol .mh a{color:var(--ink);text-decoration:none}
1225
1297
  .kol-sheet .ol .mh a:hover,.kol-sheet .ol .pt a:hover,.kol-sheet .ol li a:hover{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1.5px}
1226
- .kol-sheet .ol .mh .meta{margin-left:auto;font-family:var(--mono);font-weight:400;font-size:12px;color:var(--muted)}
1298
+ .kol-sheet .ol .mh .meta{margin-left:auto;font-family:var(--mono);font-weight:400;font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);color:var(--muted)}
1227
1299
  .kol-sheet .ol details.ph{margin-left:24px}
1228
- .kol-sheet .ol summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:4px 8px;font-size:13.5px;line-height:1.45;cursor:pointer;list-style:none;border-radius:6px}
1300
+ .kol-sheet .ol summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:4px 8px;font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5);cursor:pointer;list-style:none;border-radius:6px}
1229
1301
  .kol-sheet .ol summary::-webkit-details-marker{display:none}
1230
1302
  .kol-sheet .ol summary::before{content:"";flex:none;width:6px;height:6px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg);align-self:center}
1231
1303
  .kol-sheet .ol details[open]>summary::before{transform:rotate(45deg)}
1232
1304
  .kol-sheet .ol details.empty>summary{cursor:default}
1233
1305
  .kol-sheet .ol details.empty>summary::before{visibility:hidden}
1234
1306
  .kol-sheet .ol .pt a{color:var(--ink);text-decoration:none;font-weight:600}
1235
- .kol-sheet .ol .mk{font-size:12px}
1236
- .kol-sheet .ol .cnt{margin-left:auto;font-family:var(--mono);font-size:12px;color:var(--muted)}
1307
+ .kol-sheet .ol .mk{font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6)}
1308
+ .kol-sheet .ol .cnt{margin-left:auto;font-family:var(--mono);font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);color:var(--muted)}
1237
1309
  .kol-sheet .ol ul{margin:0 0 4px;padding:0 10px 2px 34px;list-style:none}
1238
- .kol-sheet .ol li{margin:4px 0;font-size:13px;line-height:1.5}
1310
+ .kol-sheet .ol li{margin:4px 0;font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5)}
1239
1311
  .kol-sheet .ol li a{color:var(--ink);text-decoration:none}
1240
- .kol-sheet .ol li .tn{display:inline-block;min-width:44px;font-family:var(--mono);font-size:11.5px;color:var(--muted)}
1312
+ .kol-sheet .ol li .tn{display:inline-block;min-width:44px;font-family:var(--mono);font-size:var(--kol-ramp-size-l7);line-height:var(--kol-ramp-line-height-l7);color:var(--muted)}
1241
1313
  .kol-sheet.proj{--g:64px;--ti:var(--g);--measure:calc(var(--edge) - var(--g));padding-left:var(--g)}
1242
1314
  .kol-sheet.proj .num{display:inline-block;width:var(--g);margin-left:calc(-1 * var(--g));font-variant-numeric:tabular-nums}
1243
1315
  .kol-sheet.proj h1,.kol-sheet.proj h1+p{margin-left:calc(-1 * var(--g))}
@@ -1245,13 +1317,13 @@
1245
1317
  .kol-sheet.proj h2{padding-left:0}
1246
1318
  .kol-sheet.proj h3 .num{color:var(--muted);font-weight:500}
1247
1319
  .kol-sheet.proj h3{margin-bottom:6px}
1248
- .kol-sheet.proj h4{font-family:var(--body);font-size:15.5px;font-weight:600;letter-spacing:0;margin:26px 0 4px;line-height:1.4}
1320
+ .kol-sheet.proj h4{font-family:var(--body);font-size:var(--kol-ramp-size-l4);line-height:var(--kol-ramp-line-height-l4);font-weight:600;letter-spacing:0;margin:26px 0 4px}
1249
1321
  .kol-sheet.proj h4 .num{font-family:var(--mono);font-size:12px;font-weight:400;color:var(--muted);vertical-align:1px}
1250
1322
  .kol-sheet.proj h4.done::after{content:" \2713"}
1251
1323
  .kol-sheet.proj h4+p{margin-top:2px}
1252
- .kol-sheet.proj p.tb{font-size:14.5px;color:color-mix(in srgb,var(--ink) 70%,transparent)}
1324
+ .kol-sheet.proj p.tb{font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5);color:color-mix(in srgb,var(--ink) 70%,transparent)}
1253
1325
  .kol-sheet.proj h4,.kol-sheet.proj p.tb{margin-left:var(--ti)}
1254
- .kol-sheet.proj ul.tb,.kol-sheet.proj ol.tb{margin-left:calc(var(--ti) + 2px);padding-left:18px;font-size:14.5px;color:color-mix(in srgb,var(--ink) 70%,transparent)}
1326
+ .kol-sheet.proj ul.tb,.kol-sheet.proj ol.tb{margin-left:calc(var(--ti) + 2px);padding-left:18px;font-size:var(--kol-ramp-size-t5);line-height:var(--kol-ramp-line-height-t5);color:color-mix(in srgb,var(--ink) 70%,transparent)}
1255
1327
  .kol-sheet.proj .tb strong{color:var(--ink)}
1256
1328
  .kol-sheet.proj h1 .num,.kol-sheet.proj h2 .num{width:auto;margin-left:0;margin-right:1em}
1257
1329
  .kol-sheet.proj h2 .num{color:var(--accent)}
@@ -1275,8 +1347,8 @@
1275
1347
  .kol-sheet h2:has(+ [data-embed^="ac-"]){height:0;margin:0;padding:0;border:0;overflow:hidden}
1276
1348
  .kol-sheet .tablewrap:not(.kv){border:0;border-radius:0;margin:24px 0}
1277
1349
  .kol-sheet p+.tablewrap:not(.kv){margin-top:40px}
1278
- .kol-sheet .tablewrap:not(.kv) table{font-family:var(--mono);font-size:12px;line-height:1.4}
1279
- .kol-sheet .tablewrap:not(.kv) th{font-family:var(--mono);font-size:12px;font-weight:400;letter-spacing:0;line-height:1.3;color:var(--ink);background:var(--soft);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
1350
+ .kol-sheet .tablewrap:not(.kv) table{font-family:var(--mono);font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6)}
1351
+ .kol-sheet .tablewrap:not(.kv) th{font-family:var(--mono);font-size:var(--kol-ramp-size-l6);line-height:var(--kol-ramp-line-height-l6);font-weight:400;letter-spacing:0;color:var(--ink);background:var(--soft);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
1280
1352
  .kol-sheet .tablewrap:not(.kv) th:first-child{border-top-left-radius:4px}
1281
1353
  .kol-sheet .tablewrap:not(.kv) th:last-child{border-top-right-radius:4px}
1282
1354
  .kol-sheet .tablewrap:not(.kv) td{padding:12px 16px;color:var(--muted);border-bottom:1px solid color-mix(in srgb,var(--ink) 8%,transparent);font-family:var(--mono)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.225.0",
3
+ "version": "0.226.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",