Skip to content

Commit

Permalink
feat: label2_mono 토큰 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
soulchicken committed Jan 6, 2025
1 parent c963ba3 commit b9f280c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
23 changes: 14 additions & 9 deletions apps/wow-docs/app/foundation/typography/_component/LabelCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,24 @@ const LabelCard = () => {
Label1_U : SUIT v1_Semibold, 16px, 100%, -1%
</Text>
<Text typo="label2">Label2 : SUIT v1_Semibold, 14px, 100%, -1%</Text>
<Text typo="label2U">
Label2_U : SUIT v1_Semibold, 14px, 100%, -1%
</Text>
<Text typo="label2U2">
Label2_U2 : SUIT v1_Medium, 14px, 160%, -1%
</Text>
<Flex flexDirection="column" gap="sm">
<Text typo="label2U">
Label2_U : SUIT v1_Semibold, 14px, 100%, -1%
</Text>
<Text typo="label2U">링크 버튼 등에 활용해요.</Text>
</Flex>
<Flex flexDirection="column" gap="sm">
<Text typo="label2U2">
Label2_U2 : SUIT v1_Medium, 14px, 160%, -1%
</Text>
<Text typo="label2U2">링크 버튼 등에 활용해요.</Text>
</Flex>
</Flex>
<Flex flexDirection="column" gap="md">
{/* TODO: Label2_Mono가 필요해요. */}
<Text typo="label2U2">
<Text typo="label2Mono">
Label2_U2 : SUIT v1_Medium, 14px, 160%, -1%
</Text>
<Text color="sub" typo="label2U2">
<Text color="sub" typo="label2Mono">
포인트 텍스트로 자유롭게 활용하되, 영문으로만 사용해요. <br />
문장 단위로 사용하지 않아요.
</Text>
Expand Down
8 changes: 8 additions & 0 deletions packages/wow-tokens/src/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ export const label2U2 = {
textDecoration: "underline",
};

export const label2Mono = {
fontFamily: "Roboto-Mono",
fontSize: "0.875rem",
lineHeight: "100%",
fontWeight: 400,
letterSpacing: "-0.01rem",
};

export const label3 = {
fontFamily: "SUIT",
fontSize: "0.75rem",
Expand Down

0 comments on commit b9f280c

Please sign in to comment.