디자인 시스템

이 사이트의 스타일은 두 층으로 이뤄져 있습니다. 디자인 토큰은 :root 에 정의된 값(색·글자 크기·간격·반경) 69개이고, 글로벌 스타일은 그 토큰을 조합해 블록에 붙이는 GenerateBlocks 클래스 129개입니다. 값을 바꾸면 이 화면도 같이 바뀝니다.

PART 1

디자인 토큰

:root 의 CSS 변수 69개 — 디자인의 값. 블록과 클래스는 이 값을 var(--이름) 으로 참조합니다. GenerateBlocks → 디자인 토큰에서 관리합니다.

Color (색상)

글자·배경·테두리 색. 숫자가 작을수록 진하다

글자와 어두운 면

--contrast-10
#000000

--contrast-20
#505050

--contrast-30
#676767

--contrast-50
#8d8d8d

배경과 밝은 면

--base-10
#e7e7e7

--base-20
#f8f8f8

--base-30
#ffffff

--base-40
rgba(255, 255, 255, 0)

브랜드 강조색

--accent-10
#000000

--accent-20
#000000

--accent-30
#f2f2f2

보조 강조색(주황)

--sub-10
#333333

--sub-20
#505050

--sub-30
#f2f2f2

Typography (타이포그래피)

글자 크기와 같은 단계의 행간 — 크기와 행간은 한 쌍으로 쓴다

제목

제목 가나다 Aa --heading-2xs · 1.875rem (30px) / --heading-line-height-2xs · 1.4

제목 가나다 Aa --heading-xs · 2rem (32px) / --heading-line-height-xs · 1.35

제목 가나다 Aa --heading-sm · 2.25rem (36px) / --heading-line-height-sm · 1.35

제목 가나다 Aa --heading-md · 3rem (48px) / --heading-line-height-md · 1.25

제목 가나다 Aa --heading-lg · 4rem (64px) / --heading-line-height-lg · 1.2

제목 가나다 Aa --heading-xl · 5rem (80px) / --heading-line-height-xl · 1.15

제목 가나다 Aa --heading-2xl · 6.5rem (104px) / --heading-line-height-2xl · 1.15

본문

본문 가나다 Aa --text-2xs · 0.75rem (12px) / --text-line-height-2xs · 1.85

본문 가나다 Aa --text-xs · 0.875rem (14px) / --text-line-height-xs · 1.8

본문 가나다 Aa --text-sm · 0.9375rem (15px) / --text-line-height-sm · 1.75

본문 가나다 Aa --text-md · 1rem (16px) / --text-line-height-md · 1.7

본문 가나다 Aa --text-lg · 1.125rem (18px) / --text-line-height-lg · 1.65

본문 가나다 Aa --text-xl · 1.25rem (20px) / --text-line-height-xl · 1.6

본문 가나다 Aa --text-2xl · 1.5rem (24px) / --text-line-height-2xl · 1.5

Spacing (간격)

패딩·마진·gap

--space-5xs · 0.25rem (4px)

--space-4xs · 0.375rem (6px)

--space-3xs · 0.5rem (8px)

--space-2xs · 0.625rem (10px)

--space-xs · 0.75rem (12px)

--space-sm · 0.875rem (14px)

--space-md · 1rem (16px)

--space-lg · 1.25rem (20px)

--space-xl · 1.5rem (24px)

--space-2xl · 2rem (32px)

--space-3xl · 3rem (48px)

--space-4xl · 4rem (64px)

--space-5xl · 6rem (96px)

Border Radius (테두리 반경)

버튼·카드·입력창의 모서리

--border-radius-3xs
0

--border-radius-2xs
0

--border-radius-xs
0.5rem (8px)

--border-radius-sm
0.75rem (12px)

--border-radius-md
1rem (16px)

--border-radius-lg
1.25rem (20px)

--border-radius-xl
1.5rem (24px)

--border-radius-2xl
1.75rem (28px)

--border-radius-3xl
2rem (32px)

--border-radius-pill
9999px

--border-radius-circle
50%

PART 2

