From b5140309e570524f75a1d53b393d85dbbeacb70e Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Mon, 15 Jun 2020 16:54:31 +0200
Subject: [PATCH] Add darkmode support for the modal background

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 core/src/jquery/css/jquery.ocdialog.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/jquery/css/jquery.ocdialog.scss b/core/src/jquery/css/jquery.ocdialog.scss
index 89653ae181a..1bb59512e56 100644
--- a/core/src/jquery/css/jquery.ocdialog.scss
+++ b/core/src/jquery/css/jquery.ocdialog.scss
@@ -62,7 +62,7 @@
 }
 
 .oc-dialog-dim {
-	background-color: #000;
+	background-color: var(--color-main-text);
 	opacity: .2;
 	z-index: 9999;
 	position: fixed;
-- 
GitLab