@kolkrabbi/kol-theme 0.77.0 → 0.78.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 +28 -0
- package/package.json +1 -1
|
@@ -1286,3 +1286,31 @@
|
|
|
1286
1286
|
margin-inline: auto;
|
|
1287
1287
|
padding: 24px;
|
|
1288
1288
|
}
|
|
1289
|
+
|
|
1290
|
+
/* ─────────────────────────────────────────────────────────────────────
|
|
1291
|
+
* TONE — inverse (ControlToneInverse, kol-website 2026-08-27; user on brand's
|
|
1292
|
+
* /icons over a `pageWash` of fg-04: "a flipped version of this color scheme,
|
|
1293
|
+
* where the darker is background and grey is the active … it would fit better
|
|
1294
|
+
* on the light grey" — "that would also need to be a variant for the dropdown
|
|
1295
|
+
* and the input" — "the active grey can be lighter"). On a washed plane the
|
|
1296
|
+
* default grey well reads as a second plate. `tone="inverse"` on ViewToggle
|
|
1297
|
+
* (icon) · Dropdown · Input · SearchInput stamps `.kol-tone-inverse`; the rules
|
|
1298
|
+
* live HERE, after every default they out-rank, so a consumer never restates
|
|
1299
|
+
* them (brand's stopgap did).
|
|
1300
|
+
*
|
|
1301
|
+
* The chip is `fg-absolute-24` — theme-invariant black, as the icon well's
|
|
1302
|
+
* active state already was — so it darkens on either theme; the active chip
|
|
1303
|
+
* takes the lighter grey (surface-tertiary); a dark well wants a LIGHTER hover,
|
|
1304
|
+
* so the inactive hover is an absolute-white wash.
|
|
1305
|
+
* ───────────────────────────────────────────────────────────────────── */
|
|
1306
|
+
.kol-view-toggle.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
|
1307
|
+
.kol-view-toggle.kol-tone-inverse > button[aria-pressed="true"] { background-color: var(--kol-surface-tertiary); }
|
|
1308
|
+
.kol-view-toggle.kol-tone-inverse > button:not([aria-pressed="true"]):hover { background-color: color-mix(in srgb, var(--kol-color-absolute-white) 8%, transparent); }
|
|
1309
|
+
.kol-control.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
|
1310
|
+
.kol-expand.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
|
1311
|
+
/* the trigger: rest and open are its only states — the pin-back rules above
|
|
1312
|
+
* paint surface-secondary on hover/active, so the inverse pins its own chip */
|
|
1313
|
+
.kol-dd-trigger.kol-tone-inverse,
|
|
1314
|
+
.kol-dd-trigger.kol-tone-inverse:not(:disabled):hover,
|
|
1315
|
+
.kol-dd-trigger.kol-tone-inverse:not(:disabled):active { background-color: var(--kol-fg-absolute-24); }
|
|
1316
|
+
.kol-dd-panel.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.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",
|