diff options
author | Alex <alexta69@gmail.com> | 2021-12-17 19:33:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 19:33:20 +0200 |
commit | dadc18951a69e2a4ebc6f357149b5ca8c8e6b8b4 (patch) | |
tree | 9a5aacb087f5db2bbbfe87c9760468246d49b427 /ui/src/app/app.component.html | |
parent | fix download link (closes #89) (diff) | |
parent | changes to the theme toggle button (diff) | |
download | metube-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.html | 5 |
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"> |