MOSS shared chrome
One app bar, footer, and logo lockup for every MOSS Fixes Money app - served from here at runtime. Change it once, redeploy only this app, and
every app shows the new look on its next page load. The header and footer
above and below this page are the live chrome, injected by
chrome.js just like on a real app.
How an app wears it
Two lines in the app's HTML - nothing is copied:
<link rel="stylesheet" href="https://shared.mossfixesmoney.com/chrome.css"> <div id="moss-header"></div> <!-- the app's own content --> <div id="moss-footer"></div> <script src="https://shared.mossfixesmoney.com/chrome.js" data-moss-chrome data-app="quiz" data-appname="Money Quiz" data-appname-color="#fde047" defer></script>
Cross-app links resolve to the same environment the page is on (sandbox
→ sandbox, prod → prod). Set data-session-url to light up
the live signed-in avatar from account-service.
Logo lockup (the fixed signature)
App name - same font & size, colour is the one per-app tweak
Chrome icons - one source, used everywhere
Every header glyph lives here. An app reaches for these - it never redraws its own. Look, size and colour are fixed; only the action behind the icon changes per app.
Action icons - for rows, cards and lists
The in-content actions (edit, delete, undo and friends). Drawn once here at the size and weight every app uses, so a pencil is never too faint and a trash can never invisible. Reach for these; do not redraw them per app.
App tiles (examples - names are placeholders)
Footer - fixed links, per-app version
The five links and "© MOSS Fixes Money" never change. The header already shows the app name, so the footer does not repeat it: the only per-app part is the version, which is always shown.