0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-26 15:58:21 -05:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Kekma
a03c53a07e
Merge 9510c597e0 into ce4912b9c5 2024-03-24 11:27:16 +00:00
KekmaTime
9510c597e0 Fixed sizer eror in parser.rs 2024-03-24 16:56:11 +05:30
Kekma
85223ceac9
updated size to u8
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2024-03-24 16:45:18 +05:30
alamin655
21a9a6faf6
Merge branch 'rolling' into 526 2024-03-24 13:07:33 +05:30
Phetzy
ce4912b9c5
Rose pine colorscheme variants for the search engine (#550)
* created 3 rose pine color schemes for more customization

* adjusted simple.css about logo container svg to use the logo color variable and match the search container
2024-03-24 07:31:17 +00:00
5 changed files with 40 additions and 3 deletions

View File

@ -0,0 +1,12 @@
: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

@ -0,0 +1,12 @@
: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

@ -0,0 +1,12 @@
: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,6 +482,7 @@ footer div {
.about-container article .logo-container svg {
width: clamp(200px, 530px, 815px);
color: var(--logo-color);
}
.about-container article .text-block {
@ -858,4 +859,4 @@ input:checked + .slider::before {
.feature-card {
border-radius: 0;
}
}
}

View File

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