@kolkrabbi/kol-theme 0.219.0 → 0.221.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.
|
@@ -2666,15 +2666,19 @@ article[role="button"]:focus-visible {
|
|
|
2666
2666
|
font-family: var(--kol-font-family-float);
|
|
2667
2667
|
}
|
|
2668
2668
|
.kol-menu-panel.kol-menu-panel--float.kol-menu-panel--sheet { border-radius: var(--kol-float-menu-r); padding: var(--kol-float-inset); }
|
|
2669
|
-
/* the row:
|
|
2669
|
+
/* the row: `--kol-float-list-row` tall, 12 in, radius 6, Inter 12 at fg-88. HOVER IS THE ONLY FILL (plan-2026-11-12-float-system
|
|
2670
|
+
* W3.1, P2 — *"figma … dosnt highlight selected, only hover"*): hovered, keyboard-focused or opened it lifts on
|
|
2671
|
+
* `--kol-float-row-hover`; the current row takes the ink and its dot, on `--kol-float-row-selected` (none). The two state
|
|
2672
|
+
* tokens are set here, on the panel, so the fg ladder resolves for the panel's theme. */
|
|
2673
|
+
.kol-menu-panel--float { --kol-float-row-hover: var(--kol-fg-16); --kol-float-row-selected: transparent; }
|
|
2670
2674
|
.kol-menu-panel--float .kol-menu-row {
|
|
2671
|
-
height:
|
|
2675
|
+
height: var(--kol-float-list-row); padding-inline: 12px; border-radius: 6px; gap: 8px; color: var(--kol-fg-88);
|
|
2672
2676
|
font-family: var(--kol-font-family-float); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: normal; text-transform: none;
|
|
2673
2677
|
}
|
|
2678
|
+
.kol-menu-panel--float .kol-menu-row--current { background-color: var(--kol-float-row-selected); color: var(--kol-fg-emphasis); }
|
|
2674
2679
|
.kol-menu-panel--float .kol-menu-row:hover,
|
|
2675
|
-
.kol-menu-panel--float .kol-menu-row
|
|
2676
|
-
.kol-menu-panel--float .kol-menu-row[aria-expanded="true"] { background-color: var(--kol-
|
|
2677
|
-
.kol-menu-panel--float .kol-menu-row:focus-visible { outline: none; box-shadow: var(--kol-float-focus); }
|
|
2680
|
+
.kol-menu-panel--float .kol-menu-row:focus-visible,
|
|
2681
|
+
.kol-menu-panel--float .kol-menu-row[aria-expanded="true"] { background-color: var(--kol-float-row-hover); color: var(--kol-fg-emphasis); outline: none; }
|
|
2678
2682
|
.kol-menu-panel--float .kol-menu-row:disabled { opacity: 0.4; }
|
|
2679
2683
|
/* the destructive row (row 50): `MenuRow tone="danger"` — the error ink, the same lift */
|
|
2680
2684
|
.kol-menu-panel .kol-menu-row.kol-menu-row--danger { color: var(--ui-error); }
|
package/kol-components-shell.css
CHANGED
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
same width as we just set"*); it ramped 264 · 320 from 1536 until then */
|
|
26
26
|
--kol-shell-rail-open: 380px;
|
|
27
27
|
/* THE FLOAT RAIL'S FOOTPRINTS (float-everything W9 row 144, 2026-11-04 — the exploration's `Navigation layout
|
|
28
|
-
* footprints`): expanded 280 · rail 72 · hidden 0, beside the app rail's 48 / 380 above and the site rail's 240
|
|
28
|
+
* footprints`): expanded 264 (the default float Rail, `--kol-float-module-w`; 280 until his ruling 2026-11-12) · rail 72 · hidden 0, beside the app rail's 48 / 380 above and the site rail's 240
|
|
29
29
|
* (kol-framework `--kol-sidenav-w`). Pinned states reflow the content; overlays (RailTrigger's card, RailFlyout) never. */
|
|
30
|
-
--kol-shell-float-rail-open:
|
|
30
|
+
--kol-shell-float-rail-open: var(--kol-float-module-w, 264px);
|
|
31
31
|
--kol-shell-float-rail-width: 72px;
|
|
32
32
|
--kol-shell-float-rail-hidden: 0px;
|
|
33
33
|
/* Page gutter — PageShell's padding and PageBleed's negative margin.
|
package/kol-design-tokens.css
CHANGED
|
@@ -205,10 +205,11 @@
|
|
|
205
205
|
--kol-float-ic-sm: 14px;
|
|
206
206
|
--kol-float-ic-md: 16px;
|
|
207
207
|
--kol-float-ic-lg: 18px;
|
|
208
|
-
/* the
|
|
209
|
-
*
|
|
210
|
-
|
|
211
|
-
--kol-float-module-w
|
|
208
|
+
/* the float Rail widths — 264 and 360, nothing else (his ruling 2026-11-12, P1 LAW: *"264 AND 360"*): 264 the default
|
|
209
|
+
* Rail (NavRail float expanded, PropertyRail, ReadingContents, the inspector slot), 360 the wide Rail (Labs params, the
|
|
210
|
+
* generator Rails). Replaced 272 · 280 · 352 · 384 */
|
|
211
|
+
--kol-float-module-w: 264px;
|
|
212
|
+
--kol-float-module-w-wide: 360px;
|
|
212
213
|
/* the module's rows: the label column of a LabeledControl float `inline` row and its gap to the control; the
|
|
213
214
|
* regular rhythm between rows (compact is spacing-2); the folded module's pill */
|
|
214
215
|
--kol-float-label-w: 110px;
|