mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
proposta tribunal
This commit is contained in:
@@ -8,17 +8,19 @@ export class ThemeService {
|
||||
|
||||
themes = [
|
||||
'gov',
|
||||
'default'
|
||||
'default',
|
||||
'tribunal'
|
||||
]
|
||||
|
||||
currentTheme = 'gov'
|
||||
|
||||
constructor(private storageservice: StorageService) { }
|
||||
|
||||
setTheme(theme: 'gov' | 'default') {
|
||||
setTheme(theme: 'gov' | 'default' | 'tribunal') {
|
||||
|
||||
document.body.classList.remove("gov");
|
||||
document.body.classList.remove("default");
|
||||
document.body.classList.remove("tribunal");
|
||||
document.body.classList.add(theme);
|
||||
this.currentTheme = theme
|
||||
console.log('Current theme', theme);
|
||||
|
||||
Reference in New Issue
Block a user