@kolkrabbi/kol-theme 0.200.5 → 0.200.6

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.
@@ -2467,8 +2467,29 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2467
2467
  background: var(--kol-fg-12);
2468
2468
  }
2469
2469
 
2470
+ /* Children — a sectioned entry's own ticks (DocsToc `toc[].children`, DocsTocRailChildren, kol-atlas 2026-10-30). At
2471
+ * rest a child is the graduation above, 3px and unlabelled; its label overflows the 3px row on both sides rather than
2472
+ * growing it, so the pitch (and every measured detent) stays put. The label shows only near the lens's PEAK — a steeper
2473
+ * curve than the section labels, because at a 3px pitch the section curve would stack four or five labels on one
2474
+ * another — and it never takes the pointer: the row is stretched across the rail and IS the hit area, so the tick under
2475
+ * the pointer is the one the lens shows and the one a click follows. */
2476
+ .kol-toc-child { align-self: stretch; }
2477
+ .kol-toc-child .kol-toc-label,
2478
+ .kol-toc-child[data-active] .kol-toc-label {
2479
+ opacity: clamp(0, (var(--m) - 0.96) * 25, 1);
2480
+ pointer-events: none;
2481
+ }
2482
+ .kol-toc-child:focus-visible .kol-toc-label { opacity: 1; }
2483
+ /* The active child takes the active ink at a graduation's length; its section row stays lit as the parent. */
2484
+ .kol-toc-child[data-active] .kol-toc-rule {
2485
+ width: calc(12px + 11px * var(--m));
2486
+ background: var(--kol-fg-64);
2487
+ }
2488
+
2470
2489
  @media (prefers-reduced-motion: reduce) {
2471
2490
  .kol-toc-label { opacity: 1; transform: none; }
2491
+ .kol-toc-child .kol-toc-label { opacity: 0; }
2492
+ .kol-toc-child:focus-visible .kol-toc-label { opacity: 1; }
2472
2493
  .kol-toc-rule { width: 12px; }
2473
2494
  .kol-toc-row[data-active] .kol-toc-rule { width: 24px; }
2474
2495
  .kol-toc-tick .kol-toc-rule { width: 5px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.200.5",
3
+ "version": "0.200.6",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",