Browse Source

Added two new themes: ubuntu and tokyo_night

Hukasx0 1 year ago
parent
commit
3526040b5d
3 changed files with 53 additions and 1 deletions
  1. 3 1
      settings.php
  2. 26 0
      static/css/tokyo_night.css
  3. 24 0
      static/css/ubuntu.css

+ 3 - 1
settings.php

@@ -62,7 +62,9 @@
                     <option value=\"startpage\">Startpage Dark</option>
                     <option value=\"gruvbox\">Gruvbox</option>
                     <option value=\"github_night\">GitHub Night</option>
-                    <option value=\"catppuccin\">Catppucin</option>";
+                    <option value=\"catppuccin\">Catppucin</option>
+                    <option value=\"ubuntu\">Ubuntu</option>
+                    <option value=\"tokyo_night\">Tokyo night</option>";
 
                     if (isset($_COOKIE["theme"]))
                     {

+ 26 - 0
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;
+}

+ 24 - 0
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;
+}