proposta tribunal

This commit is contained in:
tiago.kayaya
2021-10-27 15:10:55 +01:00
parent 84a0b1181b
commit f38e387879
26 changed files with 238 additions and 37 deletions
+4 -2
View File
@@ -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);