fix(ui-toolkit): sparkline red shaded area color

This commit is contained in:
Matthew Russell 2023-10-26 10:19:05 -07:00
parent b192603e57
commit 1397aafd25
No known key found for this signature in database

View File

@ -15,9 +15,9 @@ function colorByChange(a: number, b: number) {
function shadedColor(a: number, b: number) {
if (a < b) {
return 'fill-market-green-600 dark:fill-market-green';
return 'fill-market-green-600';
} else if (a > b) {
return 'fill-market-red-600 dark:fill-market-red';
return 'fill-market-red';
}
return 'fill-black dark:fill-white';
}