diff --git a/components/swap/SwapTokenChart.tsx b/components/swap/SwapTokenChart.tsx index 896e7fa3..43552b74 100644 --- a/components/swap/SwapTokenChart.tsx +++ b/components/swap/SwapTokenChart.tsx @@ -11,6 +11,7 @@ import { } from 'recharts' import LineChartIcon from '../icons/LineChartIcon' import ContentBox from '../shared/ContentBox' +import { GREEN, RED } from '../../styles/colors' dayjs.extend(relativeTime) @@ -241,15 +242,23 @@ const SwapTokenChart: FunctionComponent = ({ x2="0" y2="1" > - - + = 0 ? GREEN : RED} + stopOpacity={0.15} + /> + = 0 ? GREEN : RED} + stopOpacity={0} + /> = 0 ? GREEN : RED} fill="url(#gradientArea)" />