@kolkrabbi/kol-theme 0.221.0 → 0.223.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.
|
@@ -169,7 +169,8 @@
|
|
|
169
169
|
padding-inline: calc(var(--kol-spacing-1) + 1px - var(--kol-tone-panel-border-w, 0px));
|
|
170
170
|
overflow-y: auto;
|
|
171
171
|
min-height: 0;
|
|
172
|
-
|
|
172
|
+
/* the rows sit `--kol-spacing-0-5` apart (Dropdown.jsx, 2026-11-12), so the ceiling counts the gaps between them */
|
|
173
|
+
max-height: calc(var(--kol-dd-max-rows, 10) * var(--kol-dd-row-h, 2rem) + (var(--kol-dd-max-rows, 10) - 1) * var(--kol-spacing-0-5) + var(--kol-spacing-1) * 2);
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
/* THE MENU PANEL (the Menu* family, metric Round 4, 2026-10-31) — `Menu`'s panel: it floats under the caller's
|
|
@@ -191,19 +192,23 @@
|
|
|
191
192
|
padding: var(--kol-spacing-1);
|
|
192
193
|
box-shadow: var(--kol-shadow-float);
|
|
193
194
|
}
|
|
194
|
-
/* the row: tall (38), inset by the panel's 4, ink one step down until hovered
|
|
195
|
-
*
|
|
195
|
+
/* the row: tall (38), inset by the panel's 4, ink one step down until hovered. HOVER IS THE ONLY FILL (plan-2026-11-12
|
|
196
|
+
* W11.1 — *"what did I also say now 5 times about hover states and gaps?"*): hovered, keyboard-focused or opened it fills;
|
|
197
|
+
* the current row takes the ink and its dot, no fill. Rows sit `--kol-spacing-0-5` apart (the containers' gap), so two
|
|
198
|
+
* fills never touch. Two classes so it outranks the row's own `text-body` utility. */
|
|
196
199
|
.kol-menu-panel .kol-menu-row {
|
|
197
200
|
height: 38px;
|
|
198
201
|
padding-inline: var(--kol-spacing-3);
|
|
199
202
|
border-radius: 6px;
|
|
200
203
|
color: var(--kol-fg-88);
|
|
201
204
|
}
|
|
205
|
+
.kol-menu-panel .kol-menu-row--current { color: var(--kol-fg-96); }
|
|
202
206
|
.kol-menu-panel .kol-menu-row:hover,
|
|
203
|
-
.kol-menu-panel .kol-menu-row
|
|
207
|
+
.kol-menu-panel .kol-menu-row:focus-visible,
|
|
204
208
|
.kol-menu-panel .kol-menu-row[aria-expanded="true"] {
|
|
205
209
|
color: var(--kol-fg-96);
|
|
206
210
|
background-color: var(--kol-oq-16);
|
|
211
|
+
outline: none;
|
|
207
212
|
}
|
|
208
213
|
/* a rule runs edge to edge — through the panel's 4px inset. MenuDivider is the Divider atom (2026-11-07): the ink is
|
|
209
214
|
* its inner line's */
|
|
@@ -807,14 +807,18 @@
|
|
|
807
807
|
background: var(--kol-fg-04);
|
|
808
808
|
color: var(--kol-surface-on-primary);
|
|
809
809
|
}
|
|
810
|
-
/* Selected =
|
|
811
|
-
|
|
810
|
+
/* Selected = fg-12 (white 12% in dark, ink 12% in light), its name at full
|
|
811
|
+
emphasis — the user's pick from the selected-row board, 2026-11-12 (it was
|
|
812
|
+
an accent mix at 26%). Fill only, no stroke; the glyph on oq-96 (icons take oq:
|
|
813
|
+
translucent fg strokes show their overlaps). A selected container tints its expanded children block
|
|
814
|
+
one step down the ladder (fg-08; was accent 11%). Hover stays fg-04. */
|
|
812
815
|
.kol-layer-stack-row.is-active {
|
|
813
|
-
background:
|
|
816
|
+
background: var(--kol-fg-12);
|
|
814
817
|
color: var(--kol-fg-emphasis);
|
|
815
818
|
}
|
|
819
|
+
.kol-layer-stack-row.is-active .kol-layer-stack-icon { color: var(--kol-oq-96); }
|
|
816
820
|
.kol-layer-stack-row.is-tinted {
|
|
817
|
-
background:
|
|
821
|
+
background: var(--kol-fg-08);
|
|
818
822
|
}
|
|
819
823
|
/* Hidden layer — dim the icon + name only; the slashed eye stays legible. */
|
|
820
824
|
.kol-layer-stack-row.is-hidden .kol-layer-stack-main { opacity: 0.4; }
|
package/kol-components-shell.css
CHANGED
|
@@ -329,6 +329,8 @@
|
|
|
329
329
|
.kol-tool-rail .kol-btn.kol-btn-float.kol-tool-search { height: var(--kol-float-row); }
|
|
330
330
|
/* RailFlyout: 34 rows on the list round, 12 in, the glyph 12 off the label */
|
|
331
331
|
.kol-rail-flyout .kol-btn.kol-btn-float { height: 34px; padding: 0 12px; gap: 12px; border-radius: var(--kol-float-list-r); font-size: var(--kol-float-t-sm); }
|
|
332
|
+
/* its current row takes the ink and its dot, NO fill — hover is the only fill in a list (plan-2026-11-12 W11.1) */
|
|
333
|
+
.kol-float-chrome.kol-rail-flyout .kol-btn.kol-btn-float[aria-current="page"]:not(.kol-dd-trigger):not(:hover):not(:focus-visible) { background: transparent; }
|
|
332
334
|
/* the float Slider's track fills a dock's column */
|
|
333
335
|
.kol-progress-dock .kol-slider-float { width: 100%; }
|
|
334
336
|
|
package/kol-design-tokens.css
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
:root {
|
|
11
11
|
/* Spacing scale (4px base) */
|
|
12
|
+
--kol-spacing-0-5: 0.125rem; /* 2px — the gap between list rows, so two fills never touch (2026-11-12) */
|
|
12
13
|
--kol-spacing-1: 0.25rem; /* 4px */
|
|
13
14
|
--kol-spacing-2: 0.5rem; /* 8px */
|
|
14
15
|
--kol-spacing-3: 0.75rem; /* 12px */
|