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:
parent
a4a5af8928
commit
0a6e2b7f85
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user