/ 튜토리얼 · ✦ 공식

Cursor를 활용한 디자인 시스템 강제하기

Cursor Team · Cursor Docs ·

.cursor/rules 규칙 파일로 디자인 시스템을 정의하여 간격 스케일, 색상 토큰, 반경, 타이포그래피를 고정하고, Cursor가 생성하는 모든 컴포넌트가 브랜드 규격을 유지하도록 하는 방법 — 범위별 규칙과 글롭 타겟팅 예제 포함

게시자 요약

Write a design-system.mdc rule that pins spacing scale, color tokens, radius and typography so every component Cursor generates stays on-brand. Covers scoped rules and glob targeting.

이 글의 목차

  • Anatomy of a design-system rule
  • Pinning tokens: color, spacing, radius
  • Scoping rules with globs
  • Always-on vs auto-attached
  • Testing the rule on a new component

Source: Cursor Docs

원문 읽기 콘텐츠는 원본 게시자의 사이트에 있습니다.
Cursor로 디자인하는 것에 관한 일차 참고 자료로서 Cursor-Design 커뮤니티를 위해 엄선했습니다.