mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save theme 1 for doneIt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user