From fe4b4f509418920e66b0691d7f7d2a06269cb969 Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Wed, 10 May 2023 13:04:01 +0530 Subject: [PATCH] dark theme fix --- style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index f8890f1..090f183 100644 --- a/style.css +++ b/style.css @@ -18,8 +18,8 @@ * this file will serve as a template for customization. */ -/* Default Nextcloud (v25) theme variables and colors */:root -{ +/* Default Nextcloud (v25) theme variables and colors */ +:root, [data-theme-light] { --main-color: var(--color-main-text); --main-bg-color: var(--color-main-background); --main-bg-image: none; @@ -201,7 +201,7 @@ --color-primary-drop:rgba(0, 0, 0, 0.12); } -body.theme--dark { +body[data-themes="dark"] , body[data-themes="dark-highcontrast"] { --main-color: var(--color-main-text); --main-bg-color: var(--color-main-background); --main-bg-image: none; -- GitLab