HORON
Get Started Foundations Components Mascot Updates

Foundations

Typography

본문은 Geist Variable 하나로 씁니다. 크기는 캡션 12px부터 히어로 48px까지 7단이고, 무게와 줄 간격은 별도 스케일로 조합합니다.

타입 스케일은 두 겹입니다. 컴포넌트가 넓게 쓰는 Tailwind 정렬 스케일(fontSize)과, 캔버스의 의미 단위 스케일(text)입니다. 문서와 마케팅 화면은 의미 단위를 씁니다.

의미 단위 스케일

caption 12px See. Build. Execute.
body 14px See. Build. Execute.
lead 16px See. Build. Execute.
subtitle 18px See. Build. Execute.
heading 24px See. Build. Execute.
display 36px See. Build. Execute.
hero 48px See. Build. Execute.

무게

regular · 400

Insight, activated.

medium · 500

Insight, activated.

semibold · 600

Insight, activated.

bold · 700

Insight, activated.

줄 간격

token value 쓰는 곳
none 1 설명 문단, 긴 글
tight 1.25 제목, 큰 수치
snug 1.375 제목, 큰 수치
normal 1.5 본문
relaxed 1.625 설명 문단, 긴 글
loose 2 설명 문단, 긴 글

폰트 패밀리

  • sans — 'Geist Variable', ui-sans-serif, system-ui, sans-serif
  • mono — ui-monospace, SFMono-Regular, Menlo, monospace

패밀리 값은 fontFamily.web에서 CSS 스택 문자열로 나오고, 컴포넌트와 문서 사이트가 같은 스택을 씁니다.