From cc517bd921d1c6ecd723cda6d99ace8d28cf4331 Mon Sep 17 00:00:00 2001 From: Jason McCormick Date: Fri, 27 Nov 2026 23:37:00 -0500 Subject: Load Carbon & Signal assets from static delivery Use the versioned 1.5.0 release at packetwarriors.com/static for pw-tokens.css, pw-fonts.css (subset IBM Plex), product logos and favicons, with SRI tags copied from integrity.json, and remove the vendored copies. theme.js, the hero artwork and favicon.ico stay local. Co-Authored-By: Claude Opus 5.5 --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 288aa1c..f864d49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Packet Warriors flagship homepage -The production homepage is a buildless static site using Packet Warriors Carbon & Signal v1.5.0. It contains static HTML, CSS, JavaScript, SVG, WebP and locally hosted IBM Plex fonts; there is no application server, package manager or build step. +The production homepage is a buildless static site using Packet Warriors Carbon & Signal v1.5.0. It contains static HTML, CSS, JavaScript and WebP artwork; there is no application server, package manager or build step. Design-system assets (tokens, IBM Plex fonts, logos, favicons) are loaded from the maintainer's static delivery at `https://packetwarriors.com/static/style/1.5.0/`. ## Local preview @@ -14,18 +14,16 @@ Then open `http://127.0.0.1:8000/`. ## Deployment -Copy the repository contents to the website document root while preserving existing subdirectories such as `style-guide` and deployed applications. All runtime resources are local and paths are relative. +Copy the repository contents to the website document root while preserving existing subdirectories such as `style-guide` and deployed applications. Site-specific files (`index.html`, `style.css`, `theme.js`, `artwork/`, `favicon.ico`) use relative paths; design-system assets come from `/static/style/1.5.0/`, which must remain deployed. ## Design-system integration -- `css/pw-tokens.css` is the vendored Carbon & Signal functional token contract. -- `css/pw-fonts.css` declares the local IBM Plex font files in `fonts/`. -- `theme.js` applies and persists Light, Dark or System appearance. +- `index.html` loads `pw-tokens.css` and `pw-fonts.css` (subset IBM Plex) from `https://packetwarriors.com/static/style/1.5.0/`, with `integrity` and `crossorigin` copied from that release's `integrity.json`. To upgrade, change the version and copy the new tags; never reference `/static/style/latest/`. +- Logos in `style.css` and the favicon/touch icons in `index.html` use the same versioned release. `favicon.ico` stays at the root because browsers request `/favicon.ico` directly. +- `theme.js` applies and persists Light, Dark or System appearance (site-specific: defaults to Dark and binds the masthead buttons, so it is not the generic `js/theme.js`). - `style.css` contains only flagship presentation and responsive layout rules. - Approved logo geometry and Signal Architecture artwork must not be redrawn or recolored. -IBM Plex is distributed under the SIL Open Font License; see `fonts/OFL.txt`. - ## Validation -Before deployment, test Light, Dark and System modes, keyboard navigation, 200% zoom, forced colors, reduced motion and layouts at 768px, 1024px and 1280px. Verify that all local resources load without network dependencies and that project links retain their intended destinations. +Before deployment, test Light, Dark and System modes, keyboard navigation, 200% zoom, forced colors, reduced motion and layouts at 768px, 1024px and 1280px. Verify that all static-delivery resources load (no SRI or CORS errors in the console) and that project links retain their intended destinations. -- cgit v1.2.3