@kolkrabbi/kol-theme 0.78.1 → 0.79.1
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 +36 -10
- package/package.json +1 -1
|
@@ -1029,9 +1029,16 @@
|
|
|
1029
1029
|
|
|
1030
1030
|
/* The card's rest colours, for the same reason as .kol-row — an inline
|
|
1031
1031
|
* background/borderColor outranks .kol-content-hover:hover, so the step
|
|
1032
|
-
* silently never rendered.
|
|
1032
|
+
* silently never rendered.
|
|
1033
|
+
* `background-clip: padding-box` (CardCornerLeak, kol-monitor 2026-08-28,
|
|
1034
|
+
* verified on a pixel crop): the fill and the border are both translucent
|
|
1035
|
+
* ink, and with the default border-box the fill runs UNDER the 1px border —
|
|
1036
|
+
* an opaque media child clips to the inner radius, the browser antialiases
|
|
1037
|
+
* the clip path and the border path separately, and a hairline of the
|
|
1038
|
+
* lighter fill bleeds through on the arc, bright only on the curve. */
|
|
1033
1039
|
.kol-card {
|
|
1034
1040
|
background: var(--kol-card-bg);
|
|
1041
|
+
background-clip: padding-box;
|
|
1035
1042
|
border-color: var(--kol-card-border);
|
|
1036
1043
|
transition: background-color 300ms var(--kol-ease-house),
|
|
1037
1044
|
border-color 300ms var(--kol-ease-house);
|
|
@@ -1249,8 +1256,8 @@
|
|
|
1249
1256
|
/* ColumnBrowser resize handles (ColumnBrowserResize, kol-r2b2 2026-08-27 —
|
|
1250
1257
|
* Finder's edge handles, user ruling "that should be a set in ds"; native CSS
|
|
1251
1258
|
* `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
|
|
1259
|
+
* strip is the HIT AREA — 8px, invisible at rest, a centred pill on hover and
|
|
1260
|
+
* 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
1261
|
* column's right edge (net zero width); the y handle rides the root's bottom
|
|
1255
1262
|
* edge, above the horizontal scroll box so it spans the visible width. */
|
|
1256
1263
|
.kol-column-browser-resize-x {
|
|
@@ -1262,7 +1269,6 @@
|
|
|
1262
1269
|
margin-left: -8px;
|
|
1263
1270
|
cursor: col-resize;
|
|
1264
1271
|
touch-action: none;
|
|
1265
|
-
transition: background-color var(--kol-transition-fast);
|
|
1266
1272
|
}
|
|
1267
1273
|
.kol-column-browser-resize-y {
|
|
1268
1274
|
position: absolute;
|
|
@@ -1273,13 +1279,33 @@
|
|
|
1273
1279
|
height: 8px;
|
|
1274
1280
|
cursor: row-resize;
|
|
1275
1281
|
touch-action: none;
|
|
1276
|
-
transition: background-color var(--kol-transition-fast);
|
|
1277
1282
|
}
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
+
/* THE GRAB IS A PILL, NOT A WASH (ColumnBrowserChromeCorrections, kol-r2b2
|
|
1284
|
+
* 2026-08-28 — user: "dont show me this way to grab" · "like in the sidenav" ·
|
|
1285
|
+
* "MIDDLE smack middle" · "more smooth animation longer in and out"): the same
|
|
1286
|
+
* affordance as the framework's `.kol-sidenav-grab::before` — 0.1875rem × 2rem,
|
|
1287
|
+
* radius-full, fg-64, dead centre (pointer-following was built and rejected).
|
|
1288
|
+
* Two deliberate differences: hidden at rest rather than dim (N handles standing
|
|
1289
|
+
* at rest is noise where the SideNav has one) and 420ms rather than 150ms. */
|
|
1290
|
+
.kol-column-browser-resize-x::before,
|
|
1291
|
+
.kol-column-browser-resize-y::before {
|
|
1292
|
+
content: '';
|
|
1293
|
+
position: absolute;
|
|
1294
|
+
top: 50%;
|
|
1295
|
+
left: 50%;
|
|
1296
|
+
translate: -50% -50%;
|
|
1297
|
+
border-radius: var(--kol-radius-full);
|
|
1298
|
+
background: var(--kol-fg-64);
|
|
1299
|
+
opacity: 0;
|
|
1300
|
+
transition: opacity 420ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1301
|
+
}
|
|
1302
|
+
.kol-column-browser-resize-x::before { width: 0.1875rem; height: 2rem; }
|
|
1303
|
+
.kol-column-browser-resize-y::before { width: 2rem; height: 0.1875rem; }
|
|
1304
|
+
.kol-column-browser-resize-x:hover::before,
|
|
1305
|
+
.kol-column-browser-resize-x.is-dragging::before,
|
|
1306
|
+
.kol-column-browser-resize-y:hover::before,
|
|
1307
|
+
.kol-column-browser-resize-y.is-dragging::before {
|
|
1308
|
+
opacity: 1;
|
|
1283
1309
|
}
|
|
1284
1310
|
.kol-overlay .kol-prose {
|
|
1285
1311
|
max-width: var(--kol-content-measure);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.79.1",
|
|
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",
|