@kolkrabbi/kol-theme 0.216.1 → 0.218.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.
|
@@ -1449,17 +1449,12 @@
|
|
|
1449
1449
|
2026-09-23: 32px gutters left a 326px reading column at 390 — now 342). The old 32 from md
|
|
1450
1450
|
up. Min-width only — breakpoints law #3 */
|
|
1451
1451
|
--kol-ql-max-w: calc(100vw - 3rem);
|
|
1452
|
-
--kol-ql-media-h: calc(var(--kol-ql-frame-h) - var(--kol-ql-header-h) - var(--kol-ql-footer-h)
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
flex-direction: column;
|
|
1452
|
+
--kol-ql-media-h: calc(var(--kol-ql-frame-h) - var(--kol-ql-header-h) - var(--kol-ql-footer-h));
|
|
1453
|
+
/* THE PANEL IS ModalShell's (W2.2, 2026-11-08): surface, radius and clip come from `.kol-overlay-panel` — the
|
|
1454
|
+
* oq-04 ground, oq-12 hairline and radius-md this rule painted were a second panel style */
|
|
1456
1455
|
width: fit-content;
|
|
1457
1456
|
min-width: min(360px, var(--kol-ql-max-w));
|
|
1458
1457
|
max-width: var(--kol-ql-max-w);
|
|
1459
|
-
background: var(--kol-oq-04);
|
|
1460
|
-
border: 1px solid var(--kol-oq-12);
|
|
1461
|
-
border-radius: var(--kol-radius-md);
|
|
1462
|
-
overflow: hidden;
|
|
1463
1458
|
}
|
|
1464
1459
|
@media (min-width: 768px) { .kol-quicklook { --kol-ql-max-w: calc(100vw - 4rem); } }
|
|
1465
1460
|
/* a sized window (the corner was dragged): the body takes all of it, media centred inside */
|
|
@@ -544,9 +544,8 @@
|
|
|
544
544
|
* on the SHEET corner, so at even padding it landed on top of the view
|
|
545
545
|
* toggle. The card reserves the lane instead of the close moving. */
|
|
546
546
|
padding: var(--kol-spacing-12) var(--kol-spacing-5) var(--kol-spacing-5);
|
|
547
|
-
/* no border (user 2026-10-20: "the border? is so ugly") — the scrim is the separation
|
|
548
|
-
|
|
549
|
-
background: var(--kol-surface-primary);
|
|
547
|
+
/* no border (user 2026-10-20: "the border? is so ugly") — the scrim is the separation. The surface and the radius
|
|
548
|
+
* are ModalShell's (W2.2, 2026-11-08): the card wears it, so this rule no longer paints a panel of its own */
|
|
550
549
|
}
|
|
551
550
|
|
|
552
551
|
/* ON A PHONE THE PICKER IS A FULL-HEIGHT SHEET (2026-10-07). The card had no phone layout:
|
|
@@ -562,7 +561,7 @@
|
|
|
562
561
|
--kol-media-picker-h: 100dvh;
|
|
563
562
|
width: 100%;
|
|
564
563
|
border: 0;
|
|
565
|
-
|
|
564
|
+
/* the radius goes on the phone: `max-md:rounded-none` at the call site (a utility out-ranks this layer) */
|
|
566
565
|
/* no bottom pad on the phone (user 2026-10-23): the body scrolls to the edge, a pad read as a clipped last row */
|
|
567
566
|
padding: var(--kol-spacing-12) var(--kol-spacing-4) 0;
|
|
568
567
|
}
|
package/kol-design-tokens.css
CHANGED
|
@@ -195,6 +195,29 @@
|
|
|
195
195
|
--kol-float-inset: 6px;
|
|
196
196
|
--kol-float-tip-h: 24px;
|
|
197
197
|
--kol-float-tip-t: 11px;
|
|
198
|
+
/* THE FLOAT SPEC (plan-2026-11-12-float-system W1.2; the law is docs/documentation/04-compositions/25-float-spec.md,
|
|
199
|
+
* `pnpm validate:float` holds the components to it). What was a literal in each component is a token here.
|
|
200
|
+
* chev the indicator (a dropdown caret, a section's fold) per control size — the layer rows' 12 at sm and md, 16 at lg
|
|
201
|
+
* (decided for his review, P3) · ic-* the adjacent glyph per size (glyphLadders.js ADJACENT) */
|
|
202
|
+
--kol-float-chev-sm: 12px;
|
|
203
|
+
--kol-float-chev-md: 12px;
|
|
204
|
+
--kol-float-chev-lg: 16px;
|
|
205
|
+
--kol-float-ic-sm: 14px;
|
|
206
|
+
--kol-float-ic-md: 16px;
|
|
207
|
+
--kol-float-ic-lg: 18px;
|
|
208
|
+
/* the module (a float Rail) widths — two, nothing else (decided for his review, P6): the inspector, and a tool Rail
|
|
209
|
+
* whose rows carry two controls (Labs' params, the generator Rails) */
|
|
210
|
+
--kol-float-module-w: 272px;
|
|
211
|
+
--kol-float-module-w-wide: 352px;
|
|
212
|
+
/* the module's rows: the label column of a LabeledControl float `inline` row and its gap to the control; the
|
|
213
|
+
* regular rhythm between rows (compact is spacing-2); the folded module's pill */
|
|
214
|
+
--kol-float-label-w: 110px;
|
|
215
|
+
--kol-float-label-gap: 8px;
|
|
216
|
+
--kol-float-module-gap: 18px;
|
|
217
|
+
--kol-float-fold-h: 40px;
|
|
218
|
+
/* the float list's row (a Dropdown's, a Menu's); its hover and selected fills are set on the list panel, where the
|
|
219
|
+
* fg ladder resolves for the panel's theme (`.kol-menu-panel--float`, kol-components-molecules.css) */
|
|
220
|
+
--kol-float-list-row: 34px;
|
|
198
221
|
/* THE FLOAT RADII (float-everything W0.1, 2026-11-04, from the exploration's own scale): a bare list 8 · a sheet or
|
|
199
222
|
* panel 20 (the More sheet, inspector, cards) · a window 28 · a control is a pill. menu-r was 26 (round 3). */
|
|
200
223
|
/* THE FLOAT FOCUS RING (W0.2): 2px of the ink, on every float control's :focus-visible. Round 3 had none. */
|
|
@@ -272,6 +295,13 @@
|
|
|
272
295
|
--kol-float-window-r: 32px;
|
|
273
296
|
--kol-float-tip-h: 28px;
|
|
274
297
|
--kol-float-tip-t: 12px;
|
|
298
|
+
--kol-float-chev-sm: 14px;
|
|
299
|
+
--kol-float-chev-md: 14px;
|
|
300
|
+
--kol-float-chev-lg: 16px;
|
|
301
|
+
--kol-float-ic-sm: 16px;
|
|
302
|
+
--kol-float-ic-md: 18px;
|
|
303
|
+
--kol-float-ic-lg: 20px;
|
|
304
|
+
--kol-float-fold-h: 48px;
|
|
275
305
|
}
|
|
276
306
|
}
|
|
277
307
|
|