feat: add dark theme

This commit is contained in:
4gray committed 2021-03-21 13:15:24 +01:00
1 parent 2e6fa1cfa7
commit 0cf010aba3
19 files changed
+201 -45

No files matched your search

+26 -2
View File
@@ -95,6 +95,30 @@
</p>
</div>
</mat-list-item>
<mat-list-item>
<div matLine fxLayout="row">
<p fxFlex>{{ 'SETTINGS.THEME' | translate }}</p>
<p fxFlex>
<mat-form-field appearance="fill">
<mat-label>{{
'SETTINGS.VIDEO_PLAYER_PLACEHOLDER'
| translate
}}</mat-label>
<mat-select formControlName="theme">
<mat-option
*ngFor="
let theme of themeEnum | keyvalue
"
[value]="theme.value"
>{{
'THEMES.' + theme.value | translate
}}</mat-option
>
</mat-select>
</mat-form-field>
</p>
</div>
</mat-list-item>
<mat-list-item>
<div matLine fxLayout="row">
<p fxFlex>{{ 'SETTINGS.VERSION' | translate }}</p>
@@ -109,7 +133,7 @@
<mat-card-actions>
<button
mat-button
color="primary"
color="accent"
type="submit"
[disabled]="settingsForm.pristine"
>
@@ -119,7 +143,7 @@
<div fxFlex></div>
<button
mat-button
color="primary"
color="accent"
type="reset"
(click)="backToHome()"
>