@kolkrabbi/kol-theme 0.50.0 → 0.50.2

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.
@@ -515,7 +515,11 @@
515
515
 
516
516
  .kol-seg-cell + .kol-seg-cell { border-left: 1px solid var(--kol-fg-04); }
517
517
 
518
- .kol-seg-cell:hover { color: var(--kol-fg-emphasis); }
518
+ /* ONE STEP, not a leap. Rest is `oq-48` and hover went straight to full ink —
519
+ * a 48 → 100 jump that read as the cell selecting itself under the cursor.
520
+ * `oq-64` is the same single rung every other rest→hover pair in the estate
521
+ * moves by. */
522
+ .kol-seg-cell:hover { color: var(--kol-oq-64); }
519
523
 
520
524
  .kol-seg-cell.is-active {
521
525
  background: transparent;
@@ -703,6 +707,20 @@
703
707
  margin-block-end: 0.75rem;
704
708
  }
705
709
 
710
+ /* THE CONTROL'S LANE (CodeBlockMobileOverflow, kol-website 2026-08-25). The
711
+ * copy button floats in the frame's top-right corner (.kol-frame-control), and
712
+ * the chip row is the lane it sits in — when there IS a chip. A block with no
713
+ * chip (a `text` fence, an unlabelled CMS block) starts its code on the row
714
+ * the control occupies, and once the block is narrower than ~600px the first
715
+ * line runs underneath it (measured: control y 3729–3761, line 1 y 3735–3756).
716
+ * The first line reserves the control's column in that case and only that
717
+ * case — 2rem is the control's box (.kol-copy-btn: 16px glyph + 0.5rem pad)
718
+ * plus its inset; every other line, and every chipped block, is untouched.
719
+ * `.kol-codeblock-line` is stamped per line by CodeBlock.jsx. */
720
+ .kol-codeblock:not(:has(.kol-codeblock-filename)) .kol-codeblock-line:first-child {
721
+ padding-inline-end: calc(2rem + var(--kol-spacing-3));
722
+ }
723
+
706
724
  /* ─────────────────────────────────────────────────────────────────────
707
725
  * FRAME CONTROL — a control that floats in a host frame's corner
708
726
  * (user ruling 2026-08-15).
@@ -863,7 +881,6 @@
863
881
  gap: var(--kol-row-gap);
864
882
  padding: var(--kol-row-pad);
865
883
  min-height: var(--kol-row-min-h);
866
- align-items: stretch;
867
884
  background: var(--kol-row-bg);
868
885
  /* the FALLBACK is not optional. A variant with no frame publishes no
869
886
  * `--kol-row-border`, and `border-color: var(--undefined)` is invalid at
@@ -881,12 +898,8 @@
881
898
  .kol-row--divided {
882
899
  border-bottom: 1px solid var(--kol-fg-08);
883
900
  }
884
- /* the token is the thumb's MINIMUM HEIGHT now — width comes from the ratio.
885
- * A row taller than this (work at 160, typeface at 160) grows the thumb with
886
- * it instead of leaving it stranded at the top. */
887
901
  .kol-row > .kol-row-thumb {
888
- min-height: var(--kol-row-thumb);
889
- width: auto;
902
+ width: var(--kol-row-thumb);
890
903
  }
891
904
 
892
905
  /* CONTAINER query, not a viewport one (2026-08-15). The row steps on the width
@@ -906,7 +919,7 @@
906
919
  min-height: var(--kol-row-min-h-md, var(--kol-row-min-h));
907
920
  }
908
921
  .kol-row > .kol-row-thumb {
909
- min-height: var(--kol-row-thumb-md, var(--kol-row-thumb));
922
+ width: var(--kol-row-thumb-md, var(--kol-row-thumb));
910
923
  }
911
924
  }
912
925
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.50.0",
3
+ "version": "0.50.2",
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",