From f1a9fe8383eb71ef49f9f440cca90b183f1f84bd Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 21 Mar 2026 10:44:49 +0000 Subject: [PATCH] =?UTF-8?q?agent:=20titlebar=20=E2=80=94=20restyle=20with?= =?UTF-8?q?=20brand=20tokens,=20add=20compact=20variant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/lib/components/Titlebar.svelte | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/lib/components/Titlebar.svelte b/src/lib/components/Titlebar.svelte index 420e04e..465608c 100644 --- a/src/lib/components/Titlebar.svelte +++ b/src/lib/components/Titlebar.svelte @@ -2,6 +2,8 @@ import { getCurrentWindow } from "@tauri-apps/api/window"; import { settings } from "$lib/stores/page.svelte.js"; + let { compact = false } = $props(); + let maximised = $state(false); async function handleMinimise() { @@ -34,15 +36,19 @@
- -
+ {#if !compact} + +
+ {/if}
@@ -50,23 +56,23 @@