Merge pull request 'Enlarge participant headings and make theme switch icon-only' (#17) from fix/participant-heading-theme-icon into main
Reviewed-on: #17
This commit was merged in pull request #17.
This commit is contained in:
commit
a138425ab0
3 files changed
+6
-6
No files matched your search
@@ -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; ?>
|
||||
|
||||
Reference in new issue
Block a user