@kolkrabbi/kol-theme 0.218.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.
package/kol-components-atoms.css
CHANGED
|
@@ -1639,10 +1639,10 @@ a.kol-icon-frame {
|
|
|
1639
1639
|
.toggle-checkbox--float.is-active .toggle-checkbox-indicator { background-color: transparent; }
|
|
1640
1640
|
.toggle-checkbox--float:has(input:focus-visible) .toggle-checkbox-indicator { box-shadow: var(--kol-float-focus); }
|
|
1641
1641
|
.toggle-checkbox--float:has(input:disabled) { opacity: 0.4; }
|
|
1642
|
-
/* the slider (row 23): the float track (`.kol-track--float` tokens, above): a 3px capsule track, the run fg-64 up to the thumb (`--kol-slider-pct`, set by Slider), a 12 thumb; `--kol-slider-float-run` recolours the run (the generator Rails take the ink accent) */
|
|
1642
|
+
/* the slider (row 23; track only, at the float sm height — plan-2026-11-12-float-system W2.1): the float track (`.kol-track--float` tokens, above): a 3px capsule track, the run fg-64 up to the thumb (`--kol-slider-pct`, set by Slider), a 12 thumb; `--kol-slider-float-run` recolours the run (the generator Rails take the ink accent) */
|
|
1643
1643
|
.kol-slider-float {
|
|
1644
1644
|
-webkit-appearance: none; appearance: none;
|
|
1645
|
-
background: transparent; cursor: pointer; height:
|
|
1645
|
+
background: transparent; cursor: pointer; height: var(--kol-float-h-sm); touch-action: pan-y;
|
|
1646
1646
|
}
|
|
1647
1647
|
.kol-slider-float::-webkit-slider-runnable-track { height: var(--kol-track-h); border-radius: var(--kol-track-r); background: linear-gradient(var(--kol-track-run), var(--kol-track-run)) 0 0 / var(--kol-slider-pct, 0%) 100% no-repeat, var(--kol-track-bg); }
|
|
1648
1648
|
.kol-slider-float::-moz-range-track { height: var(--kol-track-h); border-radius: var(--kol-track-r); background: var(--kol-track-bg); }
|
|
@@ -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); }
|