add theme to login

This commit is contained in:
Peter Maquiran
2021-10-21 14:15:50 +01:00
parent 2a2bfc1886
commit 6d1d461ba7
7 changed files with 54 additions and 37 deletions
+16
View File
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { ThemeService } from './theme.service';
describe('ThemeService', () => {
let service: ThemeService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(ThemeService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});
+17
View File
@@ -0,0 +1,17 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class ThemeService {
themes = [
'gov',
'default'
]
constructor() { }
setTheme() {}
}