@kolkrabbi/kol-theme 0.49.0 → 0.50.1
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-molecules.css +15 -17
- package/package.json +1 -1
|
@@ -495,7 +495,6 @@
|
|
|
495
495
|
align-items: center;
|
|
496
496
|
justify-content: center;
|
|
497
497
|
padding: 6px 16px; /* md — .kol-btn-md */
|
|
498
|
-
background: transparent;
|
|
499
498
|
border: none;
|
|
500
499
|
cursor: pointer;
|
|
501
500
|
white-space: nowrap;
|
|
@@ -504,23 +503,27 @@
|
|
|
504
503
|
* overlap — oq-48 reads identical on the resting surface but stays
|
|
505
504
|
* opaque. Hover/active use fg-emphasis, which is full ink (no alpha). */
|
|
506
505
|
color: var(--kol-oq-48);
|
|
506
|
+
/* THE FILL IS THE UNSELECTED STATE (user ruling 2026-08-15 — "same exactly
|
|
507
|
+
* like before, just swapping stages"). The two treatments are unchanged;
|
|
508
|
+
* which state wears which is inverted. A rest cell is a raised tile you can
|
|
509
|
+
* press; the SELECTED one is the bare dark ground, because it is already
|
|
510
|
+
* where you are. */
|
|
511
|
+
background: var(--kol-surface-secondary);
|
|
507
512
|
transition: color var(--kol-transition-base),
|
|
508
513
|
background-color var(--kol-transition-base);
|
|
509
514
|
}
|
|
510
515
|
|
|
511
516
|
.kol-seg-cell + .kol-seg-cell { border-left: 1px solid var(--kol-fg-04); }
|
|
512
517
|
|
|
513
|
-
.
|
|
518
|
+
/* ONE STEP, not a leap. Rest is `oq-48` and hover went straight to full ink —
|
|
519
|
+
* a 48 → 100 jump that read as the cell selecting itself under the cursor.
|
|
520
|
+
* `oq-64` is the same single rung every other rest→hover pair in the estate
|
|
521
|
+
* moves by. */
|
|
522
|
+
.kol-seg-cell:hover { color: var(--kol-oq-64); }
|
|
514
523
|
|
|
515
|
-
/* SELECTED IS THE INVERSE TILE (user ruling 2026-08-15) — a near-white fill
|
|
516
|
-
* with dark ink, the same pair `/work`'s sliding pill uses (`bg-fg-96` over
|
|
517
|
-
* `surface-primary` ink). It read as `surface-secondary`, which in dark theme
|
|
518
|
-
* is a tile only a shade off the strip it sits in: the selected cell was the
|
|
519
|
-
* QUIETEST thing in the control instead of the loudest, and the unselected
|
|
520
|
-
* cells looked like the raised ones. */
|
|
521
524
|
.kol-seg-cell.is-active {
|
|
522
|
-
background:
|
|
523
|
-
color: var(--kol-
|
|
525
|
+
background: transparent;
|
|
526
|
+
color: var(--kol-fg-emphasis);
|
|
524
527
|
}
|
|
525
528
|
|
|
526
529
|
/* Reads the quiet ring token so the segmented strip is part of the system-wide
|
|
@@ -864,7 +867,6 @@
|
|
|
864
867
|
gap: var(--kol-row-gap);
|
|
865
868
|
padding: var(--kol-row-pad);
|
|
866
869
|
min-height: var(--kol-row-min-h);
|
|
867
|
-
align-items: stretch;
|
|
868
870
|
background: var(--kol-row-bg);
|
|
869
871
|
/* the FALLBACK is not optional. A variant with no frame publishes no
|
|
870
872
|
* `--kol-row-border`, and `border-color: var(--undefined)` is invalid at
|
|
@@ -882,12 +884,8 @@
|
|
|
882
884
|
.kol-row--divided {
|
|
883
885
|
border-bottom: 1px solid var(--kol-fg-08);
|
|
884
886
|
}
|
|
885
|
-
/* the token is the thumb's MINIMUM HEIGHT now — width comes from the ratio.
|
|
886
|
-
* A row taller than this (work at 160, typeface at 160) grows the thumb with
|
|
887
|
-
* it instead of leaving it stranded at the top. */
|
|
888
887
|
.kol-row > .kol-row-thumb {
|
|
889
|
-
|
|
890
|
-
width: auto;
|
|
888
|
+
width: var(--kol-row-thumb);
|
|
891
889
|
}
|
|
892
890
|
|
|
893
891
|
/* CONTAINER query, not a viewport one (2026-08-15). The row steps on the width
|
|
@@ -907,7 +905,7 @@
|
|
|
907
905
|
min-height: var(--kol-row-min-h-md, var(--kol-row-min-h));
|
|
908
906
|
}
|
|
909
907
|
.kol-row > .kol-row-thumb {
|
|
910
|
-
|
|
908
|
+
width: var(--kol-row-thumb-md, var(--kol-row-thumb));
|
|
911
909
|
}
|
|
912
910
|
}
|
|
913
911
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.1",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|