Primary
colors.primary
Brand primary — stylex.defineVars docs example
6개의 공식 시맨틱 토큰
총 6가지 색상
StyleX는 Meta의 CSS-in-JS 라이브러리로, defineVars로 정적으로 분석 가능한 디자인 토큰을 정의합니다. 토큰은 컴포넌트와 함께 배치되고 atomic CSS로 컴파일됩니다.
stylex.defineVars로 브랜드 토큰을 선언하고 stylex.props API로 적용하세요. StyleX는 결정적이고 충돌 없는 스타일을 보장합니다.
colors.primary
Brand primary — stylex.defineVars docs example
colors.secondary
Secondary brand color — docs example
colors.text
Primary text color — docs example
colors.background
Page background — docs example
colors.accent
Accent — docs example (dark: lightblue)
colors.primaryText
Typography token — docs example (dark: white)
일치하는 색상이 없습니다
출처: StyleX · defineVars docs example