style: ui style

This commit is contained in:
jialin
2024-07-02 15:03:38 +08:00
parent 6989345088
commit 49efbd1a7f
38 changed files with 336 additions and 135 deletions
+3 -3
View File
@@ -25,12 +25,12 @@ const UitilBar: React.FC<UitilBarProps> = (props) => {
const strokeColorFunc = (percent: number) => {
if (percent <= 50) {
return 'var(--ant-color-primary)';
return 'var(--color-chart-green)';
}
if (percent <= 80) {
return 'var(--ant-color-warning)';
return 'var(--color-chart-glod)';
}
return 'var(--ant-color-error)';
return 'var(--color-chart-red)';
};
return (
<div className="util-bar-box">