@kolkrabbi/kol-theme 0.201.0 → 0.203.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.
@@ -43,15 +43,31 @@
43
43
  --kol-color-white: #fcfbf8;
44
44
  --kol-color-black: #0e0e11;
45
45
 
46
+ /* THE NEUTRAL RAMP (2026-10-31, W9 of the Figma library plan): every grey a surface tier uses, defined once
47
+ * and read by the surfaces in both themes, so a surface is a choice of base and the Figma library can alias
48
+ * it. Named by HSL lightness ×10. Theme-invariant, like the poles above; the computed surfaces are unchanged. */
49
+ --kol-neutral-980: #fafafa;
50
+ --kol-neutral-973: #f8f8f8;
51
+ --kol-neutral-949: #f2f2f2;
52
+ --kol-neutral-933: #eeeeee;
53
+ --kol-neutral-878: #e0e0e0;
54
+ --kol-neutral-839: #d4d4d8;
55
+ --kol-neutral-259: #424242;
56
+ --kol-neutral-129: #212121;
57
+ --kol-neutral-137: #202026;
58
+ --kol-neutral-106: #19191d;
59
+ --kol-neutral-076: #121215;
60
+ --kol-neutral-045: #0b0b0c;
61
+
46
62
  /* Surface tiers (page-level) — Light Mode (default) */
47
- --kol-surface-primary: #fafafa;
48
- --kol-surface-on-primary: #121215;
63
+ --kol-surface-primary: var(--kol-neutral-980);
64
+ --kol-surface-on-primary: var(--kol-neutral-076);
49
65
 
50
- --kol-surface-secondary: #f2f2f2;
51
- --kol-surface-on-secondary: #19191d;
66
+ --kol-surface-secondary: var(--kol-neutral-949);
67
+ --kol-surface-on-secondary: var(--kol-neutral-106);
52
68
 
53
- --kol-surface-tertiary: #ffffff;
54
- --kol-surface-on-tertiary: #0e0e11;
69
+ --kol-surface-tertiary: var(--kol-color-ab-white);
70
+ --kol-surface-on-tertiary: var(--kol-color-black);
55
71
 
56
72
  /* THE SUNKEN WELL — a step DOWN from the page, in BOTH themes (measured on
57
73
  * kol-fxr's /settings, 2026-08-30). The `sunken` tone had no token of its own
@@ -93,54 +109,54 @@
93
109
  --kol-surface-secondary-hover: rgb(from var(--kol-surface-secondary) calc(r - 8) calc(g - 8) calc(b - 8));
94
110
  --kol-surface-secondary-press: rgb(from var(--kol-surface-secondary) calc(r - 16) calc(g - 16) calc(b - 16));
95
111
 
96
- --kol-surface-inverse: #0e0e11;
97
- --kol-surface-on-inverse: #fcfbf8;
112
+ --kol-surface-inverse: var(--kol-color-black);
113
+ --kol-surface-on-inverse: var(--kol-color-white);
98
114
 
99
- --kol-surface-secondary-inverse: #212121;
100
- --kol-surface-tertiary-inverse: #424242;
115
+ --kol-surface-secondary-inverse: var(--kol-neutral-129);
116
+ --kol-surface-tertiary-inverse: var(--kol-neutral-259);
101
117
 
102
- --kol-surface-contrast: #f2f2f2;
118
+ --kol-surface-contrast: var(--kol-neutral-949);
103
119
 
104
120
  /* Surface split tokens */
105
- --kol-surface-support-split: #eeeeee;
106
- --kol-surface-support-split-inverse: #202026;
107
- --kol-surface-ab-split: #ffffff;
108
- --kol-surface-ab-split-inverse: #000000;
121
+ --kol-surface-support-split: var(--kol-neutral-933);
122
+ --kol-surface-support-split-inverse: var(--kol-neutral-137);
123
+ --kol-surface-ab-split: var(--kol-color-ab-white);
124
+ --kol-surface-ab-split-inverse: var(--kol-color-ab-black);
109
125
  }
