mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change hover color on publications, colors of icons on edit-profil, splash screen changed
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user