Skip to content

Custom font manager: upload fonts → generate @font-face → map to font tokens #157

Description

@jackgranatowski

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

  • Upload → @font-face → token assignment works end-to-end with preview

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions