Skip to content

Commit

Permalink
feat: Text 공통 디자인 xxs 추가, 기존 xl -> xxl로 변경, 새로운 xl 추가 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
junyeokk committed May 13, 2024
1 parent 460df23 commit bcddedb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/typography/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export const Text = styled.span<IText>`
font-size: ${(props) => {
switch (props.size) {
case "xxs":
return "12px";
case "xs":
return "14px";
case "s":
Expand All @@ -20,6 +22,8 @@ export const Text = styled.span<IText>`
case "l":
return "22px";
case "xl":
return "28px";
case "xxl":
return "40px";
default:
return props.size;
Expand Down

0 comments on commit bcddedb

Please sign in to comment.