@kolkrabbi/kol-theme 0.84.0 → 0.86.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.
@@ -1219,23 +1219,37 @@
1219
1219
  * so a consumer never restates them (brand hand-wrote the fill and GUESSED
1220
1220
  * the ink for its two icon buttons — that fork is what widening the set ends).
1221
1221
  *
1222
- * THE SET: well `fg-absolute-24` (theme-invariant black, darkens either
1223
- * theme) · active chip `fg-08` (user ruling 2026-08-28, down from the 0.78.1
1224
- * fg-16) · inactive hover absolute-white @ 8% (a dark well wants a LIGHTER
1225
- * hover) · ink `fg-96`. `.kol-tone-inverse` stays selected for any class
1222
+ * THE SET: well `fg-inverse-96` (user ruling 2026-08-28, swapped from
1223
+ * `fg-absolute-24` measured on the dark theme, where the inverse tier is the
1224
+ * one that DARKENS: on the #121215 page inverse-96 lands ~14.2 against
1225
+ * absolute-24's 13.7, half a level apart. Unlike absolute it follows the
1226
+ * theme, so the light-theme well flips to the near-white inverse anchor) ·
1227
+ * active chip `fg-08` (user ruling 2026-08-28, down from the 0.78.1 fg-16) ·
1228
+ * inactive hover absolute-white @ 8% (a dark well wants a LIGHTER hover) ·
1229
+ * ink `fg-96`. `.kol-tone-inverse` stays selected for any class
1226
1230
  * hand-stamped on the old name.
1227
1231
  * ───────────────────────────────────────────────────────────────────── */
1228
- .kol-view-toggle.kol-tone-sunken, .kol-view-toggle.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
1232
+ .kol-view-toggle.kol-tone-sunken, .kol-view-toggle.kol-tone-inverse { background-color: var(--kol-fg-inverse-96); }
1229
1233
  .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); }
1230
1234
  .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: color-mix(in srgb, var(--kol-color-absolute-white) 8%, transparent); }
1231
- .kol-control.kol-tone-sunken, .kol-control.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
1232
- .kol-expand.kol-tone-sunken, .kol-expand.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
1233
- /* the trigger: rest and open are its only states the pin-back rules above
1234
- * paint surface-secondary on hover/active, so the tone pins its own chip */
1235
+ .kol-control.kol-tone-sunken, .kol-control.kol-tone-inverse { background-color: var(--kol-fg-inverse-96); }
1236
+ .kol-expand.kol-tone-sunken, .kol-expand.kol-tone-inverse { background-color: var(--kol-fg-inverse-96); }
1237
+ /* NO HOVER STATE ON THE DROPDOWN (user ruling 2026-08-28). Rest and open are
1238
+ * its only states and the three selectors are what ENFORCE that: the base
1239
+ * `.kol-dd-trigger:hover/:active` rules paint surface-secondary, so the tone
1240
+ * re-states its own fill on all three and nothing moves. Deleting them gives
1241
+ * the hover back. */
1235
1242
  .kol-dd-trigger.kol-tone-sunken, .kol-dd-trigger.kol-tone-inverse,
1236
1243
  .kol-dd-trigger.kol-tone-sunken:not(:disabled):hover, .kol-dd-trigger.kol-tone-inverse:not(:disabled):hover,
1237
- .kol-dd-trigger.kol-tone-sunken:not(:disabled):active, .kol-dd-trigger.kol-tone-inverse:not(:disabled):active { background-color: var(--kol-fg-absolute-24); }
1238
- .kol-dd-panel.kol-tone-sunken, .kol-dd-panel.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
1244
+ .kol-dd-trigger.kol-tone-sunken:not(:disabled):active, .kol-dd-trigger.kol-tone-inverse:not(:disabled):active { background-color: var(--kol-fg-inverse-96); }
1245
+ /* THE PANEL IS OPAQUE (user 2026-08-28: "transparent doesn't work for
1246
+ * dropdown") — it floats over page content, and every `fg-*` stop is an alpha
1247
+ * wash that the content reads through. `oq-inverse-*`, the opaque tier, bakes
1248
+ * onto `surface-inverse` — the near-WHITE in dark theme — so even `oq-inverse-96`
1249
+ * lands ~23.5 against the #121215 page's 18: lighter than the page, the wrong
1250
+ * side of it. `surface-tertiary` is the flat twin of what the trigger renders:
1251
+ * #0e0e11 (14.0) in dark against the trigger's 14.2, #ffffff in light. */
1252
+ .kol-dd-panel.kol-tone-sunken, .kol-dd-panel.kol-tone-inverse { background-color: var(--kol-surface-tertiary); }
1239
1253
  /* the rest of the set — Button (icon-only especially), IconFrame, ThemeToggle:
1240
1254
  * the well, transparent edge, fg-96 ink; hover the white wash, pressed the
1241
1255
  * fg-08 chip — both LAYERED over the well (a gradient image over the fill),
@@ -1243,20 +1257,20 @@
1243
1257
  .kol-btn.kol-tone-sunken,
1244
1258
  .kol-icon-frame.kol-tone-sunken,
1245
1259
  .kol-theme-toggle.kol-tone-sunken {
1246
- background-color: var(--kol-fg-absolute-24);
1260
+ background-color: var(--kol-fg-inverse-96);
1247
1261
  border-color: transparent;
1248
1262
  color: var(--kol-fg-96);
1249
1263
  }
1250
1264
  @media (hover: hover) {
1251
1265
  .kol-btn.kol-tone-sunken:not(.kol-btn-animate):not(:disabled):hover {
1252
- background-color: var(--kol-fg-absolute-24);
1266
+ background-color: var(--kol-fg-inverse-96);
1253
1267
  background-image: linear-gradient(color-mix(in srgb, var(--kol-color-absolute-white) 8%, transparent), color-mix(in srgb, var(--kol-color-absolute-white) 8%, transparent));
1254
1268
  color: var(--kol-fg-96);
1255
1269
  }
1256
1270
  }
1257
1271
  .kol-btn.kol-tone-sunken.kol-btn-pressed,
1258
1272
  .kol-btn.kol-tone-sunken:not(:disabled):active {
1259
- background-color: var(--kol-fg-absolute-24);
1273
+ background-color: var(--kol-fg-inverse-96);
1260
1274
  background-image: linear-gradient(var(--kol-fg-08), var(--kol-fg-08));
1261
1275
  color: var(--kol-fg-96);
1262
1276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.84.0",
3
+ "version": "0.86.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",