Add light/dark theme switch
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:
1 parent
f0c6687100
commit
58145e9753
9 files changed
+187
-18
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user