1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

start styling for dark theme

This commit is contained in:
Kyle Spearrin
2018-05-30 23:11:05 -04:00
parent 68a696e86f
commit db06b60704
15 changed files with 130 additions and 58 deletions

View File

@@ -105,6 +105,7 @@ export class OptionsComponent implements OnInit {
async saveTheme() {
await this.storageService.save(ConstantsService.themeKey, this.theme);
this.analytics.eventTrack.next({ action: 'Set Theme ' + this.theme });
window.setTimeout(() => window.location.reload(), 200);
}
private callAnalytics(name: string, enabled: boolean) {