Revamp chart colors: replace bland cyan/teal with vibrant blue/indigo/amber palette + fix tooltip indicators
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -313,3 +313,27 @@ div[class*="recharts-tooltip"] {
|
||||
background-color: hsl(var(--card)) !important;
|
||||
border-color: hsl(var(--border)) !important;
|
||||
}
|
||||
|
||||
/* Tremor/Recharts tooltip color indicator icons — fix rendering */
|
||||
.recharts-tooltip-wrapper svg.recharts-surface {
|
||||
display: inline-block !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Tremor custom tooltip color dots */
|
||||
[class*="tremor"] [role="tooltip"] span[class*="bg-"],
|
||||
[class*="tremor"] [role="tooltip"] span[style*="background"] {
|
||||
border-radius: 2px !important;
|
||||
min-width: 10px !important;
|
||||
min-height: 10px !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
/* Recharts default tooltip icon fix — ensure SVG paths have correct fill */
|
||||
.recharts-default-tooltip .recharts-tooltip-item-list {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.recharts-default-tooltip .recharts-tooltip-item svg {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user