From 0bc21007c9e80abe59f91f8370f5a6150df5cc97 Mon Sep 17 00:00:00 2001 From: Jakub Srsen Date: Mon, 6 Sep 2021 02:52:42 +0100 Subject: [PATCH] Adds JSON preview dark mode as well as dark mode persistence Fixes other style inconsistencies --- resources/views/client/dashboard.twig | 66 +++++++++++++++++---------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/resources/views/client/dashboard.twig b/resources/views/client/dashboard.twig index 128e820..29dae16 100644 --- a/resources/views/client/dashboard.twig +++ b/resources/views/client/dashboard.twig @@ -19,10 +19,16 @@ ::selection { @apply bg-pink-500 bg-opacity-50; } + .dark { + color-scheme: dark; + } + #app .hljs { + background: transparent; + } - - + +