@kolkrabbi/kol-theme 0.210.4 → 0.211.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.
@@ -1488,11 +1488,22 @@ a.kol-icon-frame {
1488
1488
  .kol-btn.kol-btn-float {
1489
1489
  height: var(--kol-float-h-md);
1490
1490
  padding: 0 calc(var(--kol-float-h-md) * 0.42);
1491
+ font-family: var(--kol-font-family-float);
1491
1492
  font-size: var(--kol-float-t-md);
1493
+ font-weight: 500;
1492
1494
  line-height: 1;
1493
1495
  gap: 8px;
1494
1496
  border-radius: 999px;
1495
1497
  }
1498
+ /* FLOAT STATES (float-everything W0.2 · W0.7, 2026-11-04): the ground follows the tone as before; focus is a 2px ring of
1499
+ * the ink, disabled is 40%. One ladder for every float control. */
1500
+ .kol-btn.kol-btn-float:focus-visible,
1501
+ .kol-control.kol-control--float:focus-within,
1502
+ .kol-seg--float .kol-seg-cell:focus-visible,
1503
+ .kol-tabs-float .kol-btn.kol-btn-float:focus-visible { outline: none; box-shadow: var(--kol-float-focus); }
1504
+ .kol-btn.kol-btn-float:disabled,
1505
+ .kol-btn.kol-btn-float[aria-disabled="true"],
1506
+ .kol-control.kol-control--float:has(input:disabled) { opacity: 0.4; }
1496
1507
  .kol-btn.kol-btn-float.kol-btn-sm { height: var(--kol-float-h-sm); padding: 0 calc(var(--kol-float-h-sm) * 0.42); font-size: var(--kol-float-t-sm); }
1497
1508
  .kol-btn.kol-btn-float.kol-btn-lg { height: var(--kol-float-h-lg); padding: 0 calc(var(--kol-float-h-lg) * 0.42); font-size: var(--kol-float-t-lg); }
1498
1509
  .kol-btn.kol-btn-float.kol-btn-icon { width: var(--kol-float-h-md); padding: 0; }
@@ -1507,6 +1518,7 @@ a.kol-icon-frame {
1507
1518
  border-radius: 999px;
1508
1519
  border-color: transparent;
1509
1520
  background-color: var(--kol-float-well);
1521
+ font-family: var(--kol-font-family-float);
1510
1522
  font-size: var(--kol-float-t-md);
1511
1523
  }
1512
1524
  .kol-control.kol-control--float.kol-control-sm { height: var(--kol-float-h-sm); font-size: var(--kol-float-t-sm); }
@@ -1521,6 +1533,7 @@ a.kol-icon-frame {
1521
1533
  border-radius: 999px;
1522
1534
  background: var(--kol-surface-on-primary);
1523
1535
  color: var(--kol-surface-primary);
1536
+ font-family: var(--kol-font-family-float);
1524
1537
  font-size: var(--kol-float-tip-t);
1525
1538
  }
1526
1539
 
@@ -1540,6 +1553,7 @@ a.kol-icon-frame {
1540
1553
  border-radius: 999px;
1541
1554
  background: transparent;
1542
1555
  color: var(--kol-oq-64);
1556
+ font-family: var(--kol-font-family-float);
1543
1557
  font-size: var(--kol-float-t-md);
1544
1558
  line-height: 1;
1545
1559
  }
@@ -1550,7 +1564,7 @@ a.kol-icon-frame {
1550
1564
 
1551
1565
  /* the float TabsRow: pills 4 apart, the selected one oq-16 */
1552
1566
  .kol-tabs-float .kol-btn.kol-btn-float { padding: 0 calc(var(--kol-float-h-md) * 0.45); background: transparent; color: var(--kol-oq-64); }
1553
- .kol-tabs-float .kol-btn.kol-btn-float.kol-btn-pressed { background: var(--kol-oq-16); color: var(--kol-fg-emphasis); }
1567
+ .kol-tabs-float .kol-btn.kol-btn-float.kol-btn-pressed { background: var(--kol-fg-16); color: var(--kol-fg-emphasis); } /* fg-16, not oq-16: selection on a float is translucent so glass shows through (W0.3, 2026-11-04) */
1554
1568
 
1555
1569
  /* ─── THE SURFACE (`surface="solid|glass-dark|glass-light"`) — what a float is made of. `-m` marks a menu or a box (the
1556
1570
  * medium blur and shadow); a bar, a button or a track is small. Solid is surface-secondary lifted by the float shadow.
@@ -264,7 +264,7 @@
264
264
  padding: 0 12px;
265
265
  gap: var(--kol-float-gap-ic);
266
266
  }
267
- .kol-more-sheet-float .kol-btn.kol-btn-float[aria-current="page"] { background: var(--kol-oq-16); color: var(--kol-fg-emphasis); }
267
+ .kol-more-sheet-float .kol-btn.kol-btn-float[aria-current="page"] { background: var(--kol-fg-16); color: var(--kol-fg-emphasis); } /* fg-16, not oq-16 (float-everything W0.3, 2026-11-04) */
268
268
  .kol-phone-nav-more {
269
269
  position: fixed;
270
270
  left: 12px;
@@ -184,10 +184,16 @@
184
184
  --kol-float-ic: 18px;
185
185
  --kol-float-row: 40px;
186
186
  --kol-float-gap-ic: 10px;
187
- --kol-float-menu-r: 26px;
187
+ --kol-float-menu-r: 20px;
188
+ --kol-float-list-r: 8px;
189
+ --kol-float-window-r: 28px;
188
190
  --kol-float-inset: 6px;
189
191
  --kol-float-tip-h: 24px;
190
192
  --kol-float-tip-t: 11px;
193
+ /* THE FLOAT RADII (float-everything W0.1, 2026-11-04, from the exploration's own scale): a bare list 8 · a sheet or
194
+ * panel 20 (the More sheet, inspector, cards) · a window 28 · a control is a pill. menu-r was 26 (round 3). */
195
+ /* THE FLOAT FOCUS RING (W0.2): 2px of the ink, on every float control's :focus-visible. Round 3 had none. */
196
+ --kol-float-focus: 0 0 0 2px var(--kol-surface-on-primary);
191
197
  /* the field's well, on whatever float holds it — the light tier; dark below */
192
198
  --kol-float-well: rgb(0 0 0 / 0.06);
193
199
 
@@ -240,7 +246,9 @@
240
246
  --kol-float-ic: 20px;
241
247
  --kol-float-row: 48px;
242
248
  --kol-float-gap-ic: 12px;
243
- --kol-float-menu-r: 30px;
249
+ --kol-float-menu-r: 24px;
250
+ --kol-float-list-r: 10px;
251
+ --kol-float-window-r: 32px;
244
252
  --kol-float-tip-h: 28px;
245
253
  --kol-float-tip-t: 12px;
246
254
  }
package/kol-theme.css CHANGED
@@ -38,6 +38,7 @@
38
38
  @import "./kol-typography-mono.css" layer(components);
39
39
  @import "./kol-type-mono-classes.css" layer(components);
40
40
  @import "./kol-type-roles.css" layer(components);
41
+ @import "./kol-type-float-classes.css" layer(components);
41
42
  @import "./kol-utilities.css" layer(components);
42
43
  @import "./kol-components-atoms.css" layer(components);
43
44
  @import "./kol-components-molecules.css" layer(components);
@@ -0,0 +1,36 @@
1
+ /**
2
+ * kol-type-float-classes — the float style's type roles (float-everything W0.6 · W1.1, 2026-11-04).
3
+ *
4
+ * Twelve roles, Inter for the interface and JetBrains Mono for precision, carried from the exploration's
5
+ * "Complete type scale" (kol-float--style, W2.0 row 2). Each class sets family · size · weight · line-height ·
6
+ * tracking, so a float surface never reaches for a kol-sans-* or kol-mono-* class. Sizes are fixed — a float role
7
+ * is a control-sized voice, not a fluid one. The Figma text styles are `float/<role>` (library n48kE…), bound to
8
+ * `font/float` = Inter (`font/mono` for timecode and ruler).
9
+ *
10
+ * role size / weight / lh · tracking use
11
+ * display 116 / 400 / 110 · -7 the scene title on the canvas
12
+ * editorial 76 / 300 / 84 · -4.8 the scene subtitle
13
+ * sheet 38 / 500 / 44 · -1.2 a sheet's display line
14
+ * section 24 / 500 / 32 a section heading
15
+ * window 18 / 500 / 24 a window's title line
16
+ * body-lg 16 / 400 / 24 artwork body
17
+ * body 14 / 400 / 22 description
18
+ * panel 13 / 500 / 18 panel titles and control labels
19
+ * hint 12 / 400 / 18 hints and tooltips
20
+ * label 11 / 400 / 16 supporting labels
21
+ * timecode 12 / 400 / 18 mono timecode, technical readouts
22
+ * ruler 10 / 400 / 14 mono metadata, rulers
23
+ */
24
+
25
+ .kol-float-display { font-family: var(--kol-font-family-float); font-size: 116px; font-weight: 400; line-height: 110px; letter-spacing: -7px; }
26
+ .kol-float-editorial{ font-family: var(--kol-font-family-float); font-size: 76px; font-weight: 300; line-height: 84px; letter-spacing: -4.8px; }
27
+ .kol-float-sheet { font-family: var(--kol-font-family-float); font-size: 38px; font-weight: 500; line-height: 44px; letter-spacing: -1.2px; }
28
+ .kol-float-section { font-family: var(--kol-font-family-float); font-size: 24px; font-weight: 500; line-height: 32px; }
29
+ .kol-float-window { font-family: var(--kol-font-family-float); font-size: 18px; font-weight: 500; line-height: 24px; }
30
+ .kol-float-body-lg { font-family: var(--kol-font-family-float); font-size: 16px; font-weight: 400; line-height: 24px; }
31
+ .kol-float-body { font-family: var(--kol-font-family-float); font-size: 14px; font-weight: 400; line-height: 22px; }
32
+ .kol-float-panel { font-family: var(--kol-font-family-float); font-size: 13px; font-weight: 500; line-height: 18px; }
33
+ .kol-float-hint { font-family: var(--kol-font-family-float); font-size: 12px; font-weight: 400; line-height: 18px; }
34
+ .kol-float-label { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 16px; }
35
+ .kol-float-timecode { font-family: var(--kol-font-family-mono); font-size: 12px; font-weight: 400; line-height: 18px; }
36
+ .kol-float-ruler { font-family: var(--kol-font-family-mono); font-size: 10px; font-weight: 400; line-height: 14px; }
@@ -732,6 +732,7 @@
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
734
  --kol-font-family-sans: 'Right Grotesk', sans-serif;
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 */
735
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) */
736
737
  --kol-font-family-sans-narrow: 'Right Grotesk Narrow', 'Right Grotesk', sans-serif;
737
738
  --kol-font-family-sans-compact: 'Right Grotesk Compact', 'Right Grotesk', sans-serif;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.210.4",
3
+ "version": "0.211.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",