added nord bluish theme
This commit is contained in:
parent
f98e3c68f0
commit
6993542674
29
src/web/assets/themes/nord-bluish.css
Normal file
29
src/web/assets/themes/nord-bluish.css
Normal file
@ -0,0 +1,29 @@
|
||||
:root {
|
||||
/* body background */
|
||||
--bg-1: #2e3440;
|
||||
/* background of the content */
|
||||
--bg-2: #3b4252;
|
||||
/* input suggestions background */
|
||||
--bg-3: #434c5e;
|
||||
/* mostly borders */
|
||||
--bg-4: #5e81ac;
|
||||
|
||||
/* main text color */
|
||||
--fg-1: #eceff4;
|
||||
/* search result description */
|
||||
--fg-2: #e5e9f0;
|
||||
--fg-3: #d8dee9;
|
||||
|
||||
/* focus outline */
|
||||
--accent: #88c0d0;
|
||||
|
||||
--link: #88c0d0;
|
||||
--link-visited: #5e81ac;
|
||||
|
||||
--positive: #a3be8c;
|
||||
|
||||
--syntax-string: #8fbcbb;
|
||||
--syntax-special: #5e81ac;
|
||||
--syntax-constant: #b48ead;
|
||||
--syntax-comment: #d8dee9;
|
||||
}
|
@ -67,6 +67,13 @@ pub async fn run(config: Config) {
|
||||
"text/css; charset=utf-8",
|
||||
),
|
||||
)
|
||||
.route(
|
||||
"/themes/nord-bluish.css",
|
||||
static_route(
|
||||
include_str!("assets/themes/nord-bluish.css"),
|
||||
"text/css; charset=utf-8",
|
||||
),
|
||||
)
|
||||
.route("/opensearch.xml", get(opensearch::route))
|
||||
.route("/autocomplete", get(autocomplete::route))
|
||||
.route("/image-proxy", get(image_proxy::route))
|
||||
|
@ -32,6 +32,7 @@ pub async fn get(
|
||||
select name="stylesheet-url" selected=(config.ui.stylesheet_url) {
|
||||
{ (theme_option("", "Ayu Dark")) }
|
||||
{ (theme_option("/themes/catppuccin-mocha.css", "Catppuccin Mocha")) }
|
||||
{ (theme_option("/themes/nord-bluish.css", "Nord Bluish"))}
|
||||
}
|
||||
|
||||
br;
|
||||
|
Loading…
Reference in New Issue
Block a user