Add light/dark theme switch
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped

Theme follows the system by default; the header switch cycles
auto/light/dark and is stored per browser. The presenter has its own
switch (T), dark by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 16:15:14 +01:00
1 parent f0c6687100
commit 58145e9753
9 files changed
+187 -18

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ $title = $this->fetch('title');
<meta name="robots" content="noindex, nofollow">
<?php endif; ?>
<title><?= $title ? h($title) . ' · ' : '' ?>Plenario</title>
<?= $this->element('theme_init') ?>
<?= $this->Html->meta('icon') ?>
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
<?= $this->fetch('meta') ?>
@@ -31,6 +32,7 @@ $title = $this->fetch('title');
<a href="<?= $this->Url->build(['_name' => 'join']) ?>"><?= __('Teilnehmen') ?></a>
<a href="<?= $this->Url->build(['_name' => 'recover']) ?>"><?= __('Admin-Link verloren?') ?></a>
</nav>
<?= $this->element('theme_switch') ?>
</div>
</header>
<main class="container main">