Tokens

@boospatch/ui 토큰 시각화. palette → semantic → component 3계층, 5분할 파일.

Primary palette (10단)

Anchor: primary-400 = #06b281 (변경 금지). 50/600~900은 oklch 보간 [TBD].

ANCHOR
primary-50oklch(0.97 0.012 167)TBD
primary-100#e7f8f4
primary-200#ade2d5
primary-300#6fcbb3
primary-400#06b281
primary-500#18997d
primary-600oklch(0.50 0.10 169)TBD
primary-700oklch(0.40 0.08 170)TBD
primary-800oklch(0.30 0.06 170)TBD
primary-900oklch(0.20 0.04 170)TBD

Gray palette (11단)

기존 hex 보존, 550은 frontend 호환.

gray-50#f8f9fc
gray-100#f0f2f6
gray-200#e4e6ea
gray-300#b7babe
gray-400#9a9da2
gray-500#7e8186
gray-550#808181
gray-600#63666c
gray-700#494d52
gray-800#31353a
gray-900#1a1e23

Semantic (status)

palette alias.

--color-success→ var(--color-primary-400)
--color-warning→ var(--color-amber-500)TBD
--color-danger→ var(--color-signal-error-500)
--color-info→ var(--color-signal-info-500)

Accent (보조 액센트)

primary와 별도 레이어. 운영 서비스 사용 중 — 값·토큰명 유지. 그라디언트 사용 금지.

--color-accent-secondary#484961secondary CTA 배경 (Button color="secondary")
--color-additional-purple#8d63e9단일 보라 액센트 — 그라디언트 사용 금지
--color-marker-ai-500#8024ffMaps 마커 AI 리포트 시안 보라 (tone="ai")

Surface 레이어

다크모드 미리. 컴포넌트는 surface/fg를 직접 참조.

surface
white
surface-muted
gray-50
surface-strong
gray-100
surface-inverse
gray-900
--color-fg→ var(--color-gray-900)
--color-fg-muted→ var(--color-gray-600)
--color-fg-subtle→ var(--color-gray-400)
--color-fg-on-primary→ var(--color-white)

Typescale — 용도 (Txt variant 1순위)

size + weight + line-height + letter-spacing 한 번에 패키지된 디자이너 프리셋.

Display

36pxtext-display· 800 · -0.4px
현장 밀착 부동산

Hero

32pxtext-hero· 800
단지를 정확히 알려드려요

H1

24pxtext-h1· 800
현장지수 92점

H2

20pxtext-h2· 700
매물 12건 · 평균 갭 3억 2천

Body L

18pxtext-body-l· 500
최근 거래 3건의 평균을 기준으로 산정합니다.

Body

16pxtext-body· 500
매물 정보는 실시간으로 업데이트됩니다.

Body Bold

16pxtext-body-bold· 700
관심 단지로 등록되었습니다

Caption

13pxtext-caption· 500
2026.04.30 16:24 기준

Tag

11pxtext-tag· 700
NEW

Typescale — 의미 9단 (자유 조합)

용도 토큰에 안 맞을 때 또는 Tailwind utility 직접 호출 시. 토글 결과는 위 섹션에서 동기화.

text-xs12pxline-height 1.5
래미안 원베일리 — 38억~42억 · 84.21㎡
text-sm13pxline-height 1.5
래미안 원베일리 — 38억~42억 · 84.21㎡
text-base16pxline-height 1.5
래미안 원베일리 — 38억~42억 · 84.21㎡
text-md18pxline-height 1.5
래미안 원베일리 — 38억~42억 · 84.21㎡
text-lg20pxline-height 1.4
래미안 원베일리 — 38억~42억 · 84.21㎡
text-xl24pxline-height 1.3
래미안 원베일리 — 38억~42억 · 84.21㎡
text-2xl28pxline-height 1.3
래미안 원베일리 — 38억~42억 · 84.21㎡
text-3xl32pxline-height 1.25
래미안 원베일리 — 38억~42억 · 84.21㎡
text-4xl36pxline-height 1.2
래미안 원베일리 — 38억~42억 · 84.21㎡