110
126
 
111
127
  /* Dark Mode — surface overrides */
112
128
  /* (no --kol-link override here: link color is a per-repo hook, user law
113
129
  2026-07-29 — a consumer binding it owns both modes) */
114
130
  :is([data-theme="dark"], .dark) {
115
- --kol-surface-primary: #121215;
116
- --kol-surface-on-primary: #fafafa;
131
+ --kol-surface-primary: var(--kol-neutral-076);
132
+ --kol-surface-on-primary: var(--kol-neutral-980);
117
133
 
118
- --kol-surface-secondary: #19191d;
119
- --kol-surface-on-secondary: #f8f8f8;
134
+ --kol-surface-secondary: var(--kol-neutral-106);
135
+ --kol-surface-on-secondary: var(--kol-neutral-973);
120
136
 
121
- --kol-surface-tertiary: #0e0e11;
137
+ --kol-surface-tertiary: var(--kol-color-black);
122
138
  /* the well is the 96 rung in dark, not the pole — see the light block */
123
139
  --kol-surface-sunken: var(--kol-oq-ab-96);
124
140
  /* dark: rest 25 minus 8 was 17 on an 18 rail — the button vanished on hover. The well (10)
125
141
  * is the step; press is one past it. */
126
142
  --kol-surface-secondary-hover: var(--kol-surface-sunken);
127
143
  --kol-surface-secondary-press: rgb(from var(--kol-surface-sunken) calc(r - 8) calc(g - 8) calc(b - 8));
128
- --kol-surface-on-tertiary: #ffffff;
144
+ --kol-surface-on-tertiary: var(--kol-color-ab-white);
129
145
 
130
146
 
131
- --kol-surface-inverse: #fcfbf8;
132
- --kol-surface-on-inverse: #0e0e11;
147
+ --kol-surface-inverse: var(--kol-color-white);
148
+ --kol-surface-on-inverse: var(--kol-color-black);
133
149
 
134
- --kol-surface-secondary-inverse: #e0e0e0;
135
- --kol-surface-tertiary-inverse: #d4d4d8;
150
+ --kol-surface-secondary-inverse: var(--kol-neutral-878);
151
+ --kol-surface-tertiary-inverse: var(--kol-neutral-839);
136
152
 
137
- --kol-surface-contrast: #0b0b0c;
153
+ --kol-surface-contrast: var(--kol-neutral-045);
138
154
 
139
155
  /* Surface split tokens - Dark Mode */
140
- --kol-surface-support-split: #202026;
141
- --kol-surface-support-split-inverse: #eeeeee;
142
- --kol-surface-ab-split: #000000;
143
- --kol-surface-ab-split-inverse: #ffffff;
156
+ --kol-surface-support-split: var(--kol-neutral-137);
157
+ --kol-surface-support-split-inverse: var(--kol-neutral-933);
158
+ --kol-surface-ab-split: var(--kol-color-ab-black);
159
+ --kol-surface-ab-split-inverse: var(--kol-color-ab-white);
144
160
  }
145
161
 
146
162
  /* UI STATE — dark tier. The base ladder (kol-color.css) is authored for
@@ -164,35 +180,35 @@
164
180
  * data-theme (any value) vetoes the OS. MIRROR of the block above — edit both. */
