From fb53842a6103570eb6d9b4d9efd5d2ab717e52fe Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 8 Aug 2022 12:57:14 +0200 Subject: Fix inverting on darkmode and spacing Signed-off-by: Joas Schilling --- .../src/components/Checks/FileMimeType.vue | 16 +++++++++++++--- apps/workflowengine/src/components/Checks/RequestURL.vue | 8 +++++++- apps/workflowengine/src/components/Event.vue | 1 + apps/workflowengine/src/styles/operation.scss | 4 ++-- 4 files changed, 23 insertions(+), 6 deletions(-) (limited to 'apps/workflowengine') diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue index 1b227fb549a..4a920e4c889 100644 --- a/apps/workflowengine/src/components/Checks/FileMimeType.vue +++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue @@ -32,12 +32,12 @@ @input="setValue"> @@ -137,7 +137,7 @@ export default { }, } - diff --git a/apps/workflowengine/src/components/Checks/RequestURL.vue b/apps/workflowengine/src/components/Checks/RequestURL.vue index c9b241eddfa..85283a2a14f 100644 --- a/apps/workflowengine/src/components/Checks/RequestURL.vue +++ b/apps/workflowengine/src/components/Checks/RequestURL.vue @@ -136,8 +136,14 @@ export default { }, } - diff --git a/apps/workflowengine/src/components/Event.vue b/apps/workflowengine/src/components/Event.vue index 5f4b8dd87b0..fd35f61290c 100644 --- a/apps/workflowengine/src/components/Event.vue +++ b/apps/workflowengine/src/components/Event.vue @@ -131,6 +131,7 @@ export default { .option__icon { width: 16px; height: 16px; + filter: var(--background-invert-if-dark); } .eventlist img, diff --git a/apps/workflowengine/src/styles/operation.scss b/apps/workflowengine/src/styles/operation.scss index d936c64e2de..860258f2851 100644 --- a/apps/workflowengine/src/styles/operation.scss +++ b/apps/workflowengine/src/styles/operation.scss @@ -68,11 +68,11 @@ small { margin: 0; margin-right: 10px; &:not(.icon-invert) { - filter: invert(1); + filter: var(--background-invert-if-bright); } } } .colored .icon-invert { - filter: invert(1); + filter: var(--background-invert-if-bright); } -- cgit v1.2.3