From 31af983640942835f2acec8086f9712b52ea5a26 Mon Sep 17 00:00:00 2001 From: Tristan Michael Date: Tue, 14 Apr 2026 05:27:21 -0700 Subject: [PATCH 1/4] Add ink theme and remove onyx border class Add an "Ink" theme for e-ink displays and remove the previously applied onyx-border class from the App container. The new theme defines high-contrast monochrome variables, suppresses shadows and decorative effects, adjusts scrollbars and select options, and adds a subtle linux-window-border color suitable for e-ink screens. The onyx border CSS was removed and the App.svelte container no longer toggles the onyx-border class; the Settings screen now includes the Ink option in the theme selector. Remove unnecessary blank line in app.css Remove an unneeded blank line in the Tauri app stylesheet. The extra line was left behind when considering a mode elimination and is not required, so this cleans up the CSS file to keep it tidy and consistent. --- apps/tauri/src/App.svelte | 2 +- apps/tauri/src/app.css | 40 +++++++++++++++++-- .../src/lib/screens/SettingsScreen.svelte | 1 + 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/apps/tauri/src/App.svelte b/apps/tauri/src/App.svelte index d9e8773..5e29705 100644 --- a/apps/tauri/src/App.svelte +++ b/apps/tauri/src/App.svelte @@ -14,7 +14,7 @@
-
+
Dracula + From 34d7e8b17d47160e8c582b73a4fca2d573158187 Mon Sep 17 00:00:00 2001 From: Tristan Michael Date: Tue, 14 Apr 2026 05:58:17 -0700 Subject: [PATCH 2/4] Add Linux system window decorations setting Expose a per-user setting to toggle system window decorations on Linux and apply it to the UI and window behavior. - Add a SettingsScreen option (Linux-only) to toggle "System window decorations" and bind it to the app store. - Track the preference in app store with persistent localStorage key and getter/setter (setSystemDecorations) that updates the Tauri window decorations via getCurrentWindow().setDecorations(). - Respect the setting when rendering the main App.svelte by disabling rounded corners and custom Linux window border when system decorations are enabled. This change is needed to let Linux users choose native title bar/window chrome for better integration with their desktop environment. --- apps/tauri/src/App.svelte | 6 +++--- .../src/lib/screens/SettingsScreen.svelte | 21 +++++++++++++++++++ apps/tauri/src/lib/stores/app.svelte.ts | 14 +++++++++++++ 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/apps/tauri/src/App.svelte b/apps/tauri/src/App.svelte index 5e29705..cf89b8d 100644 --- a/apps/tauri/src/App.svelte +++ b/apps/tauri/src/App.svelte @@ -14,11 +14,11 @@
-
+
{#if app.error} diff --git a/apps/tauri/src/lib/screens/SettingsScreen.svelte b/apps/tauri/src/lib/screens/SettingsScreen.svelte index ba56c69..2518cae 100644 --- a/apps/tauri/src/lib/screens/SettingsScreen.svelte +++ b/apps/tauri/src/lib/screens/SettingsScreen.svelte @@ -1,8 +1,11 @@ -
-
+
+
{#if app.error} diff --git a/apps/tauri/src/app.css b/apps/tauri/src/app.css index ad580fd..7da049f 100644 --- a/apps/tauri/src/app.css +++ b/apps/tauri/src/app.css @@ -248,6 +248,28 @@ body { border-color: rgba(0, 0, 0, 0.5); } +/* ── Dropdown/kebab menu shadow ──────────────────────────────────── */ + +.menu-shadow { + box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.12); +} +.dark .menu-shadow { + box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.3); +} + +/* ── Borderless mode: square corners on all popups/overlays ─────── */ + +.decorations-none .rounded-sm, +.decorations-none .rounded, +.decorations-none .rounded-md, +.decorations-none .rounded-lg, +.decorations-none .rounded-xl, +.decorations-none .rounded-2xl, +.decorations-none .rounded-3xl, +.decorations-none .dropdown-menu button { + border-radius: 0 !important; +} + /* ── Accessibility: Reduced motion ───────────────────────────────── */ @media (prefers-reduced-motion: reduce) { diff --git a/apps/tauri/src/lib/components/TaskDetailView.svelte b/apps/tauri/src/lib/components/TaskDetailView.svelte index 88a3498..f1fc699 100644 --- a/apps/tauri/src/lib/components/TaskDetailView.svelte +++ b/apps/tauri/src/lib/components/TaskDetailView.svelte @@ -160,7 +160,7 @@ {#if showMenu} -
+