change hover color on publications, colors of icons on edit-profil, splash screen changed

This commit is contained in:
Eudes Inácio
2021-10-26 15:27:25 +01:00
parent e126ca2e96
commit 2a00ea8a76
28 changed files with 46 additions and 27 deletions
+4 -2
View File
@@ -1,4 +1,5 @@
import { Injectable } from '@angular/core';
import { StorageService } from 'src/app/services/storage.service';
@Injectable({
providedIn: 'root'
@@ -12,7 +13,7 @@ export class ThemeService {
currentTheme = 'gov'
constructor() { }
constructor(private storageservice: StorageService) { }
setTheme(theme: 'gov' | 'default') {
@@ -20,7 +21,8 @@ export class ThemeService {
document.body.classList.remove("default");
document.body.classList.add(theme);
this.currentTheme = theme
console.log('Current theme', theme)
console.log('Current theme', theme);
this.storageservice.store('theme',theme);
}