Update roadmap block color

pull/1657/head
Kamran Ahmed 3 years ago
parent 42baef123d
commit 1f59a1a58c
  1. 24
      components/roadmap/home-roadmap-item.tsx

@ -11,17 +11,17 @@ type RoadmapGridItemProps = {
};
const bgColorList = [
'blue.900',
'red.800',
'green.800',
'teal.800',
'blue.800',
'red.900',
'gray.900',
'teal.800',
'yellow.900',
'green.900',
'red.900'
'red.100',
'yellow.100',
'green.200',
'teal.200',
'blue.200',
'red.200',
'gray.200',
'teal.200',
'yellow.100',
'green.200',
'red.200'
];
export function HomeRoadmapItem(props: RoadmapGridItemProps) {
@ -47,7 +47,7 @@ export function HomeRoadmapItem(props: RoadmapGridItemProps) {
</Tooltip>
)}
<Heading fontSize={['17px', '17px', '22px']} mb='5px'>{title}</Heading>
<Heading fontSize={['17px', '17px', '22px']} color={bgColorList[colorIndex]} mb='5px'>{title}</Heading>
<Text color='gray.200' fontSize={['13px']}>{subtitle}</Text>
{isUpcoming && (

Loading…
Cancel
Save