@kolkrabbi/kol-theme 0.149.0 → 0.151.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.
@@ -182,8 +182,15 @@
182
182
  display: inline-flex;
183
183
  align-items: center;
184
184
  gap: 6px;
185
- background: var(--kol-surface-secondary);
186
- border: 1px solid var(--kol-oq-04);
185
+ /* the ambient tone's FLOATING surface and ink when the trigger sits in one (Tooltip copies the
186
+ * resolved `--kol-tone-*` onto the portalled panel, as Dropdown does) — `panel-bg`, not `bg`: it is
187
+ * what a floating thing of that tone paints (outline / ghost paint the ground, never transparent);
188
+ * its own surface otherwise */
189
+ background: var(--kol-tone-panel-bg, var(--kol-surface-secondary));
190
+ color: var(--kol-tone-fg, var(--kol-fg-emphasis));
191
+ /* the hairline IS the edge (user, 2026-09-26): a same-toned surface over the page reads only by
192
+ * its border — oq-04 did not, and the drop shadow is gone (black on a dark page showed nothing) */
193
+ border: 1px solid var(--kol-oq-08);
187
194
  border-radius: var(--kol-radius-sm);
188
195
  padding: 4px 8px;
189
196
  font-family: var(--kol-font-family-mono);
@@ -192,7 +199,6 @@
192
199
  white-space: nowrap;
193
200
  pointer-events: none;
194
201
  z-index: var(--kol-z-tooltip, 300); /* the ladder's float tier, not nav's 1000 (EditorOverlaysOnFullscreenOverlay, user ruling 2026-08-27) */
195
- box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
196
202
  }
197
203
 
