Skip to content

๐Ÿงฉ KRDS ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (๋ฐ”๋‹๋ผ HTML/CSS ๊ตฌํ˜„์ฒด)#52

Open
seonghobae wants to merge 1 commit into
mainfrom
feat/krds-component-library
Open

๐Ÿงฉ KRDS ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ (๋ฐ”๋‹๋ผ HTML/CSS ๊ตฌํ˜„์ฒด)#52
seonghobae wants to merge 1 commit into
mainfrom
feat/krds-component-library

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

๋ฌด์—‡์„

Figma ๋””์ž์ธ ์‹œ์Šคํ…œ(6Kx2gzcduyIyLGN3Ck2rtm)์˜ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‹ค์ œ ์ฝ”๋“œ ๊ตฌํ˜„์ฒด๋กœ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ง€๊ธˆ๊นŒ์ง€ ์ปดํฌ๋„ŒํŠธ๋Š” Figma์—๋งŒ ์žˆ์—ˆ๊ณ  ๋Œ€์‘ ์ฝ”๋“œ๊ฐ€ ์—†์–ด component-level parity๋ฅผ ์‹ค์ธกํ•  ์ˆ˜ ์—†์—ˆ๋Š”๋ฐ, ์ด PR๋กœ ์‹ค์ œ ๊ตฌํ˜„์ด ์ƒ๊น๋‹ˆ๋‹ค.

์–ด๋–ป๊ฒŒ (์Šค์ฝ”ํ”„ ๊ฒฐ์ •)

๋ฐ”๋‹๋ผ ์ •์  ์‚ฌ์ดํŠธ๋ผ Storybook + JS ํ”„๋ ˆ์ž„์›Œํฌ๋Š” ๊ณผ์„ค๊ณ„ โ†’ ๋นŒ๋“œ/ํ”„๋ ˆ์ž„์›Œํฌ ์—†๋Š” ๋ฐ”๋‹๋ผ HTML/CSS ๊ฐค๋Ÿฌ๋ฆฌ๋กœ ๊ตฌํ˜„. ๊ธฐ์กด styles.css์˜ ๋ธŒ๋žœ๋“œ ํ† ํฐ(:root)์„ ๊ทธ๋Œ€๋กœ ์†Œ๋น„ํ•˜๊ณ , KRDS status ์ƒ‰์ƒ(info/success/warning/danger)๋งŒ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

ํŒŒ์ผ

  • components/krds-components.css โ€” Button, Text Input, Checkbox/Radio, Select, Badge, Tag, Tabs, Accordion(native <details>), Pagination, Alert, Toast. ์ „๋ถ€ ํ† ํฐ ๋ฐ”์ธ๋”ฉ, focus-visible๋Š” ์‚ฌ์ดํŠธ ์ปจ๋ฒค์…˜(teal 2px offset 2px) ์ค€์ˆ˜.
  • components/index.html โ€” 10๊ฐœ story ๊ฐค๋Ÿฌ๋ฆฌ(states ํฌํ•จ). Tabs/Tag ์ตœ์†Œ ๋™์ž‘ JS(ํ”„๋ ˆ์ž„์›Œํฌ ์—†์Œ).
  • .gitignore โ€” ๋กœ์ปฌ codegraph ์ธ๋ฑ์Šค ์ œ์™ธ.

๊ฒ€์ฆ (Puppeteer @1200w, ์‹ค์ธก)

Component ์ธก์ • ๋น„๊ณ 
primary button 98ร—51, radius 4px, min-h 48px, bg #16263d ์‚ฌ์ดํŠธ .button ์ปจ๋ฒค์…˜ + Figma ์ŠคํŽ™ ์ผ์น˜
text input radius 4px, min-h 48px, border --line
badge success bg #eaf5eb / text #2e7d32
toast radius 12px, bg #16263d
ํ•ฉ๊ณ„ 10 stories ยท 37 component instances ๋ Œ๋”

๋˜๋Œ๋ฆฌ๊ธฐ

์ƒˆ components/ ๋””๋ ‰ํ„ฐ๋ฆฌ๋งŒ ์ถ”๊ฐ€ โ€” ๊ธฐ์กด ํŽ˜์ด์ง€/์Šคํƒ€์ผ ๋ณ€๊ฒฝ 0. ์•ˆ์ „ํ•˜๊ฒŒ revert ๊ฐ€๋Šฅ.

๋ฏธ๋ฆฌ๋ณด๊ธฐ: /components/ (GitHub Pages ๋ฐฐํฌ ์‹œ ๋ฐ”๋กœ ์ ‘๊ทผ)

๐Ÿค– Generated with Claude Code

https://claude.ai/code/session_0169KuM8Ygfmeswa4EtaL7mC

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@opencode-agent

opencode-agent Bot commented Jul 6, 2026

Copy link
Copy Markdown

OpenCode Review Overview

  • Head SHA: a98e9881065e57456bb92d3c16db55903763cbda
  • Workflow run: 28759648937
  • Workflow attempt: 1
  • Gate result: APPROVE (exit 0)

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Changed file (4 files)"]
  S1 --> I1["repository behavior"]
  I1 --> R1["Review risk: Changed file (4 files)"]
  R1 --> V1["required checks"]
Loading

Figma ๋””์ž์ธ ์‹œ์Šคํ…œ(6Kx2gzcduyIyLGN3Ck2rtm)์˜ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‹ค์ œ ์ฝ”๋“œ๋กœ ๊ตฌํ˜„.
๊ธฐ์กด ๋ธŒ๋žœ๋“œ ํ† ํฐ(:root)์„ ์†Œ๋น„ํ•˜๊ณ  KRDS status ํ† ํฐ๋งŒ ์ถ”๊ฐ€. ๋นŒ๋“œ/ํ”„๋ ˆ์ž„์›Œํฌ
์—†์ด GitHub Pages์—์„œ ๋ฐ”๋กœ ์„œ๋น™๋˜๋Š” component gallery.

- components/krds-components.css: Button/Input/Checkbox/Radio/Select/Badge/Tag/
  Tabs/Accordion(native details)/Pagination/Alert/Toast โ€” ํ† ํฐ ๋ฐ”์ธ๋”ฉ, focus-visible(teal 2px)
- components/index.html: 10๊ฐœ story ๊ฐค๋Ÿฌ๋ฆฌ(states ํฌํ•จ), ํ”„๋ ˆ์ž„์›Œํฌ ์—†๋Š” tabs/tag JS
- .gitignore: ๋กœ์ปฌ codegraph ์ธ๋ฑ์Šค ์ œ์™ธ

์›๋ž˜ ์ด ๋ธŒ๋žœ์น˜์— ํ•จ๊ป˜ ์žˆ๋˜ styles.css ํ™ˆํŽ˜์ด์ง€ ๊ฐœ์„ (dikw eyebrow ๋Œ€๋น„, content-visibility)์€
#53ยท#54๋กœ main์— ๋…๋ฆฝ ๋จธ์ง€๋˜์–ด ์ค‘๋ณต ์ œ๊ฑฐํ•จ. ์ด PR์€ components/ ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋งŒ ๋‹ด์Œ.
ํ˜„์žฌ main ์œ„๋กœ rebaseํ•˜์—ฌ ์ถฉ๋Œ ํ•ด์†Œ.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169KuM8Ygfmeswa4EtaL7mC
@seonghobae seonghobae force-pushed the feat/krds-component-library branch from a98e988 to b6eb389 Compare July 7, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants