feat(color-scheme): set color scheme on body

The color scheme is now set on the document body. The reactivity is
ensured by a watcher on the color scheme ref. The color CSS variables
are now set on the body.
This commit is contained in:
2026-07-28 19:46:18 +02:00
parent 1b7b7cbc68
commit 2206b9952b
3 changed files with 24 additions and 9 deletions
+2
View File
@@ -15,6 +15,8 @@ limitations under the License.
*/
body {
background-color: var(--light-bg);
color: var(--dark);
margin: 0;
font-size: 16px;
}