165
181
  @media (prefers-color-scheme: dark) {
166
182
  :root:not([data-theme]) {
167
- --kol-surface-primary: #121215;
168
- --kol-surface-on-primary: #fafafa;
183
+ --kol-surface-primary: var(--kol-neutral-076);
184
+ --kol-surface-on-primary: var(--kol-neutral-980);
169
185
 
170
- --kol-surface-secondary: #19191d;
171
- --kol-surface-on-secondary: #f8f8f8;
186
+ --kol-surface-secondary: var(--kol-neutral-106);
187
+ --kol-surface-on-secondary: var(--kol-neutral-973);
172
188
 
173
- --kol-surface-tertiary: #0e0e11;
189
+ --kol-surface-tertiary: var(--kol-color-black);
174
190
  /* the well is the 96 rung in dark, not the pole — see the light block */
175
191
  --kol-surface-sunken: var(--kol-oq-ab-96);
176
192
  /* dark: rest 25 minus 8 was 17 on an 18 rail — the button vanished on hover. The well (10)
177
193
  * is the step; press is one past it. */
178
194
  --kol-surface-secondary-hover: var(--kol-surface-sunken);
179
195
  --kol-surface-secondary-press: rgb(from var(--kol-surface-sunken) calc(r - 8) calc(g - 8) calc(b - 8));
180
- --kol-surface-on-tertiary: #ffffff;
196
+ --kol-surface-on-tertiary: var(--kol-color-ab-white);
181
197
 
182
198
 
183
- --kol-surface-inverse: #fcfbf8;
184
- --kol-surface-on-inverse: #0e0e11;
199
+ --kol-surface-inverse: var(--kol-color-white);
200
+ --kol-surface-on-inverse: var(--kol-color-black);
185
201
 
186
- --kol-surface-secondary-inverse: #e0e0e0;
187
- --kol-surface-tertiary-inverse: #d4d4d8;
202
+ --kol-surface-secondary-inverse: var(--kol-neutral-878);
203
+ --kol-surface-tertiary-inverse: var(--kol-neutral-839);
188
204
 
189
- --kol-surface-contrast: #0b0b0c;
205
+ --kol-surface-contrast: var(--kol-neutral-045);
190
206
 
191
207
  /* Surface split tokens - Dark Mode */
192
- --kol-surface-support-split: #202026;
193
- --kol-surface-support-split-inverse: #eeeeee;
194
- --kol-surface-ab-split: #000000;
195
- --kol-surface-ab-split-inverse: #ffffff;
208
+ --kol-surface-support-split: var(--kol-neutral-137);
209
+ --kol-surface-support-split-inverse: var(--kol-neutral-933);
210
+ --kol-surface-ab-split: var(--kol-color-ab-black);
211
+ --kol-surface-ab-split-inverse: var(--kol-color-ab-white);
196
212
 
197
213
  /* UI STATE — dark tier (mirror of the block above — edit both) */
198
214
  --ui-error: #F87171;
@@ -1476,18 +1476,112 @@ a.kol-icon-frame {
1476
1476
  .kol-tabs-scroll > * { flex: none; min-width: 100%; }
1477
1477
 
1478
1478
  /* ═══════════════════════════════════════════════════════════════
1479
- * THE FLOATING STYLE — B (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30, canvas Round 3). `variant="float"` — the
1480
- * house word for a look (user ruling 2026-10-30) — on Button, Input and the menu rows; A, today's square controls,
1481
- * stays the default. The composed float components (AppFloatNav, AccountForm's box, the signed-out Home's menu) pass it
1482
- * to their children, so a consumer never sets it by hand. Shape only — no layout, no breakpoint:
1483
- * a 44 control (44×44 icon-only) · an 18 radius (24 − the 6 inset) · a field on the page's ground inside the float box
1484
- * The box and the menu are 24 round on surface-secondary with a 6 inset — the menu's is `.kol-more-sheet-float`
1485
- * (kol-components-shell.css, beside the sheet).
1486
- * A full-round button (`radius="full"`) stays round.
1479
+ * THE FLOATING STYLE (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30; values from round 3, accepted 2026-10-31 — W16,
1480
+ * https://claude.ai/artifact/VMiZCd6QZm5PRaWc4Yy4yF). `variant="float"` — the house word for a look — on Button, Input,
1481
+ * Tooltip, SegmentedToggle, TabsRow and the menu rows; today's square controls stay the default. Capsules: height and type
1482
+ * step together (`--kol-float-h-*` · `-t-*`, kol-design-tokens.css), one size up on `pointer: coarse`.
1483
+ * The composed float components (AppFloatNav, AccountForm's box, the signed-out Home's menu) pass it to their children.
1487
1484
  * ═══════════════════════════════════════════════════════════════ */
1488
- .kol-btn-float:not(.kol-btn-radius-full),
1489
- .kol-control--float { border-radius: 18px; }
1490
- .kol-btn-float:not(.kol-btn-icon):not(.kol-btn-xs):not(.kol-btn-sm),
1491
- .kol-control--float:not(.kol-control-xs):not(.kol-control-sm) { min-height: 44px; }
1492
- .kol-btn-float.kol-btn-icon:not(.kol-btn-xs):not(.kol-btn-sm):not(.kol-btn-radius-full) { width: 44px; height: 44px; }
1493
- .kol-control--float { padding-top: 0; padding-bottom: 0; background-color: var(--kol-surface-primary); }
1485
+ .kol-btn.kol-btn-float {
1486
+ height: var(--kol-float-h-md);
1487
+ padding: 0 calc(var(--kol-float-h-md) * 0.42);
1488
+ font-size: var(--kol-float-t-md);
1489
+ line-height: 1;
1490
+ gap: 8px;
1491
+ border-radius: 999px;
1492
+ }
1493
+ .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); }
1494
+ .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); }
1495
+ .kol-btn.kol-btn-float.kol-btn-icon { width: var(--kol-float-h-md); padding: 0; }
1496
+ .kol-btn.kol-btn-float.kol-btn-icon.kol-btn-sm { width: var(--kol-float-h-sm); }
1497
+ .kol-btn.kol-btn-float.kol-btn-icon.kol-btn-lg { width: var(--kol-float-h-lg); }
1498
+ .kol-btn.kol-btn-float svg { width: var(--kol-float-ic); height: var(--kol-float-ic); }
1499
+
1500
+ /* the field: a capsule on the float's well, 16 in; KOL fields keep no focus change */
1501
+ .kol-control.kol-control--float {
1502
+ height: var(--kol-float-h-md);
1503
+ padding: 0 16px;
1504
+ border-radius: 999px;
1505
+ border-color: transparent;
1506
+ background-color: var(--kol-float-well);
1507
+ font-size: var(--kol-float-t-md);
1508
+ }
1509
+ .kol-control.kol-control--float.kol-control-sm { height: var(--kol-float-h-sm); font-size: var(--kol-float-t-sm); }
1510
+ .kol-control.kol-control--float.kol-control-lg { height: var(--kol-float-h-lg); font-size: var(--kol-float-t-lg); }
1511
+ .kol-control.kol-control--float input { font-size: inherit; line-height: normal; height: auto; }
1512
+
1513
+ /* the float Tooltip: an inverted pill */
1514
+ .kol-tooltip.kol-tooltip-float {
1515
+ height: var(--kol-float-tip-h);
1516
+ padding: 0 10px;
1517
+ border: 0;
1518
+ border-radius: 999px;
1519
+ background: var(--kol-surface-on-primary);
1520
+ color: var(--kol-surface-primary);
1521
+ font-size: var(--kol-float-tip-t);
1522
+ }
1523
+
1524
+ /* the float SegmentedToggle: a capsule track 6 in, pills 4 apart, the selected one filled with the ink */
1525
+ .kol-seg.kol-seg--float {
1526
+ height: auto;
1527
+ gap: 4px;
1528
+ padding: var(--kol-float-inset);
1529
+ border: 0;
1530
+ border-radius: 999px;
1531
+ overflow: visible;
1532
+ }
1533
+ .kol-seg--float .kol-seg-cell {
1534
+ flex: none;
1535
+ height: var(--kol-float-h-md);
1536
+ padding: 0 calc(var(--kol-float-h-md) * 0.45);
1537
+ border-radius: 999px;
1538
+ background: transparent;
1539
+ color: var(--kol-oq-64);
1540
+ font-size: var(--kol-float-t-md);
1541
+ line-height: 1;
1542
+ }
1543
+ .kol-seg--float.kol-seg--sm .kol-seg-cell { height: var(--kol-float-h-sm); padding: 0 calc(var(--kol-float-h-sm) * 0.45); font-size: var(--kol-float-t-sm); }
1544
+ .kol-seg--float.kol-seg--lg .kol-seg-cell { height: var(--kol-float-h-lg); padding: 0 calc(var(--kol-float-h-lg) * 0.45); font-size: var(--kol-float-t-lg); }
1545
+ .kol-seg--float .kol-seg-cell + .kol-seg-cell { border-left: 0; }
1546
+ .kol-seg--float .kol-seg-cell.is-active { background: var(--kol-surface-on-primary); color: var(--kol-surface-primary); }
1547
+
1548
+ /* the float TabsRow: pills 4 apart, the selected one oq-16 */
1549
+ .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); }
1550
+ .kol-tabs-float .kol-btn.kol-btn-float.kol-btn-pressed { background: var(--kol-oq-16); color: var(--kol-fg-emphasis); }
1551
+
1552
+ /* ─── THE SURFACE (`surface="solid|glass-dark|glass-light"`) — what a float is made of. `-m` marks a menu or a box (the
1553
+ * medium blur and shadow); a bar, a button or a track is small. Solid is surface-secondary lifted by the float shadow.
1554
+ * glass-dark is a dark material in either theme, so the component stamps `.dark` beside it and what sits on it takes
1555
+ * dark-theme ink. Reduced transparency → solid. No border: the rim is the glass's own edge. Each class is doubled (the
1556
+ * `.kol-menu-btn.kol-menu-btn` idiom) so it outranks the ground a later file gives its host (`.kol-more-sheet`). ─── */
1557
+ .kol-float-solid.kol-float-solid { background: var(--kol-surface-secondary); box-shadow: var(--kol-shadow-float); }
1558
+ .kol-float-glass-dark.kol-float-glass-dark {
1559
+ --kol-glass-fill: var(--kol-glass-dark-fill);
1560
+ --kol-glass-blur: var(--kol-glass-dark-blur-s);
1561
+ --kol-glass-rim: var(--kol-glass-dark-rim);
1562
+ --kol-glass-shadow: var(--kol-glass-dark-shadow-s);
1563
+ }
1564
+ .kol-float-glass-dark.kol-float-glass-dark.kol-float-m { --kol-glass-blur: var(--kol-glass-dark-blur-m); --kol-glass-shadow: var(--kol-glass-dark-shadow-m); }
1565
+ .kol-float-glass-light.kol-float-glass-light {
1566
+ --kol-glass-fill: var(--kol-glass-light-fill);
1567
+ --kol-glass-blur: var(--kol-glass-light-blur-s);
1568
+ --kol-glass-rim: var(--kol-glass-light-rim);
1569
+ --kol-glass-shadow: var(--kol-glass-light-shadow-s);
1570
+ }
1571
+ .kol-float-glass-light.kol-float-glass-light.kol-float-m { --kol-glass-blur: var(--kol-glass-light-blur-m); --kol-glass-shadow: var(--kol-glass-light-shadow-m); }
1572
+ .kol-float-glass-dark.kol-float-glass-dark,
1573
+ .kol-float-glass-light.kol-float-glass-light {
1574
+ background: var(--kol-glass-fill);
1575
+ -webkit-backdrop-filter: blur(var(--kol-glass-blur)) saturate(1.8);
1576
+ backdrop-filter: blur(var(--kol-glass-blur)) saturate(1.8);
1577
+ box-shadow: var(--kol-glass-rim), var(--kol-glass-shadow);
1578
+ color: var(--kol-fg-emphasis);
1579
+ }
1580
+ @media (prefers-reduced-transparency: reduce) {
1581
+ .kol-float-glass-dark.kol-float-glass-dark,
1582
+ .kol-float-glass-light.kol-float-glass-light {
1583
+ background: var(--kol-surface-secondary);
1584
+ -webkit-backdrop-filter: none;
1585
+ backdrop-filter: none;
1586
+ }
1587
+ }
@@ -256,9 +256,15 @@
256
256
  /* NO BORDER BY DEFAULT (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30 — the Round 3 board's menus have none); the
257
257
  * hairline is opt-in, the `menuBorder` prop of AppFloatNav and TransportPill */
