@vincemakes/kiso-tui-cells 0.50.1 → 0.51.1

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.
Files changed (2) hide show
  1. package/dist/md.js +4 -2
  2. package/package.json +1 -1
package/dist/md.js CHANGED
@@ -413,11 +413,13 @@ function blockBody(b, W, depth, base = "", hard = false) {
413
413
  if (graphite()) {
414
414
  // Graphite §5 (R2b) — DECLARED REVERSAL of DC-4's "levels are
415
415
  // NOT differentiated by colour": `#` bold gold over a rule that
416
- // fades from gold-mark, `##` bold blue (its `§` in the mark
416
+ // fades from gold-mark, `##` bold gold since 2026-10-19 (it was blue; a
417
+ // code span inside a blue heading was the heading's own colour, so
418
+ // code in a heading could not be told from the heading; its `§` in the mark
417
419
  // column, outside the block), `###` bold ink, `####` and deeper
418
420
  // bold dim in upper case. No level prints its own `#`s. The
419
421
  // mono forms below stay where there is no colour to carry it.
420
- const tone = level === 1 ? p.gold : level === 2 ? p.blue : level >= 4 ? p.dim : "";
422
+ const tone = level === 1 || level === 2 ? p.gold : level >= 4 ? p.dim : "";
421
423
  const style = `${p.bold}${tone}`;
422
424
  const words = level >= 4 ? upperOutsideCode(text) : text;
423
425
  const rows = wrap(`${style}${inlineSpans(words, style)}${p.reset}`, W, "", "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-tui-cells",
3
- "version": "0.50.1",
3
+ "version": "0.51.1",
4
4
  "description": "kiso tui-cells \u2014 the components cell renderer (components, diff, width, the render slice). Zero runtime dependencies: input is data, output is bytes.",
5
5
  "type": "module",
6
6
  "license": "MIT",