From 4ad695eed6c2a3fa7fb164c4a0e4972dab2691d2 Mon Sep 17 00:00:00 2001 From: Lukas Stabe Date: Fri, 25 Sep 2020 05:23:23 +0200 Subject: [wip] client-side color-scheme handling --- src/auth.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index e3eec89..5d01568 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -120,8 +120,6 @@ fn build_unauthorized_response( &return_path, None, None, - state.default_color_scheme, - state.default_color_scheme, false, false, &state.favicon_route, -- cgit v1.2.3 From dab13c9bb3336aac4e44171f3074c4ce973b9782 Mon Sep 17 00:00:00 2001 From: Lukas Stabe Date: Sat, 26 Sep 2020 04:45:31 +0200 Subject: move css out of html into its own route --- src/auth.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index 5d01568..3233e22 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -123,6 +123,7 @@ fn build_unauthorized_response( false, false, &state.favicon_route, + &state.css_route, ) .into_string() } -- cgit v1.2.3 From 47895cad827180787a8f305ddac0372d2dbd266a Mon Sep 17 00:00:00 2001 From: Lukas Stabe Date: Thu, 1 Oct 2020 18:08:05 +0200 Subject: restore default theme cli option and add default theme dark option --- src/auth.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index 3233e22..a2dfe60 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -124,6 +124,8 @@ fn build_unauthorized_response( false, &state.favicon_route, &state.css_route, + &state.default_color_scheme, + &state.default_color_scheme_dark, ) .into_string() } -- cgit v1.2.3