Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
fix: build workspace panels using incorrect colors
Kyle Mendelle46f445f5a80
diff --git a/frontend/src/routes/(app)/images/builds/+page.svelte b/frontend/src/routes/(app)/images/builds/+page.svelteindex f72aa3647..1ddef3adf 100644--- a/frontend/src/routes/(app)/images/builds/+page.svelte+++ b/frontend/src/routes/(app)/images/builds/+page.svelte@@ -1251,24 +1251,24 @@<div class="flex h-full flex-col"><Tabs.Root bind:value={rightPanelTab} class="flex h-full flex-col"><!-- Tabs header with refined styling -->- <div class="flex shrink-0 items-center justify-between border-b border-zinc-800/50 bg-zinc-950/40 px-3 py-2">- <Tabs.List class="flex items-center gap-1 rounded-lg border border-zinc-800/60 bg-zinc-950/60 p-1">+ <div class="border-border/50 bg-muted/40 flex shrink-0 items-center justify-between border-b px-3 py-2">+ <Tabs.List class="border-border/60 bg-muted/60 flex items-center gap-1 rounded-lg border p-1"><Tabs.Triggervalue="config"- class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground rounded-md px-3 py-1.5 text-xs font-medium transition-colors data-[state=active]:bg-blue-500/10"+ class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground data-[state=active]:bg-primary/10 rounded-md px-3 py-1.5 text-xs font-medium transition-colors"><CodeIcon class="mr-2 size-3.5" />{m.build_configuration()}</Tabs.Trigger><Tabs.Triggervalue="output"- class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground rounded-md px-3 py-1.5 text-xs font-medium transition-colors data-[state=active]:bg-emerald-500/10"+ class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground data-[state=active]:bg-primary/10 rounded-md px-3 py-1.5 text-xs font-medium transition-colors"><TerminalIcon class="mr-2 size-3.5" />{m.build_output()}{#if logLines.length > 0}<span- class="ml-1.5 rounded-full bg-emerald-500/15 px-1.5 py-0.5 text-[10px] font-semibold text-emerald-300 ring-1 ring-emerald-400/20"+ class="bg-primary/15 text-primary ring-primary/20 ml-1.5 rounded-full px-1.5 py-0.5 text-[10px] font-semibold ring-1">{logLines.length}</span>@@ -1330,16 +1330,16 @@subtitle={m.manual_build_workspace_subtitle()}><Tabs.Root bind:value={mainTab} class="flex h-[calc(100vh-12rem)] flex-col">- <Tabs.List class="mb-3 flex w-fit gap-2 rounded-lg border border-zinc-800/60 bg-zinc-950/60 p-1">+ <Tabs.List class="border-border/60 bg-muted/60 mb-3 flex w-fit gap-2 rounded-lg border p-1"><Tabs.Triggervalue="build"- class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground rounded-md px-3 py-1.5 text-sm font-medium data-[state=active]:bg-blue-500/10"+ class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground data-[state=active]:bg-primary/10 rounded-md px-3 py-1.5 text-sm font-medium">{m.manual_build_workspace()}</Tabs.Trigger><Tabs.Triggervalue="history"- class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground rounded-md px-3 py-1.5 text-sm font-medium data-[state=active]:bg-amber-500/10"+ class="data-[state=active]:text-foreground text-muted-foreground hover:text-foreground data-[state=active]:bg-primary/10 rounded-md px-3 py-1.5 text-sm font-medium">{m.build_history()}</Tabs.Trigger>diff --git a/frontend/src/routes/(app)/images/builds/components/build-output-panel.svelte b/frontend/src/routes/(app)/images/builds/components/build-output-panel.svelteindex 282a719c4..826dcde83 100644--- a/frontend/src/routes/(app)/images/builds/components/build-output-panel.svelte+++ b/frontend/src/routes/(app)/images/builds/components/build-output-panel.svelte@@ -59,9 +59,7 @@<div class="flex h-full flex-col p-8"><!-- Progress section with enhanced styling -->- <div- class="mb-6 shrink-0 space-y-4 rounded-2xl border border-zinc-800/50 bg-gradient-to-br from-zinc-900/50 to-zinc-900/30 p-5"- >+ <div class="border-border/50 bg-card mb-6 shrink-0 space-y-4 rounded-2xl border p-5"><div class="flex items-center justify-between"><div class="flex items-center gap-3"><div@@ -108,12 +106,10 @@<!-- Terminal output with refined styling --><divuse:autoScrollToBottom={{ enabled: autoScroll, key: logLines.length }}- class="group relative min-h-0 flex-1 overflow-auto rounded-2xl border border-zinc-900/50 bg-gradient-to-br from-zinc-950 via-zinc-950 to-black p-5 font-mono text-[13px] leading-[1.7] text-zinc-50 shadow-2xl shadow-black/50"+ class="group border-border/50 relative min-h-0 flex-1 overflow-auto rounded-2xl border bg-zinc-950 p-5 font-mono text-[13px] leading-[1.7] text-zinc-50 shadow-2xl shadow-black/50 dark:bg-zinc-950"><!-- Subtle scanline effect overlay -->- <div- class="pointer-events-none absolute inset-0 bg-gradient-to-b from-transparent via-white/[0.02] to-transparent opacity-40"- ></div>+ <div class="pointer-events-none absolute inset-0 hidden"></div><div class="relative">{#if logLines.length === 0}diff --git a/frontend/src/routes/(app)/images/builds/components/build-workspace-panel.svelte b/frontend/src/routes/(app)/images/builds/components/build-workspace-panel.svelteindex 617aba001..229989ab9 100644--- a/frontend/src/routes/(app)/images/builds/components/build-workspace-panel.svelte+++ b/frontend/src/routes/(app)/images/builds/components/build-workspace-panel.svelte@@ -38,15 +38,12 @@</script><div class="flex h-full flex-col">- <div class="relative border-b border-zinc-800/50 bg-gradient-to-r from-zinc-900/50 to-transparent px-4 py-3">- <div class="absolute inset-0 bg-gradient-to-br from-blue-500/5 via-transparent to-transparent"></div>+ <div class="border-border/50 relative border-b px-4 py-3"><div class="relative flex flex-col gap-3"><div class="flex items-center justify-between gap-3"><div class="flex items-center gap-3">- <div- class="flex size-9 items-center justify-center rounded-lg bg-gradient-to-br from-blue-500/20 to-cyan-500/10 ring-1 ring-blue-400/20"- >- <FolderOpenIcon class="size-4 text-blue-400" />+ <div class="bg-primary/10 ring-primary/20 flex size-9 items-center justify-center rounded-lg ring-1">+ <FolderOpenIcon class="text-primary size-4" /></div><div><h2 class="text-sm font-semibold tracking-tight">{m.build_context()}</h2>@@ -64,12 +61,12 @@</ArcaneButton></div>- <div class="flex items-center gap-2 rounded-lg border border-zinc-800/70 bg-zinc-950/50 p-1">+ <div class="border-border/70 bg-muted/50 flex items-center gap-2 rounded-lg border p-1"><buttontype="button"class={`flex-1 rounded-md px-3 py-2 text-xs font-medium transition-colors ${contextMode === 'workspace'- ? 'bg-blue-500/12 text-blue-100 ring-1 ring-blue-400/20'+ ? 'bg-primary/10 text-primary ring-primary/20 ring-1': 'text-muted-foreground hover:text-foreground'}`}onclick={() => onModeChange?.('workspace')}@@ -80,7 +77,7 @@type="button"class={`flex-1 rounded-md px-3 py-2 text-xs font-medium transition-colors ${contextMode === 'remote'- ? 'bg-emerald-500/12 text-emerald-100 ring-1 ring-emerald-400/20'+ ? 'bg-primary/10 text-primary ring-primary/20 ring-1': 'text-muted-foreground hover:text-foreground'}`}onclick={() => onModeChange?.('remote')}@@ -96,18 +93,16 @@{#if contextMode === 'workspace'}<BuildWorkspaceBrowser {provider} {rootLabel} {rootPath} onSelectContext={(path: string) => onSelectContext?.(path)} />{:else}- <div- class="flex h-full flex-col rounded-2xl border border-emerald-500/20 bg-gradient-to-br from-emerald-500/8 via-zinc-950 to-zinc-950 p-5"- >+ <div class="border-border/20 bg-card flex h-full flex-col rounded-2xl border p-5"><div class="max-w-xl space-y-2">- <p class="text-sm font-semibold text-emerald-100">{m.build_remote_git_context_title()}</p>+ <p class="text-foreground text-sm font-semibold">{m.build_remote_git_context_title()}</p><p class="text-muted-foreground text-sm">{m.build_remote_git_context_description()}</p></div><div class="mt-5 space-y-3">- <label for="remote-context-url" class="text-xs font-medium tracking-[0.12em] text-zinc-400 uppercase">+ <label for="remote-context-url" class="text-muted-foreground text-xs font-medium tracking-[0.12em] uppercase">{m.git_repository_url()}</label><input@@ -122,9 +117,9 @@/></div>- <div class="mt-5 grid gap-3 text-xs text-zinc-400 sm:grid-cols-2">- <div class="rounded-xl border border-zinc-800/70 bg-zinc-950/60 p-3">- <div class="font-medium text-zinc-200">{m.build_remote_git_examples()}</div>+ <div class="text-muted-foreground mt-5 grid gap-3 text-xs sm:grid-cols-2">+ <div class="border-border/70 bg-muted/50 rounded-xl border p-3">+ <div class="text-foreground font-medium">{m.build_remote_git_examples()}</div><div class="mt-2 font-mono leading-5 break-all">https://github.com/owner/repo.git<br />@@ -133,8 +128,8 @@https://github.com/owner/repo.git#main:docker/app</div></div>- <div class="rounded-xl border border-zinc-800/70 bg-zinc-950/60 p-3">- <div class="font-medium text-zinc-200">{m.build_remote_git_credential_lookup_title()}</div>+ <div class="border-border/70 bg-muted/50 rounded-xl border p-3">+ <div class="text-foreground font-medium">{m.build_remote_git_credential_lookup_title()}</div><div class="mt-2 leading-5">{m.build_remote_git_credential_lookup_description()}</div>