From a77e05ff6cf7eed419c2e17692f35eb001c13aad Mon Sep 17 00:00:00 2001 From: Anton Grouchtchak Date: Thu, 20 Jan 2022 09:54:04 +0100 Subject: [PATCH] [WIP] Add dark mode style [WIP] Tailwind CDN is used here for development. Replaced all dark red colors with pastel alternatives. This commit also changes a few things in light mode: * The toggles are now green (Red is not a good option for `On` state). * Removed the double border from the `Clients` header. * Removed the bottom border/divider from the last table child. --- src/www/index.html | 111 +++++++++++++++++++++++---------------------- 1 file changed, 56 insertions(+), 55 deletions(-) diff --git a/src/www/index.html b/src/www/index.html index 4080c51a..e0fcf47e 100644 --- a/src/www/index.html +++ b/src/www/index.html @@ -3,15 +3,16 @@ WireGuard - + + - +
@@ -19,7 +20,7 @@
+ class="text-sm text-gray-400 dark:text-slate-400 mb-10 mr-2 mt-3 cursor-pointer hover:underline float-right" @click="logout"> Logout @@ -27,13 +28,13 @@ d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" /> -

- +

+ WireGuard

- -
-
+
+
-

Clients

+

Clients

@@ -361,7 +362,7 @@ To: "opacity-0" --> @@ -377,9 +378,9 @@ To: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" -->