|
|
@@ -120,8 +120,10 @@ font + ~2000 CSS rules + the npm dep all gone). `v4-style.min.css` **472 → 393
|
|
|
(`@fortawesome/pro-*-svg-icons` / a kit) from FA's authed registry — **not** the webfont —
|
|
|
and feed them through the sprite. Swapping sets later = change the package + regenerate.
|
|
|
Replaces FA-font **and** FontMfizz.
|
|
|
- - **Secret:** FA Pro npm needs a token in `.npmrc` → **gitignore `.npmrc`**; commit a
|
|
|
- `.npmrc.example` with the registry line (no token).
|
|
|
+ - **Secret (DONE 2026-06-21):** committed **`.npmrc`** holds the registry + an env-var
|
|
|
+ ref `_authToken=${FONTAWESOME_NPM_TOKEN}` (no token in the file, so it's safe to commit);
|
|
|
+ the actual token lives in the shell env (`export FONTAWESOME_NPM_TOKEN=…` in `~/.zprofile`).
|
|
|
+ `.gitignore` covers `.env`/`.env.*`/`.npmrc.local` as a safety net.
|
|
|
- **One-off icons** (the 8 header, the couple FontMfizz spots) stay hand-inlined SVG — no dep.
|
|
|
- **Text/display fonts:** use **`@fontsource/*`** (npm — versioned woff2 + `@font-face`) for fonts
|
|
|
that have it; self-host woff2 for niche ones (Computer Modern). Declare all in `theme.json`
|