diff --git a/src/components/graph/graph-view.tsx b/src/components/graph/graph-view.tsx index 0a727e5..6a41367 100644 --- a/src/components/graph/graph-view.tsx +++ b/src/components/graph/graph-view.tsx @@ -22,8 +22,8 @@ export function GraphView({ hideClosed = false, }: GraphViewProps) { return ( -
Graph View @@ -32,7 +32,7 @@ export function GraphView({ onGraphTabChange('flow')} - className={`rounded-lg px-3 py-1.5 text-xs font-bold uppercase tracking-wider transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ui-accent-info)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ui-bg-shell)] ${ + className={`rounded-lg px-3 py-1.5 text-xs font-bold uppercase tracking-wider transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--accent-info)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface-tertiary)] ${ graphTab === 'flow' ? 'bg-sky-400/10 text-sky-200 shadow-[0_2px_8px_rgba(56,189,248,0.1)]' : 'text-text-muted/60 hover:text-text-body hover:bg-white/[0.04]' @@ -43,7 +43,7 @@ export function GraphView({ onGraphTabChange('overview')} - className={`rounded-lg px-3 py-1.5 text-xs font-bold uppercase tracking-wider transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ui-accent-info)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ui-bg-shell)] ${ + className={`rounded-lg px-3 py-1.5 text-xs font-bold uppercase tracking-wider transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--accent-info)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface-tertiary)] ${ graphTab === 'overview' ? 'bg-sky-400/10 text-sky-200 shadow-[0_2px_8px_rgba(56,189,248,0.1)]' : 'text-text-muted/60 hover:text-text-body hover:bg-white/[0.04]' diff --git a/src/components/graph/smart-dag.tsx b/src/components/graph/smart-dag.tsx index 2f8a0ce..f0e2988 100644 --- a/src/components/graph/smart-dag.tsx +++ b/src/components/graph/smart-dag.tsx @@ -153,16 +153,16 @@ export function SmartDag({ ); return ( - - + + setShowFilters(current => !current)} className={`flex items-center gap-2 rounded-xl border px-3 py-1.5 text-xs font-bold transition-all ${ showFilters - ? 'border-sky-400/30 bg-sky-400/10 text-sky-300' - : 'border-white/10 bg-white/5 text-text-muted hover:bg-white/10' + ? 'border-[var(--accent-info)]/30 bg-[var(--accent-info)]/10 text-[var(--accent-info)]' + : 'border-[var(--border-subtle)] bg-[var(--surface-quaternary)] text-[var(--text-tertiary)] hover:bg-[var(--surface-hover)]' }`} >