Skip to content

OINK v0.7.0 — A theme color, one typographic voice, and readable diagrams

Choose a tag to compare

@Vonng Vonng released this 25 Aug 02:37
· 25 commits to main since this release

OINK 0.7.0 changes no component API. It works on the two surfaces a reader actually spends time in — the shell around the page and the type on it — and finishes a fence that had never been designed, only inherited.

Highlights:

  • params.ui.theme_color gives a section its own accent, applied to the shell's grounds rather than to the prose
  • params.ui.fonts reaches all seven typography roles; a Book no longer carries a face of its own
  • A mermaid fence is a figure: centred, redrawn in place on a colour-scheme change, and openable at full size in a pan/zoom dialog
  • Inline code is crimson ink on a hairline wash instead of a grey pill
  • First-party browser behaviour publishes as stable capability chunks under js/chunks/, cacheable across pages
  • Configuration schemas are generated from the resolvers, and the Book publication job renders its PDF for the first time

Full bilingual release notes:

Upgrade with:

hugo mod get github.com/pgsty/oink@v0.7.0
hugo mod tidy

One thing to know before upgrading: a mermaid fence no longer renders <pre class="mermaid">. Site CSS targeting that selector matches nothing now — the diagram is a figure.td-diagram holding .td-diagram__stage.