@bobfrankston/mailx 1.0.33 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>mailx</title>
7
7
  <link rel="icon" type="image/svg+xml" href="favicon.svg">
8
- <link rel="stylesheet" href="styles/tokens.css">
8
+ <link rel="stylesheet" href="styles/variables.css">
9
9
  <link rel="stylesheet" href="styles/layout.css">
10
10
  <link rel="stylesheet" href="styles/components.css">
11
11
  <script type="module" src="app.js"></script>
@@ -0,0 +1,65 @@
1
+ /* mailx design tokens -- all theming via custom properties */
2
+
3
+ :root {
4
+ /* Layout */
5
+ --folder-width: 220px;
6
+ --toolbar-height: 44px;
7
+ --statusbar-height: 24px;
8
+ --splitter-size: 5px;
9
+ --list-viewer-split: 40%;
10
+
11
+ /* Colors in oklch */
12
+ --color-brand: oklch(0.88 0.04 240); /* mailx light blue — toolbar, highlights */
13
+ --color-brand-dark: oklch(0.45 0.10 240); /* darker brand for text on light bg */
14
+ --color-bg: oklch(0.20 0.02 270);
15
+ --color-bg-surface: oklch(0.25 0.03 270);
16
+ --color-bg-hover: color-mix(in oklch, var(--color-bg-surface) 80%, white);
17
+ --color-bg-selected: var(--color-brand);
18
+ --color-bg-toolbar: oklch(0.22 0.02 270);
19
+ --color-text: oklch(0.90 0.01 270);
20
+ --color-text-muted: oklch(0.55 0.02 270);
21
+ --color-accent: var(--color-brand-dark);
22
+ --color-unread: oklch(0.95 0.02 270);
23
+ --color-border: oklch(0.35 0.02 270);
24
+ --color-danger: oklch(0.65 0.15 15);
25
+ --color-success: oklch(0.65 0.15 145);
26
+ --color-badge: oklch(0.60 0.18 250);
27
+
28
+ /* Typography */
29
+ --font-ui: "Segoe UI", system-ui, -apple-system, sans-serif;
30
+ --font-mono: "Cascadia Code", Consolas, monospace;
31
+ --font-size-sm: 0.9rem;
32
+ --font-size-base: 0.95rem;
33
+ --font-size-lg: 1.1rem;
34
+ --line-height: 1.45;
35
+
36
+ /* Spacing */
37
+ --gap-xs: 0.25rem;
38
+ --gap-sm: 0.5rem;
39
+ --gap-md: 0.75rem;
40
+ --gap-lg: 1rem;
41
+
42
+ /* Radii */
43
+ --radius-sm: 3px;
44
+ --radius-md: 6px;
45
+
46
+ color-scheme: dark light;
47
+ }
48
+
49
+ /* Light theme -- follows system preference */
50
+ @media (prefers-color-scheme: light) {
51
+ :root {
52
+ --color-bg: oklch(0.97 0.005 270);
53
+ --color-bg-surface: oklch(1.0 0 0);
54
+ --color-bg-hover: oklch(0.95 0.005 270);
55
+ --color-brand: oklch(0.88 0.04 240);
56
+ --color-brand-dark: oklch(0.35 0.12 240);
57
+ --color-bg-selected: var(--color-brand);
58
+ --color-bg-toolbar: oklch(0.95 0.005 270);
59
+ --color-text: oklch(0.20 0.02 270);
60
+ --color-text-muted: oklch(0.45 0.02 270);
61
+ --color-accent: var(--color-brand-dark);
62
+ --color-unread: oklch(0.10 0.02 270);
63
+ --color-border: oklch(0.85 0.01 270);
64
+ }
65
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -20,7 +20,7 @@
20
20
  "postinstall": "node launcher/builder/postinstall.js"
21
21
  },
22
22
  "dependencies": {
23
- "@bobfrankston/iflow": "^1.0.4",
23
+ "@bobfrankston/iflow": "^1.0.5",
24
24
  "@bobfrankston/miscinfo": "^1.0.6",
25
25
  "@bobfrankston/oauthsupport": "^1.0.11",
26
26
  "@bobfrankston/rust-builder": "^0.1.2",