Color
Crispy's color system considers accessibility and helps express your product's hierarchy, state, and brand.

Crispy's role-based color system consists of a Property, Role, Variant, and State framework.

Property
It starts with three basic properties: Foreground, Background, and Stroke.

Background
Colors used for the background of the entire screen or UI.
Foreground
Colors used for foreground elements of the UI, such as text and icons.
Stroke
Colors used for lines that distinguish boundaries or outlines of UI elements.
Role
In addition to the basic categories of foreground, background, and stroke, it includes specific roles such as brand, neutral, and positive. These role keywords add a layer that can express functional and semantic differences between colors. Some roles can be applied across multiple categories (e.g. $color.fg.brand, $color.bg.brand-solid, $color.stroke.brand-solid), ensuring consistent use throughout the user interface.
Brand
Brand colors help brand-related elements be recognized immediately. They can also be used to emphasize the most important actions on the screen.


Neutral
Neutral colors are the base colors used for general content. While they have lower prominence, they are still used for elements that need visibility.


Positive
Positive colors are used to represent successful actions, confirmations, or positive states.


Warning
Warning colors are used to communicate warning messages or information that require user attention.


Critical
Critical colors are used to represent errors, alerts, or important issues. They clearly communicate negative states or problems to users, drawing immediate attention.
Informative
Informative colors are used to provide useful information to users or explain states. These colors make information delivery intuitive.


Layer
Layer colors are used to represent depth and hierarchy in the interface. They help visually distinguish different layers in the UI.
Variant
Even colors with the same role may need various variants depending on the intent. For example, a background with a Positive role can have variants such as $color.bg.positive-weak with low emphasis or $color.bg.positive-solid with high emphasis.
Status
Colors can change based on the state of UI elements. For example, when a button is pressed, the color change can indicate to the user that an interaction has occurred.
Tokens
Foreground
| Name | Value |
|---|---|
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. | |
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. (contrast) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (contrast) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (contrast) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (inverted) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (muted) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (subtle) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (contrast) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (contrast) |
Background
| Name | Value |
|---|---|
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (solid) | |
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (solid-pressed) | |
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (weak) | |
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (weak-pressed) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (solid) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (solid-pressed) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (weak) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (weak-pressed) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (solid) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (solid-pressed) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (weak) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (weak-pressed) | |
가장 낮은 0단계의 '대지'입니다. 화면 가장 깊은 곳에 위치하는 전체 배경색입니다. | |
basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린 콘텐츠(List, TextField 등)가 이 레이어 위에서 표현됩니다. | |
basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린 콘텐츠(List, TextField 등)가 이 레이어 위에서 표현됩니다. (pressed) | |
@deprecated @seed-design/css@3.0.0에서 새 이름 토큰으로 대체·제거될 예정입니다. | |
화면의 모든 콘텐츠 위를 덮으며(floating) 나타나는 임시 레이어입니다. 사용자의 상호작용을 필요로 하는 모달(Modal)성 요소들이 여기에 속합니다. | |
화면의 모든 콘텐츠 위를 덮으며(floating) 나타나는 임시 레이어입니다. 사용자의 상호작용을 필요로 하는 모달(Modal)성 요소들이 여기에 속합니다. (pressed) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (inverted) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (inverted-pressed) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid-muted-pressed) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-alpha) `$color.layer.basement` 위에서 컴포넌트의 가시성을 보장하기 위해 사용됩니다. | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-alpha-pressed) `$color.layer.basement` 위에서 컴포넌트의 가시성을 보장하기 위해 사용됩니다. | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-pressed) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (solid) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (solid-pressed) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (weak) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (weak-pressed) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (solid) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (solid-pressed) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (weak) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (weak-pressed) |
Stroke
| Name | Value |
|---|---|
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (solid) | |
브랜드와 관련된 요소들이 즉각적으로 인식될 수 있도록 돕습니다. 화면에서 가장 중요한 액션을 강조하는데 사용할 수 있습니다. (weak) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (solid) | |
오류, 경고 또는 중요한 문제를 나타내는 데 사용됩니다. (weak) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (solid) | |
사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (weak) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (contrast) | |
의미 단위가 바뀌는 경계를 나누는 선입니다. 섹션과 섹션 사이, 콘텐츠와 액션 영역 사이, 헤더와 본문 경계처럼 한 화면에 한두 번만 등장하는 구분에 사용됩니다. (muted) | |
일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid) | |
반복되는 동일한 성격의 항목 사이를 나누는 선입니다. 리스트 아이템, 테이블 row, 설정 메뉴 항목처럼 한 화면에 여러 번 등장하는 구분에 사용됩니다. (subtle) | |
요소의 외곽을 그려 형태를 만드는 선입니다. 카드, 인풋 필드, 아웃라인 버튼처럼 선 자체가 요소의 경계를 정의할 때 사용됩니다. (weak) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (solid) | |
성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (weak) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (solid) | |
사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (weak) |