Update roadmap block color

pull/1331/head
Kamran Ahmed 3 years ago
parent 269e9eb90b
commit 6a319fe6cc
  1. 24
      components/roadmap/home-roadmap-item.tsx

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

Loading…
Cancel
Save