aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.html
diff options
context:
space:
mode:
authorasuyou <asuyou@users.noreply.github.com>2021-12-16 21:52:56 +0000
committerasuyou <asuyou@users.noreply.github.com>2021-12-16 21:57:54 +0000
commit225d37f88d3a2f763a46d3035a4491eeb4b56045 (patch)
tree048bbf3e326be0e70058c4533fff0cd1a5a8bc59 /ui/src/app/app.component.html
parentfix download link (closes #89) (diff)
downloadmetube-225d37f88d3a2f763a46d3035a4491eeb4b56045.tar.gz
metube-225d37f88d3a2f763a46d3035a4491eeb4b56045.tar.bz2
metube-225d37f88d3a2f763a46d3035a4491eeb4b56045.zip
Made theme toggleable
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r--ui/src/app/app.component.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index 1496bde..248ea76 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -12,6 +12,10 @@
</ul>
</div>
-->
+ <div>
+ <span class="text-white">Toggle Theme</span>
+ <input style="margin: 1rem;" type="checkbox" [ngModel]="this.darkMode" aria-label="Toggle theme" (change)="themeChanged()">
+ </div>
</nav>
<main role="main" class="container">
bgstack15