anentrypoint-design 0.0.469 → 0.0.470

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/dist/247420.css CHANGED
@@ -1099,9 +1099,15 @@
1099
1099
  background: var(--bg-2); padding: 2px 6px; border-radius: var(--r-1);
1100
1100
  }
1101
1101
 
1102
+ /* --bg-3 (not --bg-2): an inline code pill needs to read as a distinct
1103
+ surface against the page background, not just against adjacent text — at
1104
+ --bg-2 the pill measured 1.39:1 background-to-background contrast in dark
1105
+ theme (barely distinguishable from the page itself). --bg-3 is the same
1106
+ tier-3 surface step .chip.tone-dim already uses for the same reason,
1107
+ bringing the pill to 2.07:1, consistent with the rest of the tier-3 ramp. */
1102
1108
  .ds-247420 code {
1103
1109
  font-family: var(--ff-mono); font-size: 0.92em;
1104
- background: var(--bg-2); padding: 0.15em 0.5em; border-radius: var(--r-1);
1110
+ background: var(--bg-3); padding: 0.15em 0.5em; border-radius: var(--r-1);
1105
1111
  }
1106
1112
 
1107
1113
  .ds-247420 pre {
@@ -13358,6 +13364,13 @@
13358
13364
  .ds-247420 .ds-prose a { color: var(--panel-accent); }
13359
13365
  .ds-247420 .ds-prose a:hover { background: none; color: var(--panel-accent); text-decoration-color: transparent; }
13360
13366
  .ds-247420 .ds-prose pre, .ds-247420 .ds-prose table { overflow-x: auto; max-width: 100%; }
13367
+ /* Mermaid diagrams render with an explicit width/height mermaid.js computes
13368
+ from the source graph, not the column it's mounted in — without this, a
13369
+ wide diagram overflows a narrow article-col and a narrow one leaves dead
13370
+ space rather than filling it. cursor:zoom-in signals the click-to-enlarge
13371
+ wiring theme.mjs adds after mermaid.run() finishes. */
13372
+ .ds-247420 .ds-prose .mermaid { max-width: 100%; }
13373
+ .ds-247420 .ds-prose .mermaid svg { max-width: 100%; height: auto; cursor: zoom-in; }
13361
13374
  .ds-247420 .ds-prose canvas {
13362
13375
  display: block;
13363
13376
  width: 100%;
@@ -13373,6 +13386,12 @@
13373
13386
  min-height: 0;
13374
13387
  }
13375
13388
 
13389
+ /* Article prose measure — a character-count cap (--measure, 68ch) rather than
13390
+ a fixed pixel width (the old --measure-narrow: 760px), so the line length a
13391
+ reader actually experiences stays in the 60-75ch reading-comfort band
13392
+ regardless of the article-col's body font-size. --measure-narrow remains
13393
+ defined in colors_and_type.css for other consumers; this sheet switches to
13394
+ the ch-unit token for its own article-col width. */
13376
13395
  .ds-247420 #ds-article-host.has-toc {
13377
13396
  display: flex;
13378
13397
  align-items: flex-start;
@@ -13383,23 +13402,33 @@
13383
13402
  re-derived, so the literal and the calc stay coupled and explicit. */
13384
13403
  column-gap: 44px;
13385
13404
  gap: 44px;
13386
- max-width: calc(256px + 44px + var(--measure-narrow));
13405
+ max-width: calc(256px + 44px + var(--measure));
13387
13406
  margin-left: auto;
13388
13407
  margin-right: auto;
13389
13408
  }
13390
13409
  .ds-247420 #ds-article-host.has-toc > .article-col {
13391
13410
  flex: 1 1 0;
13392
13411
  min-width: 0;
13393
- max-width: var(--measure-narrow);
13412
+ max-width: var(--measure);
13394
13413
  }
13414
+ /* Sticky offset accounts for the page's own sticky header band (.app-chrome,
13415
+ which stacks --app-topbar-h + --app-crumb-h when both Topbar and Crumb are
13416
+ present — the gm paper page always renders both) plus a visual gap, so the
13417
+ TOC's own sticky rail settles just below the header instead of the header
13418
+ painting over its top rows. The 16px gap between header and TOC/max-height
13419
+ ceiling below is a small breathing margin, not a rhythm token — this sheet
13420
+ has no other layout depending on it. */
13395
13421
  .ds-247420 #ds-article-host.has-toc > .toc {
13396
13422
  flex: 0 0 256px;
13397
13423
  align-self: flex-start;
13398
13424
  position: sticky;
13399
- top: 24px;
13425
+ /* --article-header-h, when set (theme.mjs measures the real .app-chrome
13426
+ rect after layout+fonts settle), is the accurate figure; the calc()
13427
+ fallback covers a consumer that never sets it. */
13428
+ top: calc(var(--article-header-h, calc(var(--app-topbar-h, 0px) + var(--app-crumb-h, 0px))) + 16px);
13400
13429
  align-self: start;
13401
- max-height: calc(100vh - 48px);
13402
- max-height: calc(100dvh - 48px);
13430
+ max-height: calc(100vh - var(--article-header-h, calc(var(--app-topbar-h, 0px) + var(--app-crumb-h, 0px))) - 32px);
13431
+ max-height: calc(100dvh - var(--article-header-h, calc(var(--app-topbar-h, 0px) + var(--app-crumb-h, 0px))) - 32px);
13403
13432
  overflow-y: auto;
13404
13433
  overscroll-behavior: contain;
13405
13434
  margin: 0;
@@ -13445,7 +13474,20 @@
13445
13474
  margin: 0 0 var(--space-3) 0;
13446
13475
  }
13447
13476
  .ds-247420 #ds-article-host .toc ol { margin: 0; padding-left: var(--space-3-5); }
13448
- .ds-247420 #ds-article-host .toc li { font-size: var(--fs-tiny); line-height: 1.85; color: var(--panel-text); }
13477
+ /* Even wrap rhythm regardless of title length ("Fix on Sight" vs "In-Phase
13478
+ Quality: The Search and Code Discipline"): a fixed min-height per entry
13479
+ keeps one-line and two-line titles landing on the same row grid instead of
13480
+ the list visually concertina-ing between tight and loose rows, and a light
13481
+ separator every 5th entry breaks a long flat run (this TOC's source has no
13482
+ h3-level entries, so grouping is a typographic rhythm aid, not a fabricated
13483
+ semantic nesting the article doesn't declare). */
13484
+ .ds-247420 #ds-article-host .toc li {
13485
+ font-size: var(--fs-tiny);
13486
+ line-height: 1.85;
13487
+ color: var(--panel-text);
13488
+ min-height: 1.85em;
13489
+ }
13490
+ .ds-247420 #ds-article-host .toc li:nth-child(5n) { margin-bottom: var(--space-2); }
13449
13491
  .ds-247420 #ds-article-host .toc li::marker { color: var(--panel-text-3); font-variant-numeric: tabular-nums; }
13450
13492
  .ds-247420 #ds-article-host .toc a { color: var(--panel-text-2); text-decoration: none; transition: color .12s ease; }
13451
13493
  .ds-247420 #ds-article-host .toc a:hover { color: var(--panel-accent); }