Skip to content

Commit

Permalink
feat: 많이 쓰는 타이포와 컬러로 디폴트 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Aug 12, 2024
1 parent af39bbf commit 3f0c591
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions packages/ui/src/components/Text/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@ interface TextProps extends PropsWithChildren {
}

export const Text = ({
typo = "body0",
color = "blue.100",
typo = "body1",
color = "textBlack",
children,
className,
...rest
}: TextProps) => {
return (
<styled.p
className={css({
textStyle: typo,
color: color,
})}
className={
(css({
textStyle: typo,
color: color,
}),
className)
}
{...rest}
>
{children}
Expand Down

0 comments on commit 3f0c591

Please sign in to comment.