aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.html
diff options
context:
space:
mode:
authorAlex <alexta69@gmail.com>2021-12-17 19:33:20 +0200
committerGitHub <noreply@github.com>2021-12-17 19:33:20 +0200
commitdadc18951a69e2a4ebc6f357149b5ca8c8e6b8b4 (patch)
tree9a5aacb087f5db2bbbfe87c9760468246d49b427 /ui/src/app/app.component.html
parentfix download link (closes #89) (diff)
parentchanges to the theme toggle button (diff)
downloadmetube-dadc18951a69e2a4ebc6f357149b5ca8c8e6b8b4.tar.gz
metube-dadc18951a69e2a4ebc6f357149b5ca8c8e6b8b4.tar.bz2
metube-dadc18951a69e2a4ebc6f357149b5ca8c8e6b8b4.zip
Merge pull request #90 from asuyou/dark-mode
Made theme toggleable
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r--ui/src/app/app.component.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index 1496bde..cebd97f 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -12,6 +12,11 @@
</ul>
</div>
-->
+ <div class="ml-auto">
+ <button class="btn btn-outline-light button-toggle-theme" aria-label="Toggle theme" (click)="themeChanged()">
+ <fa-icon [icon]="darkMode ? faSun : faMoon"></fa-icon>
+ </button>
+ </div>
</nav>
<main role="main" class="container">
bgstack15