버튼
kit/context/website-style-guide.mdOriginal · KO · not translated
베이스 .button + 모디파이어. 콤보로 쓴다.
| 클래스 | 배경 | 글자 | radius | padding | size / weight |
|---|---|---|---|---|---|
.button |
#5b52ff |
흰색 | 8px | 12px 18px | 16px / 500 |
.button.is-small |
〃 | 〃 | 8px | 8px 16px | 16px / 500 |
.button.is-large |
〃 | 〃 | 8px | 16px 32px | 16px / 500 |
.button.is-secondary |
흰색 | #5b52ff |
8px | 12px 18px | 1px 퍼플 보더 |
.button.is-text |
없음 | #5b52ff |
0 | 0 | 18px / 500 |
.button.is-icon |
#5b52ff |
흰색 | 8px | 12px 18px | — |
.button.is-form-submit |
#5b52ff |
흰색 | 8px | 12px 18px | — |
radius는 전부 8px — feedback_website_radius_8과 일치한다.
기본은 콤보다 (2026-08-21 확정). class="button is-secondary" 처럼 쓴다.
스타일 가이드·라이브·Designer가 전부 이 방식이고, 다수를 따르는 게 맞다.
예외는 하나 — whtml import 경로. Webflow import는 후손 셀렉터를 드롭하고 동명 중복
클래스에서 phantom을 만든다. 그 경로로 나가는 산출물만 평탄화한다:
class="button button-secondary". 캐노니컬 .button-secondary는 모디파이어 전용이라
button 없이 단독으로 쓰면 밑줄 링크로 깨진다.
정리하면 — Designer·시안·프로덕션 마크업은 콤보, whtml import만 평탄화. 어느 쪽인지 모르면 콤보를 쓴다.
Read with
- 헤딩 — 섹션이 페이지의 h1을 결정한다
website-section-patterns.md - 포커스 링
website-section-patterns.md - mono는 코드 블록에서만
website-section-patterns.md - Website 공통 스타일 가이드 (Client-First)
website-style-guide.md
Sources
kit/context/website-style-guide.mdsha256 c20536bab24a…