@kolkrabbi/kol-theme 0.105.0 → 0.106.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-molecules.css +15 -7
- package/package.json +1 -1
|
@@ -1343,7 +1343,7 @@
|
|
|
1343
1343
|
* a fixed near-white could only ever be right on one. */
|
|
1344
1344
|
.kol-view-toggle.kol-tone-sunken, .kol-view-toggle.kol-tone-inverse { background-color: var(--kol-surface-sunken); }
|
|
1345
1345
|
.kol-view-toggle.kol-tone-sunken > button[aria-pressed="true"], .kol-view-toggle.kol-tone-inverse > button[aria-pressed="true"] { background-color: var(--kol-fg-08); }
|
|
1346
|
-
.kol-view-toggle.kol-tone-sunken > button:not([aria-pressed="true"]):hover, .kol-view-toggle.kol-tone-inverse > button:not([aria-pressed="true"]):hover { background-color: var(--kol-fg-
|
|
1346
|
+
.kol-view-toggle.kol-tone-sunken > button:not([aria-pressed="true"]):hover, .kol-view-toggle.kol-tone-inverse > button:not([aria-pressed="true"]):hover { background-color: var(--kol-fg-04); }
|
|
1347
1347
|
.kol-control.kol-tone-sunken, .kol-control.kol-tone-inverse { background-color: var(--kol-surface-sunken); }
|
|
1348
1348
|
.kol-expand.kol-tone-sunken, .kol-expand.kol-tone-inverse { background-color: var(--kol-surface-sunken); }
|
|
1349
1349
|
/* the tone's fill, one selector — nothing left to cancel (2026-08-28) */
|
|
@@ -1361,11 +1361,19 @@
|
|
|
1361
1361
|
* fg-08 chip — both LAYERED over the well (a gradient image over the fill),
|
|
1362
1362
|
* since one background cannot stack two translucent colours.
|
|
1363
1363
|
*
|
|
1364
|
-
*
|
|
1365
|
-
*
|
|
1366
|
-
*
|
|
1367
|
-
*
|
|
1368
|
-
*
|
|
1364
|
+
* REST / HOVER / SELECTED ARE ONE LADDER, THREE RUNGS (2026-08-30):
|
|
1365
|
+
*
|
|
1366
|
+
* rest the well 10.2 dark · 244.8 light
|
|
1367
|
+
* hover + fg-04 19.8 · 235.7
|
|
1368
|
+
* selected + fg-08 29.4 · 226.7
|
|
1369
|
+
*
|
|
1370
|
+
* `fg-*` already flips toward the ink, so it darkens a light well and lightens
|
|
1371
|
+
* a dark one with no help. Two things were wrong before: the wash was a
|
|
1372
|
+
* hardcoded WHITE, invisible over the light well (white on a 245 ground), and
|
|
1373
|
+
* when that was first fixed it went to an 8% wash — the same strength as
|
|
1374
|
+
* `selected`, which put hover 0.4 from selected in dark and 1.5 in light. A
|
|
1375
|
+
* hovered unselected control was indistinguishable from the selected one.
|
|
1376
|
+
* 04 and 08 are ~10 apart on both themes; the ladder reads. */
|
|
1369
1377
|
.kol-btn.kol-tone-sunken,
|
|
1370
1378
|
.kol-icon-frame.kol-tone-sunken,
|
|
1371
1379
|
.kol-theme-toggle.kol-tone-sunken {
|
|
@@ -1376,7 +1384,7 @@
|
|
|
1376
1384
|
@media (hover: hover) {
|
|
1377
1385
|
.kol-btn.kol-tone-sunken:not(.kol-btn-animate):not(:disabled):hover {
|
|
1378
1386
|
background-color: var(--kol-surface-sunken);
|
|
1379
|
-
background-image: linear-gradient(var(--kol-fg-
|
|
1387
|
+
background-image: linear-gradient(var(--kol-fg-04), var(--kol-fg-04));
|
|
1380
1388
|
color: var(--kol-fg-96);
|
|
1381
1389
|
}
|
|
1382
1390
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.106.0",
|
|
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",
|