Restyle the UI: instrument-panel palette, type system, and a signal accent
Replaces the default shadcn grayscale/Geist look with a deliberate identity built around the product's own subject - a control panel for running scripts and watching their output live: - Type: Bricolage Grotesque for page/card titles (via the existing --font-heading token, used with restraint), IBM Plex Sans for UI body text, IBM Plex Mono for technical data (run IDs, commands, timestamps, status labels) - all self-hosted at build time via next/font/google, no runtime CDN dependency for a self-hosted tool. - Color: a cool graphite ink/paper base with a warm brass signal accent in both themes. The brass tone doubles as the "running" status color, so an active run literally lights the UI up with the brand color. New --status-* tokens give queued/running/succeeded/failed/cancelled/ warn a single source of truth instead of ad-hoc Tailwind color classes. - Structural language: small tracked-out uppercase mono labels mark technical fields (Command, Variables, Triggered by...) consistently; the live-output terminal gets an instrument-bezel frame (header bar + panel) instead of floating loose above the xterm canvas. Layout/IA is unchanged throughout - this is a token- and detail-level pass, not a restructuring. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+16
-6
@@ -13,21 +13,31 @@ export default function DashboardPage() {
|
||||
|
||||
if (config.scripts.length === 0) {
|
||||
return (
|
||||
<div className="text-muted-foreground py-24 text-center">
|
||||
No scripts configured yet. Add entries under{" "}
|
||||
<code className="bg-muted rounded px-1.5 py-0.5">scripts:</code> in your
|
||||
config file.
|
||||
<div className="flex flex-col items-center gap-2 py-24 text-center">
|
||||
<PlayCircle className="text-muted-foreground/50 mb-2 size-8" />
|
||||
<h1 className="font-heading text-lg font-semibold tracking-tight">
|
||||
No scripts yet
|
||||
</h1>
|
||||
<p className="text-muted-foreground max-w-sm text-sm">
|
||||
Add entries under{" "}
|
||||
<code className="bg-muted rounded px-1.5 py-0.5 font-mono text-xs">
|
||||
scripts:
|
||||
</code>{" "}
|
||||
in your config file to see them here.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-4">
|
||||
<h1 className="text-2xl font-semibold tracking-tight">Scripts</h1>
|
||||
<h1 className="font-heading text-2xl font-semibold tracking-tight">
|
||||
Scripts
|
||||
</h1>
|
||||
<div className="grid gap-3 sm:grid-cols-2">
|
||||
{config.scripts.map((script) => (
|
||||
<Link key={script.id} href={`/scripts/${script.id}`}>
|
||||
<Card className="hover:border-foreground/30 h-full transition-colors">
|
||||
<Card className="hover:border-primary/50 h-full transition-colors">
|
||||
<CardHeader className="flex flex-row items-start justify-between gap-2 space-y-0">
|
||||
<div className="flex items-center gap-2">
|
||||
<PlayCircle className="text-muted-foreground size-4.5 shrink-0" />
|
||||
|
||||
Reference in New Issue
Block a user