|
@@ -10,4 +10,12 @@ export class Session {
|
|
|
static bearerToken(): string | null {
|
|
|
return localStorage.getItem('token');
|
|
|
}
|
|
|
+
|
|
|
+ static setTheme(theme: string) {
|
|
|
+ localStorage.setItem('theme', theme);
|
|
|
+ }
|
|
|
+
|
|
|
+ static theme(): string | null {
|
|
|
+ return localStorage.getItem('theme');
|
|
|
+ }
|
|
|
}
|