mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-25 04:33:03 +00:00
0db74c7eab
The portal shipped with a GitHub-Primer palette, light-only, while every "Open client" hands the operator into the slate/blue Pulse product UI (which most monitoring users run dark). The portal now uses the product's Tailwind slate/blue semantic tokens so both halves of the MSP workflow read as one product: - Light theme mirrors the product exactly: slate-100 page, white surfaces, slate borders/inks, blue-600 solid buttons. - Full dark theme (slate-900/800 surfaces, blue-400 links, product-style translucent status chip backgrounds with readable 300-series text), applied via prefers-color-scheme by default with a persisted header toggle (data-theme override in localStorage, nonce'd no-flash bootstrap in the page template). - Hardcoded badge/status border literals, the toast, the danger-button hover, and border-only panels that relied on the old white page are all tokenized so every state renders in both themes. - Dropped two dead Roboto @font-face blocks and their data-URI payloads (nothing referenced the family): portal_app.css shrinks 135KB -> 43KB. Verified live in both themes: workspace roster, setup queue, client onboarding panel chips, Access invite panel, signed-out instruction card, and the error toast; theme choice survives reload and sign-out. Portal vitest suite 103/103 incl. new theme tests; frontend/dist sync test green.