Compare commits

...

4 Commits

Author SHA1 Message Date
ca6c19f4c8 chore: Release
Some checks failed
Continuous integration / Check (push) Successful in 35s
Continuous integration / Test Suite (push) Successful in 39s
Continuous integration / Trunk (push) Failing after 6m23s
Continuous integration / Rustfmt (push) Successful in 31s
Continuous integration / build (push) Successful in 1m47s
2025-02-13 10:32:43 -08:00
0f51f6e71f server: copy vars.css from web so I can publish release 2025-02-13 10:32:20 -08:00
4bd672bf94 chore: Release 2025-02-13 10:18:40 -08:00
136fd77f3b Add server back to workspace 2025-02-13 10:18:30 -08:00
8 changed files with 6526 additions and 37 deletions

6507
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
[workspace]
resolver = "2"
#default-members = ["server"]
members = ["notmuch", "procmail2notmuch", "shared"]
default-members = ["server"]
members = ["server", "notmuch", "procmail2notmuch", "shared"]
#members = ["web", "server", "notmuch", "procmail2notmuch", "shared"]
[profile.dev]

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-notmuch"
version = "0.1.0"
version = "0.3.0"
edition = "2021"
exclude = ["/testdata"]
description = "Wrapper for calling notmuch cli"

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-procmail2notmuch"
version = "0.1.0"
version = "0.3.0"
edition = "2021"
description = "Tool for generating notmuch rules from procmail"
license = "UNLICENSED"

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-server"
version = "0.1.0"
version = "0.3.0"
edition = "2021"
default-run = "letterbox-server"
description = "Backend for letterbox"

View File

@ -341,7 +341,7 @@ impl<'c> Transformer for SlurpContents<'c> {
"/* chrome-default.css */\n",
include_str!("chrome-default.css"),
"\n/* vars.css */\n",
include_str!("../../web/static/vars.css"),
include_str!("../static/vars.css"),
//"\n/* Xinu Specific overrides */\n",
//include_str!("custom.css"),
);

42
server/static/vars.css Normal file
View File

@ -0,0 +1,42 @@
:root {
--active-brightness: 0.85;
--border-radius: 5px;
--box-shadow: 2px 2px 10px;
--color-accent: #118bee15;
--color-bg: #fff;
--color-bg-secondary: #e9e9e9;
--color-link: #118bee;
--color-secondary: #920de9;
--color-secondary-accent: #920de90b;
--color-shadow: #f4f4f4;
--color-table: #118bee;
--color-text: #000;
--color-text-secondary: #999;
--color-scrollbar: #cacae8;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
--hover-brightness: 1.2;
--justify-important: center;
--justify-normal: left;
--line-height: 1.5;
/*
--width-card: 285px;
--width-card-medium: 460px;
--width-card-wide: 800px;
*/
--width-content: 1080px;
}
@media (prefers-color-scheme: dark) {
:root[color-mode="user"] {
--color-accent: #0097fc4f;
--color-bg: #333;
--color-bg-secondary: #555;
--color-link: #0097fc;
--color-secondary: #e20de9;
--color-secondary-accent: #e20de94f;
--color-shadow: #bbbbbb20;
--color-table: #0097fc;
--color-text: #f7f7f7;
--color-text-secondary: #aaa;
}
}

View File

@ -1,6 +1,6 @@
[package]
name = "letterbox-shared"
version = "0.1.0"
version = "0.3.0"
edition = "2021"
description = "Shared module for letterbox"
license = "UNLICENSED"