Skip to content

Floe v0.2.1 — Standardized Badge Heights, Decoupled Equation Palette & Governance

Choose a tag to compare

@SpanishSyntax SpanishSyntax released this 11 Nov 21:54
· 5 commits to main since this release
v0.2.1
49690be

What's Changed in v0.2.1

1. Standardized #badge Height Across All Bare & Component Invocations

  • Root Cause Fix (primitives/badge.typ): Switched #badge and #kbd from bottom-edge: "bounds" to top-edge: "cap-height", bottom-edge: "baseline" with size: 7.5pt, inset: (x: 5.5pt, y: 3.2pt), and baseline: 18%. Badges containing descenders (warning, danger, purple, or mathematical subscripts) now have the exact same vertical height as badges without descenders (neutral, info, success, dark, outline).
  • Unified Pill Routing: Replaced all remaining hand-rolled box(...) pills across primitives/plaque.typ, primitives/item.typ, primitives/divider.typ, components/pedagogical.typ, components/math.typ, and all 12 hero/header cards in components/hero.typ with #badge(...).

2. Decoupled Equation Dissection Palette (c-term-1..c-term-6)

  • Independent Math Ink (core/tokens.typ): Decoupled c-term-1..c-term-6 (term-palette) from UI chrome tokens (floe-cyan, floe-purple, floe-amber, floe-green, floe-red) using dedicated high-contrast mathematical ink hex values (#0369A1, #7E22CE, #C2410C, #0F766E, #BE123C, #4338CA). Re-theming UI banners or alerts no longer alters equation term colors.
  • On-Demand Brand Coupling: Added brand-term-palette in core/tokens.typ and an optional palette parameter on #formula-breakdown, #eq-legend, and #stat-hero so documents can couple equation or KPI colors to brand chrome on demand.

3. Branch Protection, CI Schema Check & Collaborator Governance

  • Added CONTRIBUTING.md, .github/CODEOWNERS, .github/PULL_REQUEST_TEMPLATE.md, .github/ISSUE_TEMPLATE/bug_report.yml, .github/ISSUE_TEMPLATE/component_request.yml, and scripts/bump_version.py.
  • Configured GitHub branch protection ruleset on main requiring Pull Requests, passing Typst Compilation Check + floe.json schema sync verification, and linear history.