Browse Source

note: keep FontMfizz (FA lacks nginx/postgres/etc) — FA kit covers only the FA-font icons

windhamdavid 1 week ago
parent
commit
4d10e1acf3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      _claude/notes/dependencies.md
  2. 1 1
      _claude/notes/upgrade-plan.md

+ 1 - 1
_claude/notes/dependencies.md

@@ -27,7 +27,7 @@ whole messenger/online-status feature, page-chat + `chat.*`, `terminal.js`, `mod
 | ~~**Computer Modern**~~ | ~~3.2 MB~~ → **585 KB** | `.cm*`/`cmun` (5 used weights) | **✅ DONE 2026-06-19** — woff-only; dropped all ttf/eot/svg + unused CM Bright (cmunbbx) + unreferenced cmunbmr/cmunbsr. style.css/theme.json pruned, rebuilt. | — |
 | ~~**Computer Modern**~~ | ~~3.2 MB~~ → **585 KB** | `.cm*`/`cmun` (5 used weights) | **✅ DONE 2026-06-19** — woff-only; dropped all ttf/eot/svg + unused CM Bright (cmunbbx) + unreferenced cmunbmr/cmunbsr. style.css/theme.json pruned, rebuilt. | — |
 | ~~Bootstrap Icons~~ | ~~314 KB~~ font + ~78 KB CSS | header nav (8 icons) | **✅ DONE 2026-06-19 — dropped entirely** — 8 nav icons → inline SVG in `parts/header.html`; removed the `styles.scss` @import (~2000 `.bi-*` rules), font files, and the npm dep. v4-style 472→393 KB. | — |
 | ~~Bootstrap Icons~~ | ~~314 KB~~ font + ~78 KB CSS | header nav (8 icons) | **✅ DONE 2026-06-19 — dropped entirely** — 8 nav icons → inline SVG in `parts/header.html`; removed the `styles.scss` @import (~2000 `.bi-*` rules), font files, and the npm dep. v4-style 472→393 KB. | — |
 | ~~Glyphicons~~ | ~~208 KB~~ | (legacy only; comment-form spans in `inc/template.php` already render nothing — font never loaded by active bundle) | **✅ DONE 2026-06-19** — font files deleted. (Dead `inc/template.php` glyphicon spans + legacy `boot.css`/`style.min.css` left for the CSS cut.) | — |
 | ~~Glyphicons~~ | ~~208 KB~~ | (legacy only; comment-form spans in `inc/template.php` already render nothing — font never loaded by active bundle) | **✅ DONE 2026-06-19** — font files deleted. (Dead `inc/template.php` glyphicon spans + legacy `boot.css`/`style.min.css` left for the CSS cut.) | — |
-| ~~FontMfizz~~ | ~~390 KB~~ → **28 KB** | `page-about.php` icon-grid (14 tech-stack **brand** logos: ubuntu/apache/nginx/aws/rails/node/redis/mysql/postgres/js/python/php/ruby/heroku) | **✅ DONE 2026-06-21** — trimmed to woff-only (dropped eot/ttf/svg, −372 KB); icons still render. **Full removal — confirmed (2026-06-21, kit installed):** the 14 tech/brand icons come from the **FA kit** via the sprite (next milestone), then drop the FontMfizz font + its `-face`/CSS entirely. One icon source. | — |
+| ~~FontMfizz~~ | ~~390 KB~~ → **28 KB** | `page-about.php` icon-grid (14 tech-stack **brand** logos: ubuntu/apache/nginx/aws/rails/node/redis/mysql/postgres/js/python/php/ruby/heroku) | **✅ DONE 2026-06-21** — trimmed to woff-only (dropped eot/ttf/svg, −372 KB); icons still render. **KEEP (2026-06-21):** FA (even Pro) lacks nginx/postgres/mysql/heroku/rails, so the 14 tech icons stay on FontMfizz (woff-only, 28 KB -- its final state). The FA kit covers the *other* (FA-font) icons instead. | — |
 | Font Awesome 4 | 689 KB | **134 uses, ~40 icons** across `page-{contact,studio,sitemap,about}`, `comments.php`, `searchform.php`, **`parts/footer-home.html`** (live) | **Replace → Bootstrap Icons** (icon map). Do the live footer part first; classic templates as each migrates. Drop FA **last**. | late / per-page |
 | Font Awesome 4 | 689 KB | **134 uses, ~40 icons** across `page-{contact,studio,sitemap,about}`, `comments.php`, `searchform.php`, **`parts/footer-home.html`** (live) | **Replace → Bootstrap Icons** (icon map). Do the live footer part first; classic templates as each migrates. Drop FA **last**. | late / per-page |
 
 
 ### CSS — `v4-style.min.css` = **472 KB**
 ### CSS — `v4-style.min.css` = **472 KB**

+ 1 - 1
_claude/notes/upgrade-plan.md

@@ -120,7 +120,7 @@ font + ~2000 CSS rules + the npm dep all gone). `v4-style.min.css` **472 → 393
   package **`@awesome.me/kit-<id>`** (NOT `@fortawesome/pro-*-svg-icons` — that's the whole style;
   package **`@awesome.me/kit-<id>`** (NOT `@fortawesome/pro-*-svg-icons` — that's the whole style;
   the kit is the curated set) and import only the icons used → tree-shaken into the sprite, **not**
   the kit is the curated set) and import only the icons used → tree-shaken into the sprite, **not**
   the webfont. Curate the icon set in the FA dashboard; swap/extend = update the kit + reinstall.
   the webfont. Curate the icon set in the FA dashboard; swap/extend = update the kit + reinstall.
-  Replaces FA-font **and** FontMfizz. (`.npmrc` has both `@fortawesome` + `@awesome.me` scopes →
+  Replaces the FA-font icons (FontMfizz **stays** -- FA lacks nginx/postgres/mysql/heroku/rails; its 14 tech icons keep the trimmed 28 KB woff). (`.npmrc` has both `@fortawesome` + `@awesome.me` scopes →
   FA registry; grab the exact install line + import paths from the kit's "Set Up" page.)
   FA registry; grab the exact install line + import paths from the kit's "Set Up" page.)
   - **Secret (DONE 2026-06-21):** committed **`.npmrc`** holds the registry + an env-var
   - **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);
     ref `_authToken=${FONTAWESOME_NPM_TOKEN}` (no token in the file, so it's safe to commit);