@kolkrabbi/kol-theme 0.74.0 → 0.76.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.
@@ -153,7 +153,7 @@
153
153
  .kol-overlay {
154
154
  position: fixed;
155
155
  inset: 0;
156
- z-index: 100;
156
+ z-index: var(--kol-z-modal, 100); /* the modal tier — the overlay contract (EditorOverlaysOnFullscreenOverlay, 2026-08-27) */
157
157
  background: var(--kol-surface-primary);
158
158
  display: grid;
159
159
  place-items: center;
@@ -111,7 +111,7 @@
111
111
  border-radius: var(--kol-radius-sm);
112
112
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4),
113
113
  0 2px 6px -2px rgba(0, 0, 0, 0.3);
114
- z-index: 1000;
114
+ z-index: var(--kol-z-tooltip, 300); /* the ladder's float tier, not nav's 1000 (EditorOverlaysOnFullscreenOverlay, user ruling 2026-08-27) */
115
115
  outline: none;
116
116
  }
117
117
 
@@ -130,7 +130,7 @@
130
130
  line-height: 1;
131
131
  white-space: nowrap;
132
132
  pointer-events: none;
133
- z-index: 1000;
133
+ z-index: var(--kol-z-tooltip, 300); /* the ladder's float tier, not nav's 1000 (EditorOverlaysOnFullscreenOverlay, user ruling 2026-08-27) */
134
134
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5);
135
135
  }
136
136
 
@@ -1182,7 +1182,69 @@
1182
1182
  /* Markdown is BOUNDED where it renders (SettingsPanelApproved, kol-r2b2
1183
1183
  * 2026-08-27): in the 320px column preview a document scaled to the frame; in
1184
1184
  * the overlay a readable sheet, not full-bleed over the page. */
1185
- .kol-column-browser-preview .kol-prose { zoom: 0.5; }
1185
+ /* THE DOCUMENT PAGE one plate for every document (DocPageAndKindShowcase,
1186
+ * kol-r2b2 2026-08-27, user rulings): markdown · text · code · JSON · YAML on
1187
+ * `.kol-doc-page`. WHERE it sits decides its presentation:
1188
+ * base the plate — fg-04, radius sm, padding 24 (a demo, a page)
1189
+ * overlay an A-series page: 85vh tall, 85vh / √2 wide, never wider than the
1190
+ * viewport minus the arrow gutters (10rem), scrolls inside
1191
+ * column the same document zoomed 0.5 on the frame (no plate); the
1192
+ * children reset `zoom: 1` so it never compounds
1193
+ * The code block INSIDE the page is transparent, borderless and full width —
1194
+ * "yaml should follow json in the way it scales": it hugged short lines and sat
1195
+ * as a second, darker plate. Prose is bounded by the page, not by its own
1196
+ * measure; tables and pre wrap inside it. */
1197
+ .kol-doc-page {
1198
+ background: var(--kol-fg-04);
1199
+ border-radius: var(--kol-radius-sm);
1200
+ padding: 24px;
1201
+ min-width: 0;
1202
+ overflow-wrap: anywhere;
1203
+ }
1204
+ .kol-doc-page .kol-codeblock-wrapper { margin: 0; }
1205
+ .kol-doc-page .kol-codeblock { background: transparent; border: 0; width: 100%; }
1206
+ .kol-doc-page .kol-prose { max-width: none; margin: 0; padding: 0; }
1207
+ .kol-doc-page .kol-prose table { max-width: 100%; }
1208
+ .kol-doc-page .kol-prose td,
1209
+ .kol-doc-page .kol-prose th { overflow-wrap: anywhere; word-break: break-word; }
1210
+ .kol-doc-page .kol-prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }
1211
+ .kol-overlay .kol-doc-page {
1212
+ height: 85vh;
1213
+ width: calc(85vh / 1.41421);
1214
+ max-width: calc(100vw - 10rem);
1215
+ overflow-y: auto;
1216
+ overflow-x: hidden;
1217
+ margin-inline: auto;
1218
+ }
1219
+ .kol-column-browser-preview .kol-doc-page {
1220
+ zoom: 0.5;
1221
+ background: transparent;
1222
+ border-radius: 0;
1223
+ }
1224
+ .kol-column-browser-preview .kol-doc-page :is(.kol-prose, .kol-codeblock-wrapper, .kol-doc-frontmatter) { zoom: 1; }
1225
+ /* documents start at the top of the column frame with a small inset, and scroll */
1226
+ .kol-column-browser-preview > div:first-child:has(.kol-doc-page) { align-items: flex-start; justify-content: flex-start; overflow: auto; }
1227
+
1228
+ /* THE QUICKTIME BAR (PlaybackBarAndAudioSheet, kol-r2b2 2026-08-27 — ruled
1229
+ * against the reference). White glyphs on the frosted strip whatever the theme:
1230
+ * the ghost IconFrame paints --kol-oq-48, a theme colour, and the bar sits on
1231
+ * media, not on the theme. The scrubber is a native range — a 2px track at 40 %
1232
+ * white, a tall 4 × 28 white pill for the knob — pseudo-elements, so CSS. */
1233
+ .kol-playback-bar .kol-icon-frame { color: var(--kol-color-absolute-white); opacity: 0.8; }
1234
+ .kol-playback-bar .kol-icon-frame:hover,
1235
+ .kol-playback-bar .kol-icon-frame:focus-visible { opacity: 1; }
1236
+ .kol-playback-scrub {
1237
+ appearance: none;
1238
+ -webkit-appearance: none;
1239
+ height: 28px;
1240
+ background: transparent;
1241
+ outline: none;
1242
+ cursor: pointer;
1243
+ }
1244
+ .kol-playback-scrub::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: color-mix(in srgb, var(--kol-color-absolute-white) 40%, transparent); }
1245
+ .kol-playback-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 4px; height: 28px; margin-top: -13px; border-radius: 2px; background: var(--kol-color-absolute-white); }
1246
+ .kol-playback-scrub::-moz-range-track { height: 2px; border-radius: 1px; background: color-mix(in srgb, var(--kol-color-absolute-white) 40%, transparent); }
1247
+ .kol-playback-scrub::-moz-range-thumb { width: 4px; height: 28px; border: 0; border-radius: 2px; background: var(--kol-color-absolute-white); }
1186
1248
 
1187
1249
  /* ColumnBrowser resize handles (ColumnBrowserResize, kol-r2b2 2026-08-27 —
1188
1250
  * Finder's edge handles, user ruling "that should be a set in ds"; native CSS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.74.0",
3
+ "version": "0.76.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",