Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update style.mdx of alert-dialog #318

Merged
merged 2 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions docs/content/component/alert-dialog/style.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ slug: /component/alert-dialog/style
| ----------------------- | ---------------------------------- |
| title | text |
| description | text |
| secondary action intent | alternative, neutral, nonpreffered |
| secondary action intent | alternative, neutral, nonpreferred |

## 디자인 결정 (Color)

Expand Down Expand Up @@ -62,18 +62,18 @@ slug: /component/alert-dialog/style

### Secondary Action (neutral)

| State | Part | Attribute | Value |
| -------- | ---------------------- | --------- | ------------------------- |
| Enabled | Secondary Action | Color | $semantic.color.secondary |
| | Secondary Action Label | Color | $semantic.color.secondary |
| Hovered | Secondary Action | Color | $scale.color.gray-700 |
| | Secondary Action Label | Color | $scale.color.gray-700 |
| Pressed | Secondary Action | Color | $scale.color.gray-700 |
| | Secondary Action Label | Color | $scale.color.gray-700 |
| Disabled | Secondary Action | Color | $scale.color.gray-400 |
| | Secondary Action Label | Color | $scale.color.gray-400 |
| State | Part | Attribute | Value |
| -------- | ---------------------- | --------- | ----------------------------- |
| Enabled | Secondary Action | Color | $semantic.color.secondary-low |
| | Secondary Action Label | Color | $scale.color.gray-900 |
| Hovered | Secondary Action | Color | $scale.color.gray-300 |
| | Secondary Action Label | Color | $scale.color.gray-900 |
| Pressed | Secondary Action | Color | $scale.color.gray-300 |
| | Secondary Action Label | Color | $scale.color.gray-900 |
| Disabled | Secondary Action | Color | $scale.color.gray-300 |
| | Secondary Action Label | Color | $scale.color.gray-500 |

### Secondary Action (nonpreffered)
### Secondary Action (nonpreferred)

| State | Part | Attribute | Value |
| -------- | ---------------------- | --------- | ----------------------------------- |
Expand All @@ -93,7 +93,7 @@ slug: /component/alert-dialog/style
| Title | Typography | $semantic.typography.title3-bold |
| Description | Typography | $semantic.typography.subtitle1-regular |
| Primary Action Label | Typography | $semantic.typography.label3-bold |
| Secondray Action Label | Typography | $semantic.typography.label3-bold |
| Secondary Action Label | Typography | $semantic.typography.label3-bold |

## 디자인 결정 (Layout)

Expand All @@ -109,7 +109,7 @@ slug: /component/alert-dialog/style
| Primary Action | Corder Radius | 6pt |
| Secondary Action | Corder Radius | 6pt |

### secondary action intent=nonpreffered
### secondary action intent=nonpreferred

| Part | Attribute | Value |
| ---------------- | --------------- | ------ |
Expand Down
6 changes: 3 additions & 3 deletions docs/content/component/alert-dialog/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ slug: /component/alert-dialog/usage
<HalfCard>
<HalfCardImageCell>
![alert dialog options secondary action
nonpreffered](./alertdialog-options-action-secondary-nonpreffered.png)
nonpreferred](./alertdialog-options-action-secondary-nonpreferred.png)
</HalfCardImageCell>
<HalfCardDescriptionCell>
<HalfCardDescriptionTitle>Nonpreffered</HalfCardDescriptionTitle>
<HalfCardDescriptionTitle>Nonpreferred</HalfCardDescriptionTitle>
<HalfCardDescription>
Primary Action과 Secondary Action의 중요도 차이가 큰 경우 Nonpreferred
옵션을 사용합니다. 혹은 Action Label이 길어지는 경우 사용합니다.
Expand All @@ -113,7 +113,7 @@ slug: /component/alert-dialog/usage
| description | string | | |
| primary action label | string | | |
| secondary action label | string | | |
| secondary action intent | alternative, neutral, nonpreffered | neutral | |
| secondary action intent | alternative, neutral, nonpreferred | neutral | |

## 상호작용

Expand Down