From 3526040b5d45deb8ec04441df29dcb796576d671 Mon Sep 17 00:00:00 2001 From: Hukasx0 Date: Sun, 30 Apr 2023 18:16:58 +0200 Subject: [PATCH] Added two new themes: ubuntu and tokyo_night --- settings.php | 4 +++- static/css/tokyo_night.css | 26 ++++++++++++++++++++++++++ static/css/ubuntu.css | 24 ++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 static/css/tokyo_night.css create mode 100644 static/css/ubuntu.css diff --git a/settings.php b/settings.php index bca23e1..fa41f3d 100644 --- a/settings.php +++ b/settings.php @@ -62,7 +62,9 @@ - "; + + + "; if (isset($_COOKIE["theme"])) { diff --git a/static/css/tokyo_night.css b/static/css/tokyo_night.css new file mode 100644 index 0000000..ccafda7 --- /dev/null +++ b/static/css/tokyo_night.css @@ -0,0 +1,26 @@ +:root { + --main-bg: #24283b; + --main-fg: #cfc9c2; + + --result-link-fg: #bb9af7; + --result-fg: #a2a08e; + + --button-bg: #343b58; + + --special-result-border: border 0; + --special-text-background: #1b1b18; + --special-text-color: #f2efd3; + + --search-container-text-color: #f2efd3; + --search-container-background-color: #565f89; + --search-container-background-border: #bb9af7; + + --search-form-background-color: #1a1b26; + + --border: #565f89; + + --footer-fg: #f2efd3; + --footer-bg: #1a1b26; + + color-scheme: dark; +} diff --git a/static/css/ubuntu.css b/static/css/ubuntu.css new file mode 100644 index 0000000..cd96da5 --- /dev/null +++ b/static/css/ubuntu.css @@ -0,0 +1,24 @@ +:root { + --main-bg: #2C001E; + --main-fg: #FFFFFF; + + --result-link-fg: #84de32; + --result-fg: #a2a08e; + + --button-bg: #5E2750; + + --special-result-border: border 0; + --special-text-background: #1b1b18; + --special-text-color: #f2efd3; + + --search-container-text-color: #f2efd3; + --search-container-background-color: #77216F; + --search-container-background-border: #E95420; + + --search-form-background-color: #333333; + + --border: #77216F; + + --footer-fg: #f2efd3; + --footer-bg: #5E2750; +}