diff --git a/apps/web/src/components/ArchitectureDiagram.tsx b/apps/web/src/components/ArchitectureDiagram.tsx index 34273c2..ccdae59 100644 --- a/apps/web/src/components/ArchitectureDiagram.tsx +++ b/apps/web/src/components/ArchitectureDiagram.tsx @@ -393,7 +393,7 @@ export function ArchitectureDiagram(): React.ReactElement { // Determine colors based on type let strokeColor = 'var(--color-border)'; - let fillOpacity = 0.5; + let fillColor = 'var(--color-background)'; if (node.type === 'source') { strokeColor = 'var(--color-foreground)'; } else if (node.type === 'process') { @@ -404,7 +404,7 @@ export function ArchitectureDiagram(): React.ReactElement { strokeColor = 'var(--color-foreground-secondary)'; } else if (node.type === 'output') { strokeColor = 'var(--color-foreground)'; - fillOpacity = 1; + fillColor = 'var(--color-foreground)'; } // Main rectangle @@ -416,8 +416,7 @@ export function ArchitectureDiagram(): React.ReactElement { .attr('width', node.width) .attr('height', node.height) .attr('rx', node.type === 'output' ? 4 : 8) - .attr('fill', node.type === 'output' ? 'var(--color-foreground)' : 'var(--color-surface)') - .attr('fill-opacity', fillOpacity) + .attr('fill', fillColor) .attr('stroke', strokeColor) .attr('stroke-width', 1.5) .attr('filter', 'url(#arch-shadow)'); @@ -497,7 +496,7 @@ export function ArchitectureDiagram(): React.ReactElement { {/* Tooltip */} {hoveredInfo && ( -