fix(ui): replace hardcoded chart hex colors with Warm Precision tokens

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-21 13:45:52 -05:00
parent 72c09d95bb
commit b8d8abde32
5 changed files with 12 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ interface SparklineProps {
height?: number
}
export function Sparkline({ data, color = '#38BDF8', width = 60, height = 24 }: SparklineProps) {
export function Sparkline({ data, color = 'hsl(var(--accent))', width = 60, height = 24 }: SparklineProps) {
const chartData = data.map((v, i) => ({ v, i }))
return (
<LineChart width={width} height={height} data={chartData}>