Merge pull request 'Enlarge participant headings and make theme switch icon-only' (#17) from fix/participant-heading-theme-icon into main
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Successful in 3s

Reviewed-on: #17
This commit was merged in pull request #17.
This commit is contained in:
gnilebein committed 2026-11-07 16:49:52 +01:00
commit a138425ab0
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -1,6 +1,7 @@
<?php
/**
* Button that cycles the colour scheme (wired up by webroot/js/plenario.js `Theme`).
* Icon-only button that cycles the colour scheme (wired up by webroot/js/plenario.js `Theme`);
* the current and next scheme are in aria-label and title.
* Without JavaScript it stays hidden, the system setting applies.
*
* @var \App\View\AppView $this
@@ -18,7 +19,6 @@ $class ??= 'theme-switch';
data-label-prefix="<?= __('Farbschema') ?>" data-label-next="<?= __('wechseln zu') ?>"
<?= !empty($shortcut) ? 'aria-keyshortcuts="' . h($shortcut) . '"' : '' ?>>
<span class="theme-switch__icon" aria-hidden="true" data-theme-icon></span>
<span data-theme-label></span>
<?php if (!empty($shortcut)) : ?>
<kbd class="ctrl__key" aria-hidden="true">[<?= h($shortcut) ?>]</kbd>
<?php endif; ?>