diff options
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r-- | ui/src/app/app.component.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 3fc9bd2..cebd97f 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -12,12 +12,9 @@ </ul> </div> --> - <div> - <button class="btn btn-secondary" aria-label="Toggle theme" (click)="themeChanged()"> - <i *ngIf="darkMode; else sunIcon" class="bi bi-sun-fill"></i> - <ng-template #sunIcon> - <i class="bi bi-moon-stars-fill"></i> - </ng-template> + <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> |