style: ajust dark theme

This commit is contained in:
jialin
2025-04-28 10:05:06 +08:00
parent 60d0750695
commit 3fb3381a19
26 changed files with 275 additions and 222 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { Progress, Tooltip } from 'antd';
import { memo, useMemo } from 'react';
import React, { memo, useMemo } from 'react';
const RenderProgress = memo(
(props: {
@@ -19,7 +19,7 @@ const RenderProgress = memo(
}
if (percent <= 50) {
return 'var(--color-progress-green)';
return 'var(--ant-color-success)';
}
if (percent <= 80) {
return 'var(--ant-color-warning)';