diff --git a/src/App.test.tsx b/src/App.test.tsx index 1120df5..fbb133d 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -35,8 +35,8 @@ describe("React app dashboard state view", () => { expect(html).toContain('data-ui-theme-toggle="true"'); expect(html).toContain('data-ui-theme-current="dark"'); - expect(html).toContain('aria-label="Switch to light theme"'); - expect(html).not.toContain("aria-pressed"); + expect(html).toContain('aria-label="Light theme"'); + expect(html).toContain('aria-pressed="false"'); expect(html).toContain("Theme"); expect(html).toContain("Dark"); expect(html).toContain("Light"); diff --git a/src/app.css b/src/app.css index e4fe069..0345394 100644 --- a/src/app.css +++ b/src/app.css @@ -67,8 +67,8 @@ --accent: var(--ui-color-accent); --accent-foreground: var(--ui-color-canvas); --destructive: var(--ui-color-danger); - --border: rgba(244, 244, 244, 0.16); - --input: rgba(244, 244, 244, 0.18); + --border: var(--ui-color-border); + --input: var(--ui-color-border-strong); --ring: var(--ui-color-accent); --chart-1: var(--ui-color-accent); --chart-2: var(--ui-color-ok); @@ -107,10 +107,11 @@ body { min-height: 100vh; margin: 0; background: + radial-gradient(circle at 50% 12%, transparent 0 42%, var(--ui-color-backdrop-vignette) 100%), linear-gradient(var(--ui-color-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--ui-color-grid-line) 1px, transparent 1px), var(--ui-color-canvas); - background-size: 48px 48px, 48px 48px, auto; + background-size: auto, 40px 40px, 40px 40px, auto; color: var(--ui-color-text); font-family: var(--ui-font-mono); text-rendering: geometricPrecision; diff --git a/src/lib/ui/components/DashboardFrame.tsx b/src/lib/ui/components/DashboardFrame.tsx index 6a3a35b..cdf312a 100644 --- a/src/lib/ui/components/DashboardFrame.tsx +++ b/src/lib/ui/components/DashboardFrame.tsx @@ -22,7 +22,7 @@ export function DashboardFrame({ return (
-
+
{dashboard.eyebrow ?

{dashboard.eyebrow}

: null} diff --git a/src/lib/ui/components/ServiceRow.tsx b/src/lib/ui/components/ServiceRow.tsx index 1030092..cf065f4 100644 --- a/src/lib/ui/components/ServiceRow.tsx +++ b/src/lib/ui/components/ServiceRow.tsx @@ -11,6 +11,7 @@ export function ServiceRow({ service }: ServiceRowProps) { const rel = service.link?.external ? "noreferrer" : undefined; const content = ( <> +