aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/recipe.js')
-rw-r--r--src/webview/recipe.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js
index 8ea2fabd9..4e2f5233a 100644
--- a/src/webview/recipe.js
+++ b/src/webview/recipe.js
@@ -127,8 +127,13 @@ class RecipeController {
127 } 127 }
128 } 128 }
129 129
130 console.log('Set theme to: ', this.settings.service.isDarkModeEnabled ? 'Dark' : 'Light'); 130 console.log(
131 if (this.settings.service.isDarkModeEnabled) { 131 'Darkmode enabled?',
132 this.settings.service.isDarkModeEnabled,
133 'Dark theme active?',
134 this.settings.app.isDarkThemeActive
135 );
136 if (this.settings.service.isDarkModeEnabled && this.settings.app.isDarkThemeActive !== false) {
132 debug('Enable dark mode'); 137 debug('Enable dark mode');
133 138
134 // Check if recipe has a darkmode.css 139 // Check if recipe has a darkmode.css