From a3698c2f3c163d8072b986d276c988293bd4d1f9 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 2 Dec 2024 03:05:48 +0800 Subject: [PATCH] style: better cycle transfer card --- src/components/CycleTransferStatsClient.tsx | 26 ++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/components/CycleTransferStatsClient.tsx b/src/components/CycleTransferStatsClient.tsx index cbc9f31..541dc3b 100644 --- a/src/components/CycleTransferStatsClient.tsx +++ b/src/components/CycleTransferStatsClient.tsx @@ -2,6 +2,7 @@ import React from "react"; import { cn } from "@/lib/utils"; import { formatBytes } from "@/lib/format"; import AnimatedCircularProgressBar from "./ui/animated-circular-progress-bar"; +import { CircleStackIcon } from "@heroicons/react/24/outline"; interface CycleTransferStatsClientProps { name: string; @@ -35,7 +36,7 @@ export const CycleTransferStatsClient: React.FC< return (
{progress.toFixed(0)}% @@ -54,24 +58,30 @@ export const CycleTransferStatsClient: React.FC< max={100} min={0} value={progress} - primaryColor="hsl(var(--chart-1))" + primaryColor="hsl(var(--chart-5))" />