diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts
index db80c2a7..fcd177e8 100644
--- a/apps/desktop/src/main.ts
+++ b/apps/desktop/src/main.ts
@@ -117,10 +117,10 @@ function createMainWindow(): BrowserWindow {
minWidth: 840,
minHeight: 620,
// The web shell draws its own title bar (workspace switcher) beside the
- // inset traffic lights, which sit centered in its 48px height.
+ // inset traffic lights, which sit centered in its 40px height.
...(process.platform === "darwin" && {
titleBarStyle: "hiddenInset",
- trafficLightPosition: { x: 14, y: 18 },
+ trafficLightPosition: { x: 14, y: 14 },
}),
// Windows and Linux take the window's icon; macOS ignores it for the Dock's.
icon: ICON,
diff --git a/apps/web/index.html b/apps/web/index.html
index 44fc6686..397bf2e9 100644
--- a/apps/web/index.html
+++ b/apps/web/index.html
@@ -23,10 +23,10 @@
/* The app's desktop tint (--cw-desktop in style.css), so the swap to the app does not shift colour. */
body {
- background: color-mix(in oklab, var(--t-bg) 96%, var(--t-text));
+ background: var(--cw-desktop, var(--t-bg));
color: var(--t-text);
font:
- 13px/1.4 system-ui,
+ var(--text-ui, 12px) / 1.4 var(--font-sans, system-ui),
-apple-system,
"Segoe UI",
sans-serif;
diff --git a/apps/web/src/components/composer.tsx b/apps/web/src/components/composer.tsx
index 5d86972d..b1c187c9 100644
--- a/apps/web/src/components/composer.tsx
+++ b/apps/web/src/components/composer.tsx
@@ -1,5 +1,5 @@
import { CornerDownLeft, X, type LucideIcon } from "lucide-react";
-import type { ComponentProps, ReactNode, Ref } from "react";
+import type { ReactNode, Ref } from "react";
import { cn } from "@/lib/utils";
import { isMac } from "@codeworksh/widget/view";
@@ -48,10 +48,8 @@ export function Composer({
return (
{/* Pulled left by a control's padding, so the first one's icon lines up with the prompt's text. */}
-
+
{controls}
{actions}
@@ -97,7 +95,7 @@ export function Composer({
{tray !== undefined && (
// Inset from the card's rounded corners, tucked under its bottom edge.
-
+
{tray}
)}
@@ -106,17 +104,7 @@ export function Composer({
}
/** Shared expanded surface for starting a session and replying to one. */
-export function PromptComposer(props: ComponentProps) {
- return (
-
- );
-}
+export const PromptComposer = Composer;
export function ComposerHeader({
title,
@@ -128,9 +116,9 @@ export function ComposerHeader({
readonly onClose?: () => void;
}) {
return (
-