Commit c15eeb3
committed
feat(nav): "All parts" home link on every part page + retint .ok green
Two TOC-navigation fixes after seeing the live site.
1. Part pages had no one-click path back to the index — only the
numbered Part pills, which all go sideways to other parts.
Add a leading `.wt-home-link` in the topbar's .part-nav on every
part page, pointing at the root (`/` locally, `/<basePath>/` on
GH Pages — the existing applyBasePath rewrite handles it).
Chevron prefix (`‹ All parts`) distinguishes it from the numbered
pills; slightly brighter border + right margin reinforce the
"root vs sibling" grouping.
2. Meander emits the `(N sections)` count on the TOC with class "ok",
which gets Chakra green from the upstream CSS. Green clashes with
the Socket lavender surface. Override `.ok` to `var(--muted-lavender)`
so the count recedes as metadata and the part titles carry the
visual weight.
Index page has no .part-nav (it IS the index), so the link injection
is a no-op there. The ::before chevron is CSS-only; no inline SVG.1 parent accc291 commit c15eeb3
2 files changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
577 | 592 | | |
578 | 593 | | |
579 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
689 | 711 | | |
690 | 712 | | |
691 | 713 | | |
| |||
0 commit comments