The VS Code of video editing, built for agents.
TypeScript
Update dashboard and scene components with improved styling for better UI consistency
konstantin-paulus604394f9f34e
diff --git a/apps/web/src/components/canvas/scene-init-overlay.tsx b/apps/web/src/components/canvas/scene-init-overlay.tsxindex 9ea3b08d..16dd1ab3 100644--- a/apps/web/src/components/canvas/scene-init-overlay.tsx+++ b/apps/web/src/components/canvas/scene-init-overlay.tsx@@ -219,7 +219,7 @@ export function SceneInitOverlay(props: DropOverlayProps) {</div><buttontype="button"- class="w-full h-full bg-background border border-border overflow-hidden flex items-center justify-center hover:bg-accent hover:border-input active:bg-muted active:border-input"+ class="w-full h-full bg-accent/50 border border-border overflow-hidden flex items-center justify-center hover:bg-accent hover:border-input active:bg-muted active:border-input"onClick={handleInitializeScene}ref={buttonRef}>diff --git a/apps/web/src/components/dashboard/dashboard.tsx b/apps/web/src/components/dashboard/dashboard.tsxindex 95a81286..996405c1 100644--- a/apps/web/src/components/dashboard/dashboard.tsx+++ b/apps/web/src/components/dashboard/dashboard.tsx@@ -70,9 +70,9 @@ export function Dashboard() {<DashboardSidebarUser active={view() === "account"} onClick={() => setView("account")} /></aside>- <Separator orientation="vertical" />+ <Separator orientation="vertical" class="bg-border-strong" />- <section class="flex min-h-0 flex-1 flex-col">+ <section class="flex min-h-0 flex-1 flex-col bg-canvas"><Switch><Match when={view() === "projects"}><DashboardProjectsView />diff --git a/apps/web/src/components/dashboard/projects-view.tsx b/apps/web/src/components/dashboard/projects-view.tsxindex a1f44320..62e0c019 100644--- a/apps/web/src/components/dashboard/projects-view.tsx+++ b/apps/web/src/components/dashboard/projects-view.tsx@@ -221,7 +221,7 @@ export function DashboardProjectsView() {}><DashboardCardButton onClick={handleCreateProject} class="hover:bg-background">- <DashboardCardPreview class="bg-background group-hover:bg-accent group-hover:border-input">+ <DashboardCardPreview class="bg-accent/50 group-hover:bg-accent group-hover:border-input"><Iconname="plus-add"class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-muted-foreground"diff --git a/apps/web/src/components/dashboard/shared.tsx b/apps/web/src/components/dashboard/shared.tsxindex 982b8287..a442b0ef 100644--- a/apps/web/src/components/dashboard/shared.tsx+++ b/apps/web/src/components/dashboard/shared.tsx@@ -40,7 +40,7 @@ type DashboardSurfaceCardProps = {export function DashboardSurfaceCard(props: DashboardSurfaceCardProps) {return (- <div class={cx("rounded-xl bg-input/40 p-4", props.class)}>+ <div class={cx("rounded-xl bg-accent/50 p-4", props.class)}>{props.children}</div>);diff --git a/apps/web/src/components/dashboard/sidebar.tsx b/apps/web/src/components/dashboard/sidebar.tsxindex 4206027d..beb6b950 100644--- a/apps/web/src/components/dashboard/sidebar.tsx+++ b/apps/web/src/components/dashboard/sidebar.tsx@@ -23,7 +23,7 @@ export function DashboardSidebarItem(props: DashboardSidebarItemProps) {type="button"onClick={props.onClick}class={cx("flex h-8 w-full items-center rounded-md px-0 hover:bg-accent focus-ring", props.class)}- classList={{ "bg-muted": props.active }}+ classList={{ "bg-accent": props.active }}><span class="grid size-7 place-items-center overflow-clip"><Show@@ -106,7 +106,7 @@ export function DashboardSidebarUser(props: DashboardSidebarUserProps) {type="button"onClick={props.onClick}class="flex w-full items-center gap-2 rounded-md p-2 text-left hover:bg-accent focus-ring"- classList={{ "bg-muted": props.active }}+ classList={{ "bg-accent": props.active }}><Showwhen={avatarUrl()}