@kolkrabbi/kol-theme 0.150.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.
- package/kol-components-molecules.css +28 -3
- package/package.json +1 -1
|
@@ -182,8 +182,15 @@
|
|
|
182
182
|
display: inline-flex;
|
|
183
183
|
align-items: center;
|
|
184
184
|
gap: 6px;
|
|
185
|
-
|
|
186
|
-
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "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",
|