For Hector, one app at a time
The whole job for each of the 14 apps. Six went off brand because each built its own header and copied hexes by hand. Do the five steps in order. If one does not fit, stop and ask Taylor.
Into the app's static folder as /brand/. Copy, never link to Launchpad or another app.
| /brand/tokens.css | every colour, size, and space |
| /brand/mc-app.css | header, buttons, forms, tables |
| /brand/icons.svg | the icon sprite |
| /brand/fonts/ | Montserrat, the only typeface |
| /brand/logos/ | the three logo files, unchanged |
Before the app's own CSS. Delete the old brand.css and Google Fonts links.
<link rel="stylesheet" href="/brand/tokens.css">
<link rel="stylesheet" href="/brand/mc-app.css">
<link rel="icon" type="image/svg+xml"
href="/brand/logos/marathon-mark-lines.svg">
Both files and every partial are safe inside a String.raw page. No backticks, no dollar-brace.
<header class="mc-top"><div class="mc-wrap"> <img class="mc-logo" src="/brand/logos/marathon-logo-white.svg" alt="Marathon Creative"> <span class="mc-appname">Post Approval</span> </div></header>
Delete the app's hand-built header, all of it. Body gets class="mc-body". Never resize, recolour, or redraw the logo.
Remove the app's :root colour block, every hex in its own CSS and JS, and any second typeface (Cormorant Garamond, Source Sans). Then point each rule at a token:
| Where the old colour was | Use this token |
|---|---|
| Headlines, page titles | var(--mc-text-heading) |
| Body copy | var(--mc-text-primary) |
| Navy bars, dark panels | var(--mc-surface-inverse) |
| Primary button | var(--mc-action-primary) |
| Red label or rule on white | var(--mc-accent) |
| Red bar or eyebrow on navy, and only there | var(--mc-accent-on-inverse) |
| Borders, dividers | var(--mc-border-subtle) |
No token fits? Do not add a colour. Send Taylor a screenshot.
Run both from the app folder. Each must print nothing.
grep -rnE "#[0-9a-fA-F]{3,8}\b" src \
--exclude-dir=brand
grep -rn "family=" src \
--exclude-dir=brand
Done means
Both greps print nothing and the header is the pasted one.