From af83cec692ae425d2ca6002d40a96d17a33bc5f7 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Wed, 25 Feb 2026 20:20:59 -0600 Subject: [PATCH] feat(ui): subtle rounded corners and shadow when window is floating Detect maximized state via Tauri window API. When the window is not maximized (floating), apply 8px border-radius and a soft box-shadow. Body/html backgrounds set to transparent so corners show through the Tauri transparent window. --- src/app.css | 2 +- src/app.html | 4 ++-- src/routes/+page.svelte | 23 ++++++++++++++++++++++- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/app.css b/src/app.css index 63815473f..6d9733fb8 100644 --- a/src/app.css +++ b/src/app.css @@ -1272,7 +1272,7 @@ body { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; - background-color: var(--bg-primary); + background-color: transparent; color: var(--text-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; diff --git a/src/app.html b/src/app.html index 01ea984f4..a2cea9e72 100644 --- a/src/app.html +++ b/src/app.html @@ -1,5 +1,5 @@ - + @@ -7,7 +7,7 @@ QBZ %sveltekit.head% - +