글로벌 스타일

GenerateBlocks 글로벌 클래스 129개 — 토큰을 조합한 재사용 스타일. 블록에 클래스로 붙입니다. 에디터 분류(카테고리)별로 모았고, 왼쪽은 선택자, 오른쪽은 그 클래스를 실제로 적용한 미리 보기입니다.

Base (HTML 요소)

HTML 태그 선택자에 거는 기본값

body블록 기본 클래스 없음 — body 클래스는 워드프레스가 페이지마다 붙인다

본문 기본 글꼴과 크기입니다. 블룸은 누구나 쉽게 배우고 성장할 수 있는 온라인 강의 플랫폼입니다.

input추가 타깃: input:is([type="text"],[type="email"],[typ…블록 기본 클래스
.wp-block-search__input 코어 검색
.gb-form-field-control GB 폼

h1
h2
h3
h4
h5
h6글 본문·플러그인이 찍는 맨 제목의 기본값 — GP 기본(h2 35px/400)을 토큰 스케일로 대체. 클래스가 붙은 제목은 그 클래스가 우선

제목 1 — 페이지 제목 급

제목 2 — 본문 큰 제목

제목 3 — 본문 중간 제목

제목 4 — 소제목

제목 5 — 작은 소제목
제목 6 — 라벨 급

button블록 기본 클래스
.wp-element-button 코어 버튼 공통
.wp-block-button__link 코어 버튼
.wp-block-search__button 코어 검색

img블록 기본 클래스
.wp-image-{ID} 코어 이미지
.gb-media-{uid} GB 미디어 (블록마다 고유)

figure블록 기본 클래스
.wp-block-image 코어 이미지

figure figcaption

pre블록 기본 클래스
.wp-block-code 코어 코드
.wp-block-preformatted 코어 서식 있는 텍스트

pre — 코드 블록

textarea

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

select

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

blockquote

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

Section (섹션)

섹션 컨테이너와 섹션 안의 제목·본문

.section

padding: var(--space-2xl)

.inner-section
.inner-section--sm
.inner-section--xs

.inner-section — max-width: var(--gb-container-width)
.inner-section--sm — max-width: 60rem
.inner-section--xs — 20rem

.section__title
.section__tagline
.section__text

섹션 제목

섹션 본문 텍스트입니다. 섹션의 내용을 설명합니다.

.section__message
.section__message-description404 · 검색 결과 없음 같은 안내 화면

죄송합니다. 존재하지 않는 페이지입니다.

주소가 바뀌었거나 삭제된 페이지일 수 있습니다. 홈에서 다시 찾아보세요.

.sub-section
.sub-section__header
.sub-section__title
.sub-section__title-count
.sub-section__text

하위 섹션 제목

(12)

하위 섹션 본문 텍스트입니다.

.section__title--display

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.section__header

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.stat__value

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.stat__label

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.contact-info__title

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.contact-info__lead

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.contact-info__text

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.contact-info__icon

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

Page Header (페이지 헤더)

페이지·아카이브 제목

.page-header__title

페이지 제목

.page-header__tagline

페이지 태그라인

.archive__title

아카이브 제목

Layout (레이아웃)

그리드·플렉스·정렬·여백 유틸리티

.grid--1

1fr

.grid--1-1

1fr
1fr

.grid--1-1-1

1fr
1fr
1fr

.grid--1-1-1-1

1fr
1fr
1fr
1fr

.grid--1-3

1fr
3fr

.grid--3-1

3fr
1fr

.grid--1-1-2

1fr
1fr
2fr

.grid--1-3-1

1fr
3fr
1fr

.grid--1-2-1

1fr
2fr
1fr

.grid--2-1-1

2fr
1fr
1fr

.grid--2-1

2fr
1fr

.grid--1-1-1-1-1

1fr
1fr
1fr
1fr
1fr

.grid--1-4

1fr
4fr

.grid--1-5

1fr
5fr

.flex-row

1
2
3

.flex-column

1
2
3

.padding--md
.padding--2xl

padding--md
padding--2xl

.vertical--center

1
2
두 줄
3
세
줄

.horizontal--center추가 타깃: .woosw-btn

가운데 정렬

.width--full추가 타깃: .single_add_to_cart_button, .woosw-btn:not(#_)

width: 100%

.bordered

1px solid --contrast-50

.bordered-grid

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.bordered-grid__item

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

Card (카드)

목록에서 반복되는 카드의 조각들

.card
.card__image
.card__category
.card__title
.card__meta-text
.card__text
.card__regular-price
.card__sale-price카드 배치(layout)는 블록에서 정의 — 여기 배경·여백은 미리 보기용

프로그래밍

ChatGPT로 배우는 자바스크립트 기초

김서연 · 12강

강의 소개 문구가 들어가는 자리입니다.

₩99,000

₩79,000

.card__avatar
.card__social

.card__tag
.card__product-cat
.card__product-tag
.card__brand

#태그 상품 카테고리 상품 태그 브랜드

.card__status--not-started추가 타깃: .learndash-wrapper .ld-status.ld-status-wa…
.card__status--in-progress추가 타깃: .learndash-wrapper .ld-status.ld-status-pr…
.card__status--completed추가 타깃: .learndash-wrapper .ld-status.ld-status-co…

수강 전 수강 중 완료

.card__title--lg

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

.linked-card

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

Post (포스트)

단일 글 화면

.post__title

글 제목이 들어가는 자리

.post__image

Button (버튼)

주요 → 보조 → 3차 → 4차 액션 순

.primary-button--sm추가 타깃: .learndash-wrapper .ld-content-actions .ld…

.primary-button추가 타깃: .single_add_to_cart_button:not(#_), button.acf-btn, .ld-button:not(.ld-compact):not(.ld-button… 등

.primary-button--lg추가 타깃: .learndash-wrapper .ld-alert .ld-button:no…

.secondary-button--sm추가 타깃: .woocommerce table.shop_table .button:not(…, .woocommerce-Address-title a.edit:not(#_), .learndash-wrapper .ld-content-actions .ld…

.secondary-button추가 타깃: .ld-button.ld-button-reverse:not(#_), .wpProQuiz_button2:not(#_), .woocommerce .button:not(.alt):not(.single… 등

.secondary-button--lg

.tertiary-button--sm추가 타깃: .ld-presenter-mode .ld-presenter-mode__but…

.tertiary-button추가 타깃: .glsr-button:not(#_), .fluent-comments-block .flc_button:not(#_), .wook_discuss_submit:not(#_):not(#_)

.tertiary-button--lg

.quaternary-button--sm추가 타깃: .ld-item-list-item .ld-expand-button.ld-co…, .ld-expand-button:not(.ld-compact):not(.ld…

.quaternary-button

.quaternary-button--lg

.text-button

Tabs (탭)

상품 상세 탭

.post-tabs
.post-tabs__tab
.post-tabs__tab-title
.post-tabs__tab-countposition: sticky 라 스크롤하면 따라온다

Navigation (내비게이션)

브레드크럼·드롭다운 메뉴

.breadcrumb

.dropdown-menu
.dropdown-menu__menu-item

.current-menu-item > .gb-menu-link

미리 보기 없음 — 다른 요소와 조합될 때만 의미가 있는 클래스

Header (헤더)

서비스 헤더·사이트 헤더

.service-header
.service-header__inner
.service-header__title추가 타깃: .service-header .flex-row .service-header_…
.service-header__navi
.service-header__navigation
.service-header__navi-menu-container
.service-header__navi-menu
.service-header__navi-menu-item

.service-header__navi-menu-toggle

.service-header__navi-sub-menu

  • 하위 메뉴 1
  • 하위 메뉴 2

.service-header__logo

.site-header__social

.site-header__account-menu-item

Overlay Panel (오버레이 패널)

GB 오버레이 패널의 판과 닫기 버튼

.modal
.modal__close추가 타깃: .woosw-item–remove span:not(#_)실제 패널은 GB 오버레이로 뜬다 — 여기선 판만