0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-27 00:08:22 -05:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Kekma
10ff9ff909
Merge 2e467eb4a8 into 236e8871c6 2024-03-22 18:45:18 +05:30
5 changed files with 3 additions and 40 deletions

View File

@ -1,12 +0,0 @@
:root {
--background-color: #faf4ed;
--foreground-color: #575279;
--logo-color: #d7827e;
--color-one: #f2e9e1;
--color-two: #907aa9;
--color-three: #56949f;
--color-four: #ea9d34;
--color-five: #d7827e;
--color-six: #9893a5;
--color-seven: #575279;
}

View File

@ -1,12 +0,0 @@
:root {
--background-color: #232136;
--foreground-color: #e0def4;
--logo-color: #ea9a97;
--color-one: #393552;
--color-two: #c4a7e7;
--color-three: #9ccfd8;
--color-four: #f6c177;
--color-five: #ea9a97;
--color-six: #6e6a86;
--color-seven: #e0def4;
}

View File

@ -1,12 +0,0 @@
:root {
--background-color: #191724;
--foreground-color: #e0def4;
--logo-color: #ebbcba;
--color-one: #26233a;
--color-two: #c4a7e7;
--color-three: #9ccfd8;
--color-four: #f6c177;
--color-five: #eb6f92;
--color-six: #6e6a86;
--color-seven: #e0def4;
}

View File

@ -482,7 +482,6 @@ footer div {
.about-container article .logo-container svg { .about-container article .logo-container svg {
width: clamp(200px, 530px, 815px); width: clamp(200px, 530px, 815px);
color: var(--logo-color);
} }
.about-container article .text-block { .about-container article .text-block {

View File

@ -43,7 +43,7 @@ pub struct Config {
/// search results. /// search results.
pub safe_search: u8, pub safe_search: u8,
/// It stores the TCP connection keepalive duration in seconds. /// It stores the TCP connection keepalive duration in seconds.
pub tcp_connection_keepalive: u8, pub tcp_connection_keepalive: u64,
} }
impl Config { impl Config {
@ -133,7 +133,7 @@ impl Config {
upstream_search_engines: globals upstream_search_engines: globals
.get::<_, HashMap<String, bool>>("upstream_search_engines")?, .get::<_, HashMap<String, bool>>("upstream_search_engines")?,
request_timeout: globals.get::<_, u8>("request_timeout")?, request_timeout: globals.get::<_, u8>("request_timeout")?,
tcp_connection_keepalive: globals.get::<_, u8>("tcp_connection_keepalive")?, tcp_connection_keepalive: globals.get::<_, u64>("tcp_connection_keepalive")?,
threads, threads,
rate_limiter: RateLimiter { rate_limiter: RateLimiter {
number_of_requests: rate_limiter["number_of_requests"], number_of_requests: rate_limiter["number_of_requests"],