save theme 1 for doneIt

This commit is contained in:
Peter Maquiran
2022-10-18 14:51:24 +01:00
parent fa05871de5
commit 46296f5f3e
93 changed files with 520 additions and 92 deletions
+4 -2
View File
@@ -10,10 +10,11 @@ export class ThemeService {
themes = [
'gov',
'default',
'tribunal'
'tribunal',
'doneIt'
]
currentTheme: 'gov' | 'default' | 'tribunal' = 'gov'
currentTheme: 'gov' | 'default' | 'tribunal' | 'doneIt' = 'gov'
keyName: string
constructor(
@@ -35,6 +36,7 @@ export class ThemeService {
document.body.classList.remove("gov");
document.body.classList.remove("default");
document.body.classList.remove("tribunal");
document.body.classList.remove("doneIt");
document.body.classList.add(theme);
this.currentTheme = theme;