mirror of
https://github.com/MarkusZoppelt/stahl.git
synced 2026-11-28 13:02:13 +01:00
Replace Tauri, React, and the web view with a single Rust crate on GPUI (through gpui-kit, which adds the inputs, editor, charts, and palette GPUI lacks), and redesign around what a native app and portfolio_rs 0.10 make possible. New: value-over-time charts and time-weighted return from daily snapshots, compatible with `portfolio_rs snapshot`; a sortable, searchable Holdings table with a detail pane; targets on the Allocation page; a screen naming the line and column of a positions file that does not parse, instead of showing it as empty; data-quality findings and price freshness; a command palette; hide-amounts mode; drag and drop; native menus; unsaved-changes tracking with a prompt on quit; and Copy as Markdown. Pages are regrouped from twelve into Portfolio, Plan, and Insights. Workspace and Validate merge into Data Health, with creating a workspace moved to Settings, where it is reachable: the old page was only shown once a workspace was open. The flake drops the frontend toolchain and pins Rust through rust-toolchain.toml, since GPUI needs 1.98 and nixpkgs has 1.95. tests/e2e.rs drives the real UI headlessly, on the main thread GPUI requires.
90 lines
3 KiB
JSON
90 lines
3 KiB
JSON
{
|
|
"name": "Stahl",
|
|
"author": "Stahl Capital",
|
|
"themes": [
|
|
{
|
|
"name": "Stahl Dark",
|
|
"mode": "dark",
|
|
"radius": 8,
|
|
"radius.lg": 12,
|
|
"shadow": false,
|
|
"colors": {
|
|
"accent.background": "#2a2e3f",
|
|
"accent.foreground": "#a9b1d6",
|
|
"background": "#1a1b26",
|
|
"border": "#2a2e3f",
|
|
"window_border": "#2a2e3f",
|
|
"ring": "#7aa2f7",
|
|
"foreground": "#a9b1d6",
|
|
"input.border": "#2a2e3f",
|
|
"muted.background": "#2a2e3f",
|
|
"muted.foreground": "#787c99",
|
|
"popover.background": "#1f2233",
|
|
"popover.foreground": "#a9b1d6",
|
|
"primary.background": "#7aa2f7",
|
|
"primary.hover.background": "#8db0f8",
|
|
"primary.active.background": "#6a93e8",
|
|
"primary.foreground": "#1a1b26",
|
|
"secondary.background": "#2a2e3f",
|
|
"secondary.hover.background": "#333850",
|
|
"secondary.active.background": "#3a3f59",
|
|
"secondary.foreground": "#a9b1d6",
|
|
"scrollbar.background": "#1a1b2600",
|
|
"scrollbar.thumb.background": "#2a2e3f",
|
|
"scrollbar.thumb.hover.background": "#565f89",
|
|
"selection.background": "#7aa2f744",
|
|
"caret": "#7aa2f7",
|
|
"success.background": "#73daca",
|
|
"success.foreground": "#1a1b26",
|
|
"danger.background": "#f7768e",
|
|
"danger.foreground": "#1a1b26",
|
|
"warning.background": "#e0af68",
|
|
"warning.foreground": "#1a1b26",
|
|
"info.background": "#7dcfff",
|
|
"info.foreground": "#1a1b26"
|
|
}
|
|
},
|
|
{
|
|
"name": "Stahl Light",
|
|
"mode": "light",
|
|
"radius": 8,
|
|
"radius.lg": 12,
|
|
"shadow": false,
|
|
"colors": {
|
|
"accent.background": "#f0f1f5",
|
|
"accent.foreground": "#343b58",
|
|
"background": "#e9e9ee",
|
|
"border": "#cbccd1",
|
|
"window_border": "#cbccd1",
|
|
"ring": "#34548a",
|
|
"foreground": "#343b58",
|
|
"input.border": "#cbccd1",
|
|
"muted.background": "#f0f1f5",
|
|
"muted.foreground": "#4e5579",
|
|
"popover.background": "#e6e7ed",
|
|
"popover.foreground": "#343b58",
|
|
"primary.background": "#34548a",
|
|
"primary.hover.background": "#0f4b6e",
|
|
"primary.active.background": "#0f4b6e",
|
|
"primary.foreground": "#ffffff",
|
|
"secondary.background": "#f0f1f5",
|
|
"secondary.hover.background": "#e0e1e8",
|
|
"secondary.active.background": "#d5d6db",
|
|
"secondary.foreground": "#343b58",
|
|
"scrollbar.background": "#d5d6db00",
|
|
"scrollbar.thumb.background": "#cbccd1",
|
|
"scrollbar.thumb.hover.background": "#9699a3",
|
|
"selection.background": "#34548a44",
|
|
"caret": "#34548a",
|
|
"success.background": "#33635c",
|
|
"success.foreground": "#ffffff",
|
|
"danger.background": "#8c4351",
|
|
"danger.foreground": "#ffffff",
|
|
"warning.background": "#8f5e15",
|
|
"warning.foreground": "#ffffff",
|
|
"info.background": "#0f4b6e",
|
|
"info.foreground": "#ffffff"
|
|
}
|
|
}
|
|
]
|
|
}
|