mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-13 06:48:54 +00:00
feat: dashboard theme overhaul — light content area with branded teal sidebar
Complete frontend visual redesign using certctl logo color palette: - Deep teal sidebar (#0c2e25) with prominent centered logo (64px in white pill) - Light content area (#f0f4f8) with white cards and visible borders - Brand colors from logo: teal (#2ea88f), blue (#3b7dd8), orange (#e8873a), green (#4ebe6e) - Inter + JetBrains Mono typography, colored stat card top borders - All 17 pages + 7 components updated (25 files, ~700 lines changed) - 15 new dashboard screenshots replacing old dark theme screenshots - Prometheus metrics e2e test added, integration test mock fixes - Docs updated: architecture.md theme description, testing-guide.md DNS-PERSIST-01 coverage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -35,15 +35,15 @@ export default function OwnersPage() {
|
||||
label: 'Owner',
|
||||
render: (o) => (
|
||||
<div>
|
||||
<div className="font-medium text-slate-200">{o.name}</div>
|
||||
<div className="text-xs text-slate-500 font-mono">{o.id}</div>
|
||||
<div className="font-medium text-ink">{o.name}</div>
|
||||
<div className="text-xs text-ink-faint font-mono">{o.id}</div>
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: 'email',
|
||||
label: 'Email',
|
||||
render: (o) => <span className="text-slate-300">{o.email || '\u2014'}</span>,
|
||||
render: (o) => <span className="text-ink">{o.email || '\u2014'}</span>,
|
||||
},
|
||||
{
|
||||
key: 'team',
|
||||
@@ -51,14 +51,14 @@ export default function OwnersPage() {
|
||||
render: (o) => {
|
||||
const team = teamMap.get(o.team_id);
|
||||
return team
|
||||
? <span className="text-blue-400">{team.name}</span>
|
||||
: <span className="text-slate-500 font-mono text-xs">{o.team_id || '\u2014'}</span>;
|
||||
? <span className="text-brand-400">{team.name}</span>
|
||||
: <span className="text-ink-faint font-mono text-xs">{o.team_id || '\u2014'}</span>;
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'created',
|
||||
label: 'Created',
|
||||
render: (o) => <span className="text-xs text-slate-400">{formatDateTime(o.created_at)}</span>,
|
||||
render: (o) => <span className="text-xs text-ink-muted">{formatDateTime(o.created_at)}</span>,
|
||||
},
|
||||
{
|
||||
key: 'actions',
|
||||
@@ -66,7 +66,7 @@ export default function OwnersPage() {
|
||||
render: (o) => (
|
||||
<button
|
||||
onClick={(e) => { e.stopPropagation(); if (confirm(`Delete owner ${o.name}?`)) deleteMutation.mutate(o.id); }}
|
||||
className="text-xs text-red-400 hover:text-red-300 transition-colors"
|
||||
className="text-xs text-red-600 hover:text-red-700 transition-colors"
|
||||
>
|
||||
Delete
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user