diff --git a/web/src/components/PriceChart.css b/web/src/components/PriceChart.css index 1e5c145..7d8329b 100644 --- a/web/src/components/PriceChart.css +++ b/web/src/components/PriceChart.css @@ -1,10 +1,10 @@ -.price-chart { - margin: 16px 0; - padding: 12px; - background: rgba(255, 255, 255, 0.03); - border-radius: 12px; - border: 1px solid rgba(255, 255, 255, 0.08); -} +.price-chart { + margin: 16px 0; + padding: 12px; + background: color-mix(in oklab, var(--foreground) 3%, transparent); + border-radius: 12px; + border: 1px solid var(--bl-border-subtle); +} .chart-header { display: flex; @@ -13,9 +13,9 @@ margin-bottom: 8px; } -.chart-label { - font-size: 12px; - color: #888; +.chart-label { + font-size: 12px; + color: var(--bl-text-faint); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; @@ -26,19 +26,19 @@ font-weight: 700; } -.chart-change.positive { - color: #00ff88; -} - -.chart-change.negative { - color: #ff3366; -} +.chart-change.positive { + color: var(--bl-success); +} + +.chart-change.negative { + color: var(--bl-danger); +} .price-chart-empty { - height: 120px; - display: flex; - align-items: center; - justify-content: center; - color: #666; - font-size: 13px; -} \ No newline at end of file + height: 120px; + display: flex; + align-items: center; + justify-content: center; + color: var(--bl-text-quiet); + font-size: 13px; +} diff --git a/web/src/components/PriceChart.tsx b/web/src/components/PriceChart.tsx index 18c444d..af44095 100644 --- a/web/src/components/PriceChart.tsx +++ b/web/src/components/PriceChart.tsx @@ -6,7 +6,7 @@ interface PriceChartProps { currentPrice: number; } -export const PriceChart = ({ data, currentPrice }: PriceChartProps) => { +export const PriceChart = ({ data, currentPrice }: PriceChartProps) => { if (!data || data.length === 0) { return (