Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/app/(dashboard)/dashboard/costs/components/CostCharts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ export function ProviderSpendCard({
<Tooltip
formatter={(value: number) => currencyFormatter.format(value || 0)}
contentStyle={{
background: "var(--surface)",
border: "1px solid rgba(255,255,255,0.1)",
borderRadius: "12px",
backgroundColor: "var(--color-surface)",
borderColor: "var(--color-border)",
borderRadius: 12,
color: "var(--color-text-main)",
boxShadow: "var(--shadow-soft)",
}}
/>
</PieChart>
Expand Down Expand Up @@ -158,9 +160,11 @@ export function CostTrendCard({
<Tooltip
formatter={(value: number) => currencyFormatter.format(value || 0)}
contentStyle={{
background: "var(--surface)",
border: "1px solid rgba(255,255,255,0.1)",
borderRadius: "12px",
backgroundColor: "var(--color-surface)",
borderColor: "var(--color-border)",
borderRadius: 12,
color: "var(--color-text-main)",
boxShadow: "var(--shadow-soft)",
}}
/>
<Line
Expand Down Expand Up @@ -224,9 +228,11 @@ export function WeeklyPatternCard({
`${new Intl.NumberFormat(locale).format(value || 0)} ${tokensLabel}`
}
contentStyle={{
background: "var(--surface)",
border: "1px solid rgba(255,255,255,0.1)",
borderRadius: "12px",
backgroundColor: "var(--color-surface)",
borderColor: "var(--color-border)",
borderRadius: 12,
color: "var(--color-text-main)",
boxShadow: "var(--shadow-soft)",
}}
/>
<Bar dataKey="tokens" fill="#8b5cf6" radius={[4, 4, 0, 0]} />
Expand Down
Loading