💄 Fix font color in dark mode.

This commit is contained in:
刘嘉伟 committed 2026-03-20 17:26:01 +08:00
1 parent 560e8e71e3
commit 893e5bc670
2 files changed
+2 -12

No files matched your search

@@ -1,11 +0,0 @@
.recharts-legend-wrapper {
outline: none !important;
}
.recharts-legend-wrapper * {
outline: none !important;
}
.recharts-surface {
outline: none !important;
}
@@ -14,7 +14,6 @@ import { Link } from "react-router-dom";
import { motion } from "framer-motion";
import { AnimateNumber } from "../../components/AnimateNumber";
import { useTranslation } from "react-i18next";
import "./DashboardPage.css";
interface DashboardViewProps {
stats: DashboardStats;
@@ -271,6 +270,8 @@ export function DashboardView({ stats, topology }: DashboardViewProps) {
borderRadius: "var(--radius-3)",
fontSize: "12px",
}}
labelStyle={{ color: "var(--gray-12)" }}
itemStyle={{ color: "var(--gray-12)" }}
/>
<Legend />
</PieChart>