mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-03-31 16:55:48 +00:00
Add GET /api/config/theme endpoint serving branding, theme colors, node colors, and home page content from config.json with sensible defaults so unconfigured instances look identical to before. Client-side (app.js): - Fetch theme config on page load, before first render - Override CSS variables from theme.* on document root - Override ROLE_COLORS/ROLE_STYLE from nodeColors.* - Replace nav brand text, logo, favicon from branding.* - Store config in window.SITE_CONFIG for other pages Home page (home.js): - Hero title/subtitle from config.home - Steps and checklist from config.home - Footer links from config.home.footerLinks - Chooser welcome text uses configured siteName Config example updated with all available theme options. No default appearance changes — all overrides are optional.
4.0 KiB
4.0 KiB