perf: 优化主题色配置以及暗色模式的文本辨识度

This commit is contained in:
Montia37
2025-09-08 10:04:04 +08:00
parent b9ca8d5454
commit 5dc65c9cba
24 changed files with 112 additions and 90 deletions

View File

@@ -177,7 +177,7 @@ function ChartTooltipContent({
return (
<div
className={cn(
"border-(--accent-a4) bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
"border-(--accent-4)/50 bg-background grid min-w-[8rem] items-start gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs shadow-xl",
className
)}>
{!nestLabel ? tooltipLabel : null}