@kolkrabbi/kol-theme 0.188.0 → 0.189.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
@@ -202,38 +202,47 @@
202
202
  * Touch has no hover and gets nothing: the front is the card. Reduced
203
203
  * motion drops the turn's transition, so both flips become the cut.
204
204
  * ───────────────────────────────────────────────────────────────────── */
205
- .kol-card[data-back] .kol-card-turn-inner {
205
+ /* THE WHOLE CARD TURNS (AppCardWholeFlip, kol-monitor 2026-10-24 — user: *"it doesnt truly flip the card, there is
206
+ * still the background that remains"*): `flip-card`'s attributes ride a TURNER around the card root, so the root — its
207
+ * ground included — is the front face and nothing stays behind; `flip-image` and `hover` still mark the root. The
208
+ * reveal is OPT-IN: hover (and keyboard focus) turn a card only under `data-back-hover` (*"hover flips card? default
209
+ * off"*), and `data-flipped` turns it on the consumer's word (*"make the cards flip on a shortcut"*) — a page turns
210
+ * every card on a key. The turn is monitor's: 450ms ease, both faces backface-hidden, never a timed visibility. */
211
+ [data-back] .kol-card-turn-inner {
206
212
  position: relative;
207
213
  }
208
- .kol-card[data-back] .kol-card-face--back {
214
+ [data-back] .kol-card-face--back {
209
215
  position: absolute;
210
216
  inset: 0;
211
217
  }
212
- .kol-card[data-back^="flip"] .kol-card-turn,
213
- .kol-card[data-back="flip-card"] {
218
+ [data-back^="flip"] .kol-card-turn,
219
+ [data-back="flip-card"].kol-card-turn {
214
220
  perspective: 1000px;
215
221
  }
216
- .kol-card[data-back^="flip"] .kol-card-turn-inner {
222
+ [data-back^="flip"] .kol-card-turn-inner {
217
223
  transform-style: preserve-3d;
218
- transition: transform 0.4s ease-out;
224
+ transition: transform 450ms ease;
219
225
  }
220
- .kol-card[data-back^="flip"] .kol-card-face {
226
+ [data-back^="flip"] .kol-card-face {
221
227
  backface-visibility: hidden;
228
+ -webkit-backface-visibility: hidden;
222
229
  }
223
- .kol-card[data-back^="flip"] .kol-card-face--back {
230
+ [data-back^="flip"] .kol-card-face--back {
224
231
  transform: rotateY(180deg);
225
232
  }
226
- .kol-card[data-back="hover"] .kol-card-face--back {
233
+ [data-back="hover"] .kol-card-face--back {
227
234
  opacity: 0;
228
235
  }
229
236
  @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; }
237
+ [data-back^="flip"][data-back-hover]:hover .kol-card-turn-inner { transform: rotateY(180deg); }
238
+ [data-back="hover"][data-back-hover]:hover .kol-card-face--back { opacity: 1; }
232
239
  }
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; }
240
+ [data-back^="flip"][data-back-hover]:focus-within .kol-card-turn-inner,
241
+ [data-back^="flip"][data-flipped] .kol-card-turn-inner { transform: rotateY(180deg); }
242
+ [data-back="hover"][data-back-hover]:focus-within .kol-card-face--back,
243
+ [data-back="hover"][data-flipped] .kol-card-face--back { opacity: 1; }
235
244
  @media (prefers-reduced-motion: reduce) {
236
- .kol-card[data-back^="flip"] .kol-card-turn-inner { transition: none; }
245
+ [data-back^="flip"] .kol-card-turn-inner { transition: none; }
237
246
  }
238
247
 
239
248
  /* ─────────────────────────────────────────────────────────────────────
@@ -49,6 +49,19 @@
49
49
  * 24. CommandOverlay (field-aligned rows) and the Quick Look header (a toolbar) keep their own. */
50
50
  --kol-pad-overlay: var(--kol-spacing-5);
51
51
 
52
+ /* RAIL TIERS (RailKit, kol-monitor 2026-10-24 — user: *"currently settings is showing 380 wide and padding is totally
53
+ * different in the rail and the settings"*). One width and one padding per tier, the same `app` · `site` split the
54
+ * cards and the page headers take; `Rail variant` and `SettingsPanel tier` read them, so a page rail and the settings
55
+ * rail of one app cannot disagree. `app` 320 is the shell rail's open width on a wide screen and the narrowest that
56
+ * keeps a 160 label column beside a usable control (fxr's inspector rides the shell rail's 264 · 320 ramp; monitor's
57
+ * patch table had 440); `site` 380 is the settings rail as locked 2026-08-27. The padding is the overlay inset in both
58
+ * — the 2026-10-18 ruling — named per tier so one can move without the other. The app number is decided for review
59
+ * (open questions round 18). */
60
+ --kol-rail-w-app: 320px;
61
+ --kol-rail-w-site: 380px;
62
+ --kol-pad-rail-app: var(--kol-pad-overlay);
63
+ --kol-pad-rail-site: var(--kol-pad-overlay);
64
+
52
65
  /* CARD padding (2026-08-15, content-card ruling) — flat, stepped by the
53
66
  * card's `size` prop, never by breakpoint. 12/16/24. */
54
67
  --kol-pad-card-sm: 0.75rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.188.0",
3
+ "version": "0.189.0",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",