픽셀 alias — boospatch-frontend 회귀 안전선

이름 그대로 정적 px. density 모드와 무관 — 메인 레포 호환 전용. 이 레포 코드에서는 alias 직접 사용 금지(의미/용도 토큰 사용).

--text-1010px
--text-1212px
--text-1414px
--text-1616px
--text-1919px
--text-2222px
--text-25_525.5px
--text-3030px
--text-3535px

Typography 보조

font-weight 4종 + tabular-nums 데모. typescale과 무관한 정적 자료.

font-weight 4종 (한글 가독성을 위해 light/thin은 사용 금지)

regular 400

--font-weight-regular

medium 500

--font-weight-medium

bold 700

--font-weight-bold

extrabold 800

--font-weight-extrabold

tabular-nums (가격·평수·평당가 정렬용)

기본: 3,800,000,000원 / 84.21㎡ / 평당 4,500만원
tabular: 3,800,000,000원 / 84.21㎡ / 평당 4,500만원

Spacing (2-base 보강)

부동산 정보 밀도용 미세 토큰(0.5/1.5/2.5) 추가. SaaS 4-base 위에 누적.

0.52px
14px
1.56px
28px
2.510px
312px
416px
624px
832px
1248px

Radius

sm

4px

md

8px

lg

12px

xl

16px

Z-index

--z-index-base0
--z-index-low10
--z-index-medium100
--z-index-high300
--z-index-modal1000
--z-index-priority9999

Maps marker tokens

PillMarker · DotMarker · ClusterBubble · MapTooltip 전용 컴포넌트 토큰. tone='brand'(녹색)/tone='ai'(보라) 양쪽 노출.

PillMarker — default / brand / ai

1래미안 퍼스티지
1래미안 퍼스티지
1래미안 퍼스티지

DotMarker — brand / ai / neutral (16px)

brand
ai
neutral

ClusterBubble — count별 radius + tone

brand · 1
brand · 12
brand · 42
ai · 1
ai · 12
ai · 42

MapTooltip — 카드 wrap (181px · radius-lg · 0.5 black shadow)

래미안 퍼스티지10억 2,500만32평 · 1,234세대 · 강남역까지 12분
--duration-tooltip-dwell200ms — marker → tooltip mouse 이동 허용 시간

Platform — Web ↔ App 토큰 비교

Web (desktop)

스위치로 토큰 컨텍스트 전환. 미리보기 영역(우측)만 PlatformScope로 감싸 지역 cascade — 카탈로그 표·매트릭스는 영향 없음.

Web 토큰

PC 데스크탑 기본값 (default)

Typescale

토큰WebApp
--text-display

36 / lh 1.2 / w800

32 / lh 1.25 / w800

--text-hero

32 / lh 1.25 / w800

28 / lh 1.3 / w800

--text-h1

24 / lh 1.3 / w800

22 / lh 1.35 / w800

--text-h2

20 / lh 1.4 / w700

18 / lh 1.45 / w700

Spacing (밀도형)

토큰WebApp
--spacing-0.5

2px

4px

--spacing-1.5

6px

8px

--spacing-2.5

10px

12px

기타

토큰WebApp
--color-ring

oklch(primary-400 / 0.4)

transparent

App 전용 신규 토큰

토큰WebApp
--elevation-1

0 1px 2px / 0 1px 1px (gray-900 6%/4%)

--elevation-2

0 4px 8px / 0 2px 4px (gray-900 8%/4%)

--elevation-3

0 12px 24px / 0 4px 8px (gray-900 12%/6%)

--safe-area-inset-top

47px (iPhone 14 노치)

--safe-area-inset-bottom

34px (홈 인디케이터)

--touch-target-min

44px (iOS HIG / Material 권장)

매물 상세

서울특별시 강남구 역삼동

신축 아파트

전용 84㎡ · 25층 · 남향

18억 5천만원

매매

9억

elevation-2 · 살짝 떠오른 floating 카드

※ DeviceFrame은 *시각 검수 보조*. 실 RN 빌드 미리보기 아님 — RN 착수 시 elevation/safe-area는 실기기 검수 필수.