Update roadmap block color
This commit is contained in:
@ -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 && (
|
||||||
|
Reference in New Issue
Block a user