{# SPDX-License-Identifier: GPL-3.0-only -#} {# Copyright (C) 2026 Giovanni Manzoni -#} {#- Document skeleton. Contract (API.md section 4): the page extends this through page.html. No inline script and no inline handler anywhere (CSP script-src 'self'); the only script bodies are the application/json data block of page.html. theme-init.js is an external classic script in
so the theme is set before the first paint. The stored theme is rendered into (a browser that never visited paints the saved theme at once); data-theme-source says who wins: "server" (writes allowed: the stored value) or "device" (read-only server: this browser's cached choice, if any). -#} {#- Browser chrome colour: the surface tokens of tokens.css (a test keeps them equal). -#}