@kolkrabbi/kol-theme 0.219.0 → 0.220.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: 34 tall, 12 in, radius 6, Inter 12 at fg-88; hovered, current or opened it lifts on fg-16 */
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: 34px; padding-inline: 12px; border-radius: 6px; gap: 8px; color: var(--kol-fg-88);
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--current,
2676
- .kol-menu-panel--float .kol-menu-row[aria-expanded="true"] { background-color: var(--kol-fg-16); color: var(--kol-fg-emphasis); }
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.219.0",
3
+ "version": "0.220.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",