4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 09:45:52 +00:00

Add label to theme toggle

This commit is contained in:
QuickMythril 2024-11-03 01:02:48 -04:00
parent a4a5af8928
commit 0a6e2b7f85

View File

@ -20,7 +20,12 @@ class QortThemeToggle extends LitElement {
render() {
return html`
<input type="checkbox" @change=${() => this.toggleTheme()}/>
<input
type="checkbox"
role="switch"
aria-label="Dark theme"
@change=${() => this.toggleTheme()}
/>
<div class="slider"></div>
<div class="icon">
<span class="sun">${svgSun}</span>