Skip to content

v0.5.7

Choose a tag to compare

@github-actions github-actions released this 18 Apr 04:27
· 12 commits to main since this release
refine(0.5.7): pixel-perfect pass — stroke weights + grid axis

A stroke-weight audit showed four real inconsistencies breaking
visual discipline. Fixed in one coherent patch:

  1. vienna's bottom divider was 0.4pt + ink while its own content
     divider was 0.3pt + hair. Two different weights doing the same
     job. Normalised to 0.3pt + hair.

  2. All five templates rendered the reverse-charge notice box at
     0.5pt + hair (or dim). One step heavier than every surrounding
     hairline, making the box "pop" for no semantic reason.
     Normalised to 0.3pt.

  3. monoline used 0.6pt rules where every other template uses 0.5pt
     for the same visual role (strong horizontal rule). Normalised
     to 0.5pt.

  4. Payment block in components.typ:
       - Labels now right-aligned in the grid, creating an invisible
         axis between the label column and the value column. Each
         row reads as a clean "label | value" pair.
       - Label tracking: +0.02em for optical refinement at 8.5pt.
       - Values: number-width: tabular (explicit; was implicit via
         the monospace font).
       - column-gutter: sp.m (10pt) → sp.s (6pt) tightens the pair
         so label and value read as one unit.

The stroke weight vocabulary is now consistent across the suite:
  0.3pt  hairlines (boxes, content dividers)
  0.5pt  emphasis rules (subtotal, section breaks)
  0.8pt  grand total (one place per invoice)