Idea
An admin screen to upload self-hosted font files, auto-generate @font-face rules (with font-display, weights, variable-font axes), and assign them to the framework's font tokens (--sf-font-body/-heading/-display/-mono).
Why
Brand fonts are near-universal on client sites. Today font handling is partial (Bricks-side only); there's no first-class font manager tied to the token system.
Scope
- Upload + storage of font files; generated
@font-face emitted into the plugin's CSS output.
- UI to map each uploaded family to a font token; live preview.
- Sensible defaults (
font-display: swap, subset hints if feasible).
Acceptance
Idea
An admin screen to upload self-hosted font files, auto-generate
@font-facerules (withfont-display, weights, variable-font axes), and assign them to the framework's font tokens (--sf-font-body/-heading/-display/-mono).Why
Brand fonts are near-universal on client sites. Today font handling is partial (Bricks-side only); there's no first-class font manager tied to the token system.
Scope
@font-faceemitted into the plugin's CSS output.font-display: swap, subset hints if feasible).Acceptance
@font-face→ token assignment works end-to-end with preview