From 42801bdf9dce4319fb98e2b53b341ea345b4043d Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Mon, 30 Sep 2024 08:04:40 -0400 Subject: [PATCH 1/2] Apply dark mode to simple editor Fixes #1096 --- ui/frontend/editor/Editor.module.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/frontend/editor/Editor.module.css b/ui/frontend/editor/Editor.module.css index d80715272..67969aa41 100644 --- a/ui/frontend/editor/Editor.module.css +++ b/ui/frontend/editor/Editor.module.css @@ -19,4 +19,6 @@ .simple { composes: -advanced; border: none; + color: inherit; + background-color: inherit; } From 62c72ffc96b144d6323963c8926b155483b7bbb6 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Mon, 30 Sep 2024 08:09:15 -0400 Subject: [PATCH 2/2] Do not apply background color for warnings/errors in light mode The cascade strikes again... Fixes #1095 --- ui/frontend/index.module.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/frontend/index.module.css b/ui/frontend/index.module.css index e5fa8e5d5..fbf47ca4c 100644 --- a/ui/frontend/index.module.css +++ b/ui/frontend/index.module.css @@ -105,8 +105,10 @@ --output-current-tab: #f9ffff; /* Output compiler highlighting */ - --output-highlight-error-color: #bf1b1b; --output-highlight-warning-color: #f79a06; + --output-highlight-warning-bg-color: inherit; + --output-highlight-error-color: #bf1b1b; + --output-highlight-error-bg-color: inherit; } @define-mixin dark-theme-vars {