// SvxPortal — web front-end for SvxReflector // Copyright (C) 2026 SA7AUX (Björn) // SPDX-License-Identifier: AGPL-3.0-or-later // // This program is free software: you can redistribute it and/or modify it under // the terms of the GNU Affero General Public License as published by the Free // Software Foundation, either version 3 of the License, or (at your option) any // later version. See the LICENSE file for details. /* Theme engine — Dark / Light / Color, with a Color editor. Shared by every web * (canonical copy: /lib/theme.js; other repos carry a COPY). * Page settings: window.THEME_AUTH_BASE (default '/auth/'); window.THEME_SERVER_SYNC = false * disables the per-account sync (svxlink-web has no account backend). * * Loaded from WITHOUT defer so the saved theme applies before the first * paint, and as an EXTERNAL file because the site CSP is script-src 'self' * (inline