@kolkrabbi/kol-theme 0.212.0 → 0.213.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 +3 -3
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -1614,14 +1614,14 @@ a.kol-icon-frame {
|
|
|
1614
1614
|
.toggle-checkbox--float.is-active .toggle-checkbox-indicator { background-color: transparent; }
|
|
1615
1615
|
.toggle-checkbox--float:has(input:focus-visible) .toggle-checkbox-indicator { box-shadow: var(--kol-float-focus); }
|
|
1616
1616
|
.toggle-checkbox--float:has(input:disabled) { opacity: 0.4; }
|
|
1617
|
-
/* the slider (row 23): a 3px capsule track, the run fg-64 up to the thumb (`--kol-slider-pct`, set by Slider), a 12 thumb */
|
|
1617
|
+
/* the slider (row 23): 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) */
|
|
1618
1618
|
.kol-slider-float {
|
|
1619
1619
|
-webkit-appearance: none; appearance: none;
|
|
1620
1620
|
background: transparent; cursor: pointer; height: 24px; touch-action: pan-y;
|
|
1621
1621
|
}
|
|
1622
|
-
.kol-slider-float::-webkit-slider-runnable-track { height: 3px; border-radius: 999px; background: linear-gradient(var(--kol-fg-64), var(--kol-fg-64)) 0 0 / var(--kol-slider-pct, 0%) 100% no-repeat, var(--kol-oq-16); }
|
|
1622
|
+
.kol-slider-float::-webkit-slider-runnable-track { height: 3px; border-radius: 999px; background: linear-gradient(var(--kol-slider-float-run, var(--kol-fg-64)), var(--kol-slider-float-run, var(--kol-fg-64))) 0 0 / var(--kol-slider-pct, 0%) 100% no-repeat, var(--kol-oq-16); }
|
|
1623
1623
|
.kol-slider-float::-moz-range-track { height: 3px; border-radius: 999px; background: var(--kol-oq-16); }
|
|
1624
|
-
.kol-slider-float::-moz-range-progress { height: 3px; border-radius: 999px; background: var(--kol-fg-64); }
|
|
1624
|
+
.kol-slider-float::-moz-range-progress { height: 3px; border-radius: 999px; background: var(--kol-slider-float-run, var(--kol-fg-64)); }
|
|
1625
1625
|
.kol-slider-float::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; border: 0; margin-top: -4.5px; background: var(--kol-fg-emphasis); }
|
|
1626
1626
|
.kol-slider-float::-moz-range-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--kol-fg-emphasis); }
|
|
1627
1627
|
.kol-slider-float:focus-visible { outline: none; }
|