Skip to content

๐ŸŽ„๋””์ž์ธ ์‹œ์Šคํ…œ ํ™œ์šฉ ๋ฐฉ๋ฒ•

Jiye Lee edited this page Dec 20, 2024 · 9 revisions

์„ค์ •๋œ ๋””์ž์ธ ์‹œ์Šคํ…œ์„ tailwindCSS๋กœ ํ™œ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•

Color

  • Color๋Š” semantic ์•ˆ์— light์™€ dark๋กœ ๋‚˜๋‰จ

Color ์šฉ๋ก€

  • figma : semantic/feedback/negative
    • tailwindCSS : light-feedback-negative
    • semantic์„ ์—†์• ๊ณ  light- prefix ์ถ”๊ฐ€

Alpha

  • Alpha ๊ฐ’์€ ๊ทธ๋ฆผ์ž์ƒ‰์œผ๋กœ ์‚ฌ์šฉ๋จ

Alpha ์šฉ๋ก€

  • figma : alpha/08
    • tailwindCSS : alpha-8
    • ๊ทธ๋ฆผ์ž์— ์ ์šฉํ•  ๊ฒฝ์šฐ : shadow-alpha-8

Typography

Typography ์šฉ๋ก€

  • figma : typography/label/bold/sm
    • tailwindCSS : typo-label-bold-sm

Scheme

Gap ์šฉ๋ก€

  • figma : item spacing : gap/2xl
    • tailwindCSS : gap-2xl
  • figma : padding : gap/2xs
    • tailwindCSS : p-2xs

Radius ์šฉ๋ก€

  • figma : radius/circle
    • tailwindCSS : rounded-circle

Stroke ์šฉ๋ก€

  • figma : stroke/none
    • tailwindCSS : stroke-none

Opacity ์šฉ๋ก€

  • figma : opacity/08
    • tailwindCSS : opacity-8