mirror of
https://github.com/luckjiawei/podux.git
synced 2026-11-30 00:56:47 +00:00
💄 Fix font color in dark mode.
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user