Skip to content

v2.6.0 — Variable axes + colour fonts

Choose a tag to compare

@quitequinn quitequinn released this 17 Jun 08:31
· 5 commits to master since this release

Generalises beyond wght to any font type:

  • Variable axes: configure any axis (opsz, slnt, wdth, ital, custom GRAD/SOFT/WONK…) in variable; enable sliders with controls.axes. All compose into one font-variation-settings. opsz also sets font-optical-sizing: none.
  • Colour fonts (COLR/CPAL): controls.palette renders a font-palette selector (normal/light/dark or custom --name).
  • Honest proofing: synthesis: falsefont-synthesis: none (no faux bold/italic).
  • Demo: Fraunces optical-size axis + a switcher to Nabla (variable colour font) with Depth/Highlight axes and palettes.
  • New types AxisConfig; data-palette/data-synthesis for the declarative API.