mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
merge meade
This commit is contained in:
@@ -10,8 +10,17 @@ export class ThemeService {
|
||||
'default'
|
||||
]
|
||||
|
||||
currentTheme = 'gov'
|
||||
|
||||
constructor() { }
|
||||
|
||||
setTheme() {}
|
||||
setTheme(theme: 'gov' | 'default') {
|
||||
|
||||
document.body.classList.remove("gov");
|
||||
document.body.classList.remove("default");
|
||||
document.body.classList.add(theme);
|
||||
this.currentTheme = theme
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user