Merge pull request #119 from Ratakor/main

add dracula theme and fix useless whitespace
This commit is contained in:
hnhx 2023-01-01 20:36:01 +00:00 committed by GitHub
commit 985bdf44ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 12 deletions

View File

@ -52,6 +52,7 @@
<option value=\"amoled\">AMOLED</option>
<option value=\"light\">Light</option>
<option value=\"auto\">Auto</option>
<option value=\"dracula\">Dracula</option>
<option value=\"nord\">Nord</option>
<option value=\"night_owl\">Night Owl</option>
<option value=\"discord\">Discord</option>

26
static/css/dracula.css Normal file
View File

@ -0,0 +1,26 @@
:root {
--main-bg: #282A36;
--main-fg: #F8F8F2;
--result-link-fg: #8BE9FD;
--result-fg: #6272A4;
--button-bg: #44475A;
--special-result-border: opacity 50;
--special-text-background: #44475A;
--special-text-color: #F8F8F2;
--search-container-text-color: #F8F8F2;
--search-container-background-color: #44475A;
--search-container-background-border: #6272A4;
--search-form-background-color: #21222C;
--border: #6272A4;
--footer-fg: #C2C2C2;
--footer-bg: #44475A;
color-scheme: dark;
}