@kolkrabbi/kol-theme 0.186.0 → 0.188.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-animation.css CHANGED
@@ -183,6 +183,59 @@
183
183
  .kol-card.has-reveal .kol-card-reveal { transition: none; }
184
184
  }
185
185
 
186
+ /* ─────────────────────────────────────────────────────────────────────
187
+ * ContentCard `back` — the second cover (AppCardBackCover, kol-monitor
188
+ * 2026-10-24: a patch card's cover is the patch's OUTPUT now, and the rack
189
+ * it was built on is still worth seeing — "both on one card: the output in
190
+ * front and the rack revealed on hover"). Hover and keyboard focus reveal
191
+ * it; `selected` is never read, so the selected state does not move. The
192
+ * card root names the treatment in `data-back`; the three are on the
193
+ * open-questions page (round 17) for the user's pick:
194
+ *
195
+ * flip-image the media turns — the print flip's turn (0.4s ease-out,
196
+ * preserve-3d, perspective 1000) with a real back face; the
197
+ * plate and the corner controls stay put
198
+ * flip-card the whole card turns; the back fills it, bare
199
+ * hover the back CUTS in over the front — a swap, never an
200
+ * opacity crossfade (user: "not fade")
201
+ *
202
+ * Touch has no hover and gets nothing: the front is the card. Reduced
203
+ * motion drops the turn's transition, so both flips become the cut.
204
+ * ───────────────────────────────────────────────────────────────────── */
205
+ .kol-card[data-back] .kol-card-turn-inner {
206
+ position: relative;
207
+ }
208
+ .kol-card[data-back] .kol-card-face--back {
209
+ position: absolute;
210
+ inset: 0;
211
+ }
212
+ .kol-card[data-back^="flip"] .kol-card-turn,
213
+ .kol-card[data-back="flip-card"] {
214
+ perspective: 1000px;
215
+ }
216
+ .kol-card[data-back^="flip"] .kol-card-turn-inner {
217
+ transform-style: preserve-3d;
218
+ transition: transform 0.4s ease-out;
219
+ }
220
+ .kol-card[data-back^="flip"] .kol-card-face {
221
+ backface-visibility: hidden;
222
+ }
223
+ .kol-card[data-back^="flip"] .kol-card-face--back {
224
+ transform: rotateY(180deg);
225
+ }
226
+ .kol-card[data-back="hover"] .kol-card-face--back {
227
+ opacity: 0;
228
+ }
229
+ @media (hover: hover) {
230
+ .kol-card[data-back^="flip"]:hover .kol-card-turn-inner { transform: rotateY(180deg); }
231
+ .kol-card[data-back="hover"]:hover .kol-card-face--back { opacity: 1; }
232
+ }
233
+ .kol-card[data-back^="flip"]:focus-visible .kol-card-turn-inner { transform: rotateY(180deg); }
234
+ .kol-card[data-back="hover"]:focus-visible .kol-card-face--back { opacity: 1; }
235
+ @media (prefers-reduced-motion: reduce) {
236
+ .kol-card[data-back^="flip"] .kol-card-turn-inner { transition: none; }
237
+ }
238
+
186
239
  /* ─────────────────────────────────────────────────────────────────────
187
240
  * ContentMedia — the hover zoom
188
241
  *
@@ -867,7 +867,9 @@
867
867
  width: 4px;
868
868
  height: 4px;
869
869
  border-radius: 50%;
870
- background: var(--kol-accent-primary);
870
+ /* THE ROW'S INK, not the accent (SiteRailDotNoAccent, kol-studio 2026-10-24 — user: *"the dot is not supposed to be
871
+ * accented. remove the accent!"*): the active row is on-primary, and its dot is the same ink in both themes */
872
+ background: currentColor;
871
873
  }
872
874
 
873
875
 
@@ -2342,6 +2342,11 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2342
2342
  display: flex;
2343
2343
  flex-direction: column;
2344
2344
  padding-block: var(--kol-spacing-8);
2345
+ /* THE RAIL STAYS IN ITS COLUMN (TocRailLongLabels, kol-studio 2026-10-24): fixed and content-sized, a long label grew
2346
+ * the whole rail leftwards over the page. Capped at the frame's TOC column (kol-framework's `--kol-shell-toc-w`, 256),
2347
+ * padding included; the rows are bounded by it and the labels ellipsize inside. */
2348
+ box-sizing: border-box;
2349
+ max-width: var(--kol-shell-toc-w, 16rem);
2345
2350
  }
2346
2351
  /* The lens scales about the edge the rail is pinned to, so the column's outer
2347
2352
  * edge stays a straight line while the type breathes. The wide inner padding is
@@ -2366,6 +2371,9 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2366
2371
  gap: var(--kol-spacing-3);
2367
2372
  padding-block: 2px;
2368
2373
  text-decoration: none;
2374
+ /* bounded by the rail's content box, so the label's cap below has a width to read (a content-sized row would take
2375
+ * the long label's own width) */
2376
+ max-width: 100%;
2369
2377
  }
2370
2378
  .kol-toc--right .kol-toc-row { justify-content: flex-end; }
2371
2379
  .kol-toc--left .kol-toc-row { flex-direction: row-reverse; justify-content: flex-end; }
@@ -2379,6 +2387,14 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2379
2387
  * the scale did not. */
2380
2388
  display: inline-block;
2381
2389
  white-space: nowrap;
2390
+ /* A LONG LABEL STAYS IN THE COLUMN (TocRailLongLabels, kol-studio 2026-10-24: a doc's own title, "Rebrand — Expanded
2391
+ * Scope (Campaign + Motion)", ran left out of the aside and over the page's table). The label is capped at the row's
2392
+ * width over the lens's largest scale (0.78 + 0.42 = 1.2, growing from the outer edge), so even the lit row ends
2393
+ * inside the rail; past that it ellipsizes. */
2394
+ min-width: 0;
2395
+ max-width: calc(100% / 1.2);
2396
+ overflow: hidden;
2397
+ text-overflow: ellipsis;
2382
2398
  opacity: calc(0.26 + 0.74 * var(--m));
2383
2399
  transform: scale(calc(0.78 + 0.42 * var(--m)));
2384
2400
  will-change: transform, opacity;
@@ -99,6 +99,15 @@
99
99
  white-space: nowrap;
100
100
  }
101
101
 
102
+ /* the WRAPPING body cell (TableWrapTextCell, kol-studio 2026-10-24): a long free-text column — a roster's notes — at the
103
+ * body cell's face and size, wrapping inside a measure instead of pushing the table sideways. `Table` puts it on a
104
+ * column's `wrap: true`; the measure is the meta cell's idea at the body size. */
105
+ .kol-table-cell-text--wrap {
106
+ white-space: normal;
107
+ min-width: 12rem;
108
+ max-width: 32rem;
109
+ }
110
+
102
111
  .kol-table-cell-meta {
103
112
  padding: 12px 16px;
104
113
  font-family: var(--kol-font-family-mono);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.186.0",
3
+ "version": "0.188.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",