@kolkrabbi/kol-theme 0.78.0 → 0.79.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 +33 -11
- package/package.json +1 -1
|
@@ -1249,8 +1249,8 @@
|
|
|
1249
1249
|
/* ColumnBrowser resize handles (ColumnBrowserResize, kol-r2b2 2026-08-27 —
|
|
1250
1250
|
* Finder's edge handles, user ruling "that should be a set in ds"; native CSS
|
|
1251
1251
|
* `resize:` rejected). The column border already there is the visual; the
|
|
1252
|
-
* strip is the HIT AREA — 8px, invisible at rest,
|
|
1253
|
-
* pointer is captured. The x handle is a flex sibling pulled back over the
|
|
1252
|
+
* strip is the HIT AREA — 8px, invisible at rest, a centred pill on hover and
|
|
1253
|
+
* while the pointer is captured (was an fg-08 wash until 0.79.0). The x handle is a flex sibling pulled back over the
|
|
1254
1254
|
* column's right edge (net zero width); the y handle rides the root's bottom
|
|
1255
1255
|
* edge, above the horizontal scroll box so it spans the visible width. */
|
|
1256
1256
|
.kol-column-browser-resize-x {
|
|
@@ -1262,7 +1262,6 @@
|
|
|
1262
1262
|
margin-left: -8px;
|
|
1263
1263
|
cursor: col-resize;
|
|
1264
1264
|
touch-action: none;
|
|
1265
|
-
transition: background-color var(--kol-transition-fast);
|
|
1266
1265
|
}
|
|
1267
1266
|
.kol-column-browser-resize-y {
|
|
1268
1267
|
position: absolute;
|
|
@@ -1273,13 +1272,33 @@
|
|
|
1273
1272
|
height: 8px;
|
|
1274
1273
|
cursor: row-resize;
|
|
1275
1274
|
touch-action: none;
|
|
1276
|
-
transition: background-color var(--kol-transition-fast);
|
|
1277
1275
|
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1276
|
+
/* THE GRAB IS A PILL, NOT A WASH (ColumnBrowserChromeCorrections, kol-r2b2
|
|
1277
|
+
* 2026-08-28 — user: "dont show me this way to grab" · "like in the sidenav" ·
|
|
1278
|
+
* "MIDDLE smack middle" · "more smooth animation longer in and out"): the same
|
|
1279
|
+
* affordance as the framework's `.kol-sidenav-grab::before` — 0.1875rem × 2rem,
|
|
1280
|
+
* radius-full, fg-64, dead centre (pointer-following was built and rejected).
|
|
1281
|
+
* Two deliberate differences: hidden at rest rather than dim (N handles standing
|
|
1282
|
+
* at rest is noise where the SideNav has one) and 420ms rather than 150ms. */
|
|
1283
|
+
.kol-column-browser-resize-x::before,
|
|
1284
|
+
.kol-column-browser-resize-y::before {
|
|
1285
|
+
content: '';
|
|
1286
|
+
position: absolute;
|
|
1287
|
+
top: 50%;
|
|
1288
|
+
left: 50%;
|
|
1289
|
+
translate: -50% -50%;
|
|
1290
|
+
border-radius: var(--kol-radius-full);
|
|
1291
|
+
background: var(--kol-fg-64);
|
|
1292
|
+
opacity: 0;
|
|
1293
|
+
transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1294
|
+
}
|
|
1295
|
+
.kol-column-browser-resize-x::before { width: 0.1875rem; height: 2rem; }
|
|
1296
|
+
.kol-column-browser-resize-y::before { width: 2rem; height: 0.1875rem; }
|
|
1297
|
+
.kol-column-browser-resize-x:hover::before,
|
|
1298
|
+
.kol-column-browser-resize-x.is-dragging::before,
|
|
1299
|
+
.kol-column-browser-resize-y:hover::before,
|
|
1300
|
+
.kol-column-browser-resize-y.is-dragging::before {
|
|
1301
|
+
opacity: 1;
|
|
1283
1302
|
}
|
|
1284
1303
|
.kol-overlay .kol-prose {
|
|
1285
1304
|
max-width: var(--kol-content-measure);
|
|
@@ -1300,11 +1319,14 @@
|
|
|
1300
1319
|
*
|
|
1301
1320
|
* The chip is `fg-absolute-24` — theme-invariant black, as the icon well's
|
|
1302
1321
|
* active state already was — so it darkens on either theme; the active chip
|
|
1303
|
-
*
|
|
1322
|
+
* is the fg-16 ink wash (ruled on the page); a dark well wants a LIGHTER hover,
|
|
1304
1323
|
* so the inactive hover is an absolute-white wash.
|
|
1305
1324
|
* ───────────────────────────────────────────────────────────────────── */
|
|
1306
1325
|
.kol-view-toggle.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
|
1307
|
-
|
|
1326
|
+
/* the active chip is the fg-16 INK WASH (user ruling 2026-08-27 on the live page — "why are you using
|
|
1327
|
+
* absolute transparent? just use bg-fg-16"; surface-tertiary sat BELOW secondary on the dark ramp):
|
|
1328
|
+
* it lifts off the fg-absolute-24 well on both themes */
|
|
1329
|
+
.kol-view-toggle.kol-tone-inverse > button[aria-pressed="true"] { background-color: var(--kol-fg-16); }
|
|
1308
1330
|
.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
1331
|
.kol-control.kol-tone-inverse { background-color: var(--kol-fg-absolute-24); }
|
|
1310
1332
|
.kol-expand.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.79.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",
|