# Typography
URL: /foundations/typography
Source: https://github.com/daangn/seed-design/blob/dev/docs/content/foundations/typography.mdx
Typography is a design element for expressing content clearly and efficiently.
## Preview
Typography is a core element for presenting text clearly, consistently, and accessibly across all digital channels. By defining reusable tokens and components, this system helps systematically manage diverse text styles such as headings and body text. This maintains visual hierarchy and consistency.
## Overview
The Crispy typography system defines font size, line height, and font weight as individual tokens. These tokens are combined into two types of text styles:
- **Scale Text Styles**: Abbreviated combinations like t5Regular and t1Bold that combine font size, line height, and font weight. These styles enable quick application of standard text styling throughout the product.
- **Semantic Text Styles**: Text styles like screenTitle and articleBody configured for specific roles or usage scenarios. These styles embody design intent and provide consistency throughout the user interface.
## Fonts
Considering users' device environments, we use system fonts from each platform in most cases. This ensures consistent user experience and readability across multiple devices and operating systems used in different countries and regions.
| Platform | Recommended Font |
| ------------------- | ---------------- |
| iOS, Android, macOS | System Default |
| Windows | Pretendard |
On Windows, the system fonts Malgun Gothic and Segoe UI often misalign with design intent, so we use [Pretendard](https://github.com/orioncactus/pretendard). If Pretendard is not available on the user's device and the product has not prepared Pretendard web fonts, it will display as Malgun Gothic or Segoe UI.
For details on how to apply recommended font families in web environments, see [Fonts](/react/getting-started/styling/fonts).
## Typography Tokens
### Font Size Tokens
Font size tokens use relative units (rem) for accessibility and scalability. These values are calculated based on a default of 1rem = 16px.
| Token | default |
| --- | --- |
| $font-size.t1 | 0.6875rem (11px) |
| $font-size.t2 | 0.75rem (12px) |
| $font-size.t3 | 0.8125rem (13px) |
| $font-size.t4 | 0.875rem (14px) |
| $font-size.t5 | 1rem (16px) |
| $font-size.t6 | 1.125rem (18px) |
| $font-size.t7 | 1.25rem (20px) |
| $font-size.t8 | 1.375rem (22px) |
| $font-size.t9 | 1.5rem (24px) |
| $font-size.t10 | 1.625rem (26px) |
| $font-size.t11 | 1.75rem (28px) |
| $font-size.t12 | 2rem (32px) |
| $font-size.t13 | 2.5rem (40px) |
| $font-size.t14 | 3rem (48px) |
| $font-size.t1-static | 11px |
| $font-size.t2-static | 12px |
| $font-size.t3-static | 13px |
| $font-size.t4-static | 14px |
| $font-size.t5-static | 16px |
| $font-size.t6-static | 18px |
| $font-size.t7-static | 20px |
| $font-size.t8-static | 22px |
| $font-size.t9-static | 24px |
| $font-size.t10-static | 26px |
| $font-size.t11-static | 28px |
| $font-size.t12-static | 32px |
| $font-size.t13-static | 40px |
| $font-size.t14-static | 48px |
{/* For cases where fixed sizes are needed, pixel-based tokens (e.g., $font-size.t2-static, $font-size.t5-static, $font-size.t6-static) are also provided. */}
### Line Height Tokens
Line height tokens ensure appropriate vertical rhythm and readability. It is recommended to use them together with font size tokens of the same order.
| Token | default |
| --- | --- |
| $line-height.t1 | 0.9375rem (15px) |
| $line-height.t2 | 1rem (16px) |
| $line-height.t3 | 1.125rem (18px) |
| $line-height.t4 | 1.1875rem (19px) |
| $line-height.t5 | 1.375rem (22px) |
| $line-height.t6 | 1.5rem (24px) |
| $line-height.t7 | 1.6875rem (27px) |
| $line-height.t8 | 1.875rem (30px) |
| $line-height.t9 | 2rem (32px) |
| $line-height.t10 | 2.1875rem (35px) |
| $line-height.t11 | 2.375rem (38px) |
| $line-height.t12 | 2.625rem (42px) |
| $line-height.t13 | 3.25rem (52px) |
| $line-height.t14 | 3.75rem (60px) |
| $line-height.t1-static | 15px |
| $line-height.t2-static | 16px |
| $line-height.t3-static | 18px |
| $line-height.t4-static | 19px |
| $line-height.t5-static | 22px |
| $line-height.t6-static | 24px |
| $line-height.t7-static | 27px |
| $line-height.t8-static | 30px |
| $line-height.t9-static | 32px |
| $line-height.t10-static | 35px |
| $line-height.t11-static | 38px |
| $line-height.t12-static | 42px |
| $line-height.t13-static | 52px |
| $line-height.t14-static | 60px |
### Font Weight Tokens
Three font weight tokens are defined for clear visual contrast and hierarchy.
| Token | default |
| --- | --- |
| $font-weight.regular | 400 |
| $font-weight.medium | 500 |
| $font-weight.bold | 700 |
Because we use system fonts, the same medium (500) may render differently across
platforms. In Korean text, the weight may appear slightly heavier on Android than
on iOS (Apple SD Gothic Neo). On Android, the default font and fallback order vary
depending on device, OS version, and manufacturer settings (e.g., Noto Sans KR
family), so the degree of difference varies from device to device.
## Typography Components
Text styles are treated as usable components by combining tokens and are divided into two main categories:
### Semantic Text Styles
Semantic styles are used for specific roles within the UI. This ensures that text elements have a consistent appearance and function, designed for roles such as:
Component spec (JSON): /rootage/components/typography.json
### Scale Text Styles
Scale styles allow quick application by abbreviating font size, line height, and font weight.
For example, t4Medium represents a text style with font size t4 and font weight medium.
Typically, t1-t5 are used for body text and decorative text, while t6-t10 are used for headings and primary text. t11-t14 are large heading scales for bigger screens, and it is recommended to use them at the `sm` breakpoint and above.
Among scale text styles, Static text styles use Static font size tokens and Static line height tokens to provide text styles that do not respond to font scaling.
Component spec (JSON): /rootage/components/typography.json
## Usage Guidelines
- **Maintain Consistency**: Use defined tokens and components in all cases to maintain consistent typography.
- **Clear Hierarchy**: Clearly distinguish hierarchical levels such as headings and body text so users can efficiently recognize information.
- **Use Relative Units**: Use relative units like rem instead of fixed units (px) to respect users' font size preferences.
- **Semantic First**: When specific roles are required (e.g., screen title, article body), use semantic text styles to incorporate both design intent and functionality.
## Links