separation des fronts
This commit is contained in:
parent
00d991f8b1
commit
d62915bfe5
276 changed files with 13955 additions and 12 deletions
17
admin/src/app/utils/theme/theme.service.ts
Normal file
17
admin/src/app/utils/theme/theme.service.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class ThemeService
|
||||
{
|
||||
|
||||
isLightTheme = true;
|
||||
|
||||
getClassTheme(): string
|
||||
{
|
||||
if(this.isLightTheme) return "lightTheme" ;
|
||||
else return "darkTheme"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue