init
This commit is contained in:
@@ -38,9 +38,9 @@ export function VolumeTrendChart({ data }: Props) {
|
||||
|
||||
if (!mounted) {
|
||||
return (
|
||||
<div className="w-full rounded-lg border border-muted/40 bg-surface p-4">
|
||||
<div className="mb-2 h-4 w-56 animate-pulse rounded bg-muted/30" />
|
||||
<div className="h-[220px] animate-pulse rounded bg-muted/20" />
|
||||
<div className="w-full rounded-2xl border border-white/10 bg-surface/55 shadow-lg shadow-black/10 backdrop-blur-md p-4">
|
||||
<div className="mb-2 h-4 w-56 animate-pulse rounded bg-white/10" />
|
||||
<div className="h-[220px] animate-pulse rounded bg-white/5" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ export function VolumeTrendChart({ data }: Props) {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="w-full rounded-lg border border-muted/40 bg-surface p-4">
|
||||
<div className="w-full rounded-2xl border border-white/10 bg-surface/55 shadow-lg shadow-black/10 backdrop-blur-md p-4">
|
||||
<div className="mb-2 text-sm text-fg/60">
|
||||
Trend wolumenu treningowego wg typu
|
||||
</div>
|
||||
@@ -75,9 +75,9 @@ export function VolumeTrendChart({ data }: Props) {
|
||||
<Tooltip
|
||||
cursor={{ fill: "var(--color-bg)" }}
|
||||
contentStyle={{
|
||||
background: "var(--color-bg)",
|
||||
border: "1px solid var(--color-muted)",
|
||||
borderRadius: 8,
|
||||
background: "color-mix(in oklab, var(--color-surface) 92%, transparent)",
|
||||
border: "1px solid rgba(255,255,255,0.12)",
|
||||
borderRadius: 12,
|
||||
fontSize: 12,
|
||||
color: "var(--color-fg)",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user