Skip to content

Commit

Permalink
design: 텍스트 스타일 지정 (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
pipisebastian authored Mar 21, 2024
1 parent e884ffe commit 827c336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/CurriculumCard/CurriculumItem/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ const CurriculumItem = ({ id, name, itemOrder, isCompleted }: CurriculumItemProp

return (
<Flex key={id.toString()} align="center" gap="4" px="4">
<Text color={checked ? 'orange' : 'orange_light'} fontSize="xl" fontWeight="bold">
<Text textStyle="bold_xl" color={checked ? 'orange' : 'orange_light'}>
{itemOrder.toString().padStart(2, '0')}
</Text>

<Box w="100%" px="3" py="1.5" color="white" fontSize="lg" bg={checked ? 'orange' : 'orange_light'} rounded="3xl">
<Text pr="10" fontSize="xl">
<Box textStyle="lg" w="100%" px="3" py="1.5" color="white" bg={checked ? 'orange' : 'orange_light'} rounded="3xl">
<Text textStyle="bold_xl" pr="10">
{name}
</Text>
</Box>
Expand Down

0 comments on commit 827c336

Please sign in to comment.