diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 0edb0da8..a831b7ec 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -27,6 +27,6 @@ export class AppComponent implements OnInit { this.electronService.ipcRenderer.send('settings.changed', settings); }); } - this.themeService.setDarkMode(false); + // this.themeService.setDarkMode(false); } } diff --git a/src/app/components/adbutler/adbutler.component.scss b/src/app/components/adbutler/adbutler.component.scss index 811ec6e9..e3f9210b 100644 --- a/src/app/components/adbutler/adbutler.component.scss +++ b/src/app/components/adbutler/adbutler.component.scss @@ -1,5 +1,5 @@ .ad { - background-color: #263238; + background-color: transparent; width: 400px; padding-top: 10px; padding-bottom: 10px; diff --git a/src/app/components/notification-box/notification-box.component.html b/src/app/components/notification-box/notification-box.component.html index 359de8ff..c5bcafef 100644 --- a/src/app/components/notification-box/notification-box.component.html +++ b/src/app/components/notification-box/notification-box.component.html @@ -1,7 +1,7 @@
-
+
close
diff --git a/src/app/components/notification-box/notification-box.component.scss b/src/app/components/notification-box/notification-box.component.scss index 4d37df44..7fe7156a 100644 --- a/src/app/components/notification-box/notification-box.component.scss +++ b/src/app/components/notification-box/notification-box.component.scss @@ -14,6 +14,10 @@ border-bottom: 2px solid #0097a7; } +.lightTheme { + background-color: white; +} + .close-button { position: fixed; bottom: 90px; diff --git a/src/app/components/notification-box/notification-box.component.ts b/src/app/components/notification-box/notification-box.component.ts index d028911b..a07bd770 100644 --- a/src/app/components/notification-box/notification-box.component.ts +++ b/src/app/components/notification-box/notification-box.component.ts @@ -1,5 +1,6 @@ import { Component, OnInit, OnDestroy } from '@angular/core'; import { timer, Observable, Subscription } from 'rxjs'; +import { ThemeService } from '../../services/theme.service'; @Component({ selector: 'app-notification-box', @@ -22,11 +23,15 @@ export class NotificationBoxComponent implements OnInit, OnDestroy { breakTime: number = 20; isEndless: boolean = false; numberOfViews: number = 1; + isLightThemeEnabled: boolean = false; - constructor(){} + constructor( + private themeService: ThemeService + ){} ngOnInit() { this.startTimer(); + this.themeService.getActualTheme() === 'light' ? this.isLightThemeEnabled = true : this.isLightThemeEnabled = false; } startTimer() { diff --git a/src/app/components/project-map/log-console/log-console.component.html b/src/app/components/project-map/log-console/log-console.component.html index 122310c1..c0a3bcc6 100644 --- a/src/app/components/project-map/log-console/log-console.component.html +++ b/src/app/components/project-map/log-console/log-console.component.html @@ -5,6 +5,7 @@
{ let node: Node = event.event as Node; let message: string = ''; diff --git a/src/app/components/project-map/nodes-menu/nodes-menu.component.scss b/src/app/components/project-map/nodes-menu/nodes-menu.component.scss index 79ef3a63..db46a94e 100644 --- a/src/app/components/project-map/nodes-menu/nodes-menu.component.scss +++ b/src/app/components/project-map/nodes-menu/nodes-menu.component.scss @@ -5,7 +5,7 @@ width: 40px; margin-right: 12px !important; margin-left: 12px !important; - background: #263238; + background: transparent; padding: 0; border: none; background-color: transparent; diff --git a/src/app/components/project-map/project-map-menu/project-map-menu.component.scss b/src/app/components/project-map/project-map-menu/project-map-menu.component.scss index 133cf06e..9e6ad90e 100644 --- a/src/app/components/project-map/project-map-menu/project-map-menu.component.scss +++ b/src/app/components/project-map/project-map-menu/project-map-menu.component.scss @@ -5,7 +5,7 @@ width: 40px; margin-right: 12px !important; margin-left: 12px !important; - background: #263238; + background: transparent; padding: 0; border: none; background-color: transparent; diff --git a/src/app/components/project-map/project-map.component.html b/src/app/components/project-map/project-map.component.html index 4b8b52a3..3b876cd1 100644 --- a/src/app/components/project-map/project-map.component.html +++ b/src/app/components/project-map/project-map.component.html @@ -145,11 +145,11 @@
-
+
-