198
204
  .kol-tooltip-key {
@@ -1314,6 +1320,10 @@
1314
1320
  @media (min-width: 768px) { .kol-quicklook { --kol-ql-max-w: calc(100vw - 4rem); } }
1315
1321
  /* a sized window (the corner was dragged): the body takes all of it, media centred inside */
1316
1322
  .kol-quicklook--sized { max-width: none; }
1323
+ /* IN THE PAGE (DocumentEditor `inline`, 2026-09-26): the frame fills its container instead of sizing to
1324
+ * its content inside an overlay — the notes page's editor is the page, not a window over it */
1325
+ .kol-quicklook--inline { width: 100%; height: 100%; max-width: none; }
1326
+ .kol-quicklook--inline .kol-quicklook-body { flex: 1 1 auto; min-height: 0; }
1317
1327
  /* THE HEADER'S CONTROLS WEAR THE CLOSE IDIOM (`Button variant="nav"`), whose hover wash is oq-04 —
1318
1328
  * the window's own surface, so on this header it vanished. One stop up keeps the same 4-point lift
1319
1329
  * the X shows on the page (user 2026-09-23). `.kol-btn-nav`'s tokens sit in `:where()`, so this wins. */
@@ -2148,6 +2158,21 @@
2148
2158
  * element, or inherited from a sunken wrapper */
2149
2159
  :is(.kol-view-toggle.kol-tone-sunken, .kol-view-toggle.kol-tone-inverse, .kol-tone-sunken .kol-view-toggle) button[aria-pressed="true"] { background-color: var(--kol-fg-08); }
2150
2160
  :is(.kol-view-toggle.kol-tone-sunken, .kol-view-toggle.kol-tone-inverse, .kol-tone-sunken .kol-view-toggle) button:not([aria-pressed="true"]):hover { background-color: var(--kol-fg-04); }
2161
+ /* EVERY OTHER TONE'S SELECTED SEGMENT (FoundationsTones, 2026-09-26 — user: "icon toggle in secondary
2162
+ * doesnt have a visible selected state"). The chip was a fixed `bg-fg-ab-24` — black at 24% — which
2163
+ * vanishes on secondary's near-black well. It takes SUNKEN'S RUNG, `fg-08` (the 2026-08-28 ruling, down
2164
+ * from fg-16): the tones' own `--kol-tone-active-bg` was tried first and secondary's `oq-16` read
2165
+ * "too bright" (user, same day) — that rung is a button's press, not a chip in a well. `inverted` is
2166
+ * the exception: its well is the ink colour, where an ink wash disappears, so it keeps its own active
2167
+ * paint. No tone = the fixed chip, as before. */
2168
+ :is(.kol-tone-primary, .kol-tone-secondary, .kol-tone-outline, .kol-tone-ghost, .kol-tone-grey) .kol-view-toggle button[aria-pressed="true"],
2169
+ .kol-view-toggle:is(.kol-tone-primary, .kol-tone-secondary, .kol-tone-outline, .kol-tone-ghost, .kol-tone-grey) button[aria-pressed="true"] {
2170
+ background-color: var(--kol-fg-08);
2171
+ }
2172
+ :is(.kol-tone-inverted) .kol-view-toggle button[aria-pressed="true"],
2173
+ .kol-view-toggle.kol-tone-inverted button[aria-pressed="true"] {
2174
+ background-color: var(--kol-tone-active-bg);
2175
+ }
2151
2176
  /* the open search shell — was `bg-fg-04` on the element, sunken by class */
2152
2177
  .kol-expand--open { background-color: var(--kol-tone-bg, var(--kol-fg-04)); }
2153
2178
  /* THE SEGMENTED STRIP, SUNKEN (segmented-toggle-sunken-tone, kol-client-olina
@@ -855,52 +855,6 @@
855
855
  font-weight: 500;
856
856
  }
857
857
 
858
- /* =============================================================================
859
- * RETIRED — the elder display voice (DisplayTightRamp, 2026-08-27). Four
860
- * aliases onto the ramp above, each keeping the uppercase its contract baked
861
- * in so nothing un-caps on the bump; the swap adds `uppercase` at the call
862
- * site. Tracked in docs/operations/01-release/04-retirements.md — dropped when
863
- * no repo uses them (`pnpm retirements`), the gate fails at 30 days unimported.
864
- * Elder `kol-heading-display` (never carried) → kol-sans-display-01 likewise.
865
- * ============================================================================= */
866
-
867
- /* @deprecated 2026-08-27 → kol-sans-display-01 */
868
- .kol-display-lg {
869
- font-family: var(--kol-font-family-sans-tight);
870
- font-size: var(--kol-text-display-01);
871
- line-height: 100%;
872
- font-weight: 500;
873
- text-transform: uppercase;
874
- color: var(--kol-fg-emphasis);
875
- }
876
-
877
- /* @deprecated 2026-08-27 → kol-sans-display-02 */
878
- .kol-display-section {
879
- font-family: var(--kol-font-family-sans-tight);
880
- font-size: var(--kol-text-display-02);
881
- line-height: 100%;
882
- font-weight: 500;
883
- text-transform: uppercase;
884
- }
885
-
886
- /* @deprecated 2026-08-27 → kol-sans-display-03 */
887
- .kol-display-section-sm {
888
- font-family: var(--kol-font-family-sans-tight);
889
- font-size: var(--kol-text-display-03);
890
- line-height: 100%;
891
- font-weight: 500;
892
- text-transform: uppercase;
893
- }
894
-
895
- /* @deprecated 2026-08-27 → kol-sans-display-03 */
896
- .kol-display-subsection {
897
- font-family: var(--kol-font-family-sans-tight);
898
- font-size: var(--kol-text-display-03);
899
- line-height: 100%;
900
- font-weight: 500;
901
- text-transform: uppercase;
902
- }
903
-
904
858
  /* =============================================================================
905
859
  * HEADINGS — H1+H2 sans Narrow, H3-H5 sans Compact, weight 500.
906
860
  * 01 = H1 anchor (matches prose H1). The narrow/compact boundary moved down
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.149.0",
3
+ "version": "0.151.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",