258
258
  .kol-more-sheet-bordered { border: 1px solid var(--kol-oq-08); }
259
- /* THE FLOAT MENU (style B, `variant="float"` — kol-components-atoms.css): the 6 inset, rows flush, each row 14 in */
260
- .kol-more-sheet-float { padding: 6px; gap: 0; }
261
- .kol-more-sheet-float .kol-btn-float { padding-left: 14px; padding-right: 14px; }
259
+ /* THE FLOAT MENU (`variant="float"` — kol-components-atoms.css; round 3, W16 2026-10-31): r 26 (30 on touch), a 6 inset,
260
+ * pill rows 40 (48) tall, 12 in, the glyph 10 (12) off the label, the lit row oq-16. Its surface is `.kol-float-*` + `-m` */
261
+ .kol-more-sheet.kol-more-sheet-float { padding: var(--kol-float-inset); gap: 0; border-radius: var(--kol-float-menu-r); }
262
+ .kol-more-sheet-float .kol-btn.kol-btn-float.kol-btn-lg {
263
+ height: var(--kol-float-row);
264
+ padding: 0 12px;
265
+ gap: var(--kol-float-gap-ic);
266
+ }
267
+ .kol-more-sheet-float .kol-btn.kol-btn-float[aria-current="page"] { background: var(--kol-oq-16); color: var(--kol-fg-emphasis); }
262
268
  .kol-phone-nav-more {
263
269
  position: fixed;
264
270
  left: 12px;
@@ -155,6 +155,42 @@
155
155
  * an elevation ramp, so it has no dark mirror below */
156
156
  --kol-shadow-float: 0 8px 24px -8px rgba(0, 0, 0, 0.4), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
157
157
 
158
+ /* THE TWO GLASSES (W16, round 3 — https://claude.ai/artifact/VMiZCd6QZm5PRaWc4Yy4yF, accepted 2026-10-31: *"both glass
159
+ * styles"*). Materials, not theme tiers: either one in either theme (his ruling 2026-10-30). `s` is a bar, a button, a
160
+ * track; `m` a menu or a box. Worn through `.kol-float-glass-dark` / `-light` (kol-components-atoms.css), never inline.
161
+ * glass-dark is Apple's dark recipe (iOS 27 kit); glass-light is round 1's light tint. */
162
+ --kol-glass-dark-fill: rgb(26 26 26 / 0.62);
163
+ --kol-glass-dark-blur-s: 6px;
164
+ --kol-glass-dark-blur-m: 16px;
165
+ --kol-glass-dark-rim: inset 0 0 0 0.5px rgb(255 255 255 / 0.2), inset 1.25px 1px 0 -0.75px rgb(255 255 255 / 0.3), inset 0 -10px 10px -10px rgb(0 0 0 / 0.3);
166
+ --kol-glass-dark-shadow-s: 0 8px 15px rgb(0 0 0 / 0.04);
167
+ --kol-glass-dark-shadow-m: 0 8px 48px rgb(0 0 0 / 0.45);
168
+ --kol-glass-light-fill: rgb(236 236 232 / 0.1);
169
+ --kol-glass-light-blur-s: 6px;
170
+ --kol-glass-light-blur-m: 6px;
171
+ --kol-glass-light-rim: inset 0 0 0 0.5px rgb(255 255 255 / 0.22), inset 1.25px 1px 0 -0.75px rgb(255 255 255 / 0.35), inset -1.25px -1px 0 -0.75px rgb(255 255 255 / 0.18), inset 0 -10px 10px -10px rgb(0 0 0 / 0.25);
172
+ --kol-glass-light-shadow-s: 0 8px 15px rgb(0 0 0 / 0.04);
173
+ --kol-glass-light-shadow-m: 0 8px 15px rgb(0 0 0 / 0.04);
174
+
175
+ /* THE FLOAT SIZES (W16, round 3): height and type step together; the touch row is below (`pointer: coarse`).
176
+ * h · t = Button / Input / SegmentedToggle / TabsRow `variant="float"` per size · ic its glyph · row the menu row ·
177
+ * menu-r the menu's round, inset its pad · tip the float Tooltip */
178
+ --kol-float-h-sm: 28px;
179
+ --kol-float-h-md: 36px;
180
+ --kol-float-h-lg: 44px;
181
+ --kol-float-t-sm: 12px;
182
+ --kol-float-t-md: 13px;
183
+ --kol-float-t-lg: 14px;
184
+ --kol-float-ic: 18px;
185
+ --kol-float-row: 40px;
186
+ --kol-float-gap-ic: 10px;
187
+ --kol-float-menu-r: 26px;
188
+ --kol-float-inset: 6px;
189
+ --kol-float-tip-h: 24px;
190
+ --kol-float-tip-t: 11px;
191
+ /* the field's well, on whatever float holds it — the light tier; dark below */
192
+ --kol-float-well: rgb(0 0 0 / 0.06);
193
+
158
194
  /* Transitions (consistent timing) */
159
195
  --kol-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
160
196
  --kol-transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
@@ -186,6 +222,28 @@
186
222
  --kol-shadow-lg: 0 10px 15px rgba(255, 255, 255, 0.08);
187
223
  --kol-shadow-xl: 0 20px 25px rgba(255, 255, 255, 0.1);
188
224
  --kol-shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.04);
225
+ --kol-float-well: rgb(0 0 0 / 0.35);
226
+ }
227
+ /* a light subtree inside a dark page keeps the light well */
228
+ [data-theme="light"],
229
+ .light { --kol-float-well: rgb(0 0 0 / 0.06); }
230
+
231
+ /* THE FLOAT ON TOUCH (W16, round 3) — a finger gets the next height up and a step of type */
232
+ @media (pointer: coarse) {
233
+ :root {
234
+ --kol-float-h-sm: 36px;
235
+ --kol-float-h-md: 44px;
236
+ --kol-float-h-lg: 52px;
237
+ --kol-float-t-sm: 13px;
238
+ --kol-float-t-md: 15px;
239
+ --kol-float-t-lg: 16px;
240
+ --kol-float-ic: 20px;
241
+ --kol-float-row: 48px;
242
+ --kol-float-gap-ic: 12px;
243
+ --kol-float-menu-r: 30px;
244
+ --kol-float-tip-h: 28px;
245
+ --kol-float-tip-t: 12px;
246
+ }
189
247
  }
190
248
 
191
249
  /* the overlay inset steps up with the chrome inset (--kol-pad-overlay, above) */
@@ -202,6 +260,7 @@
202
260
  --kol-shadow-lg: 0 10px 15px rgba(255, 255, 255, 0.08);
203
261
  --kol-shadow-xl: 0 20px 25px rgba(255, 255, 255, 0.1);
204
262
  --kol-shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.04);
263
+ --kol-float-well: rgb(0 0 0 / 0.35);
205
264
  }
206
265
  }
207
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.201.0",
3
+ "version": "0.203.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",