From e348c4ef0cc088d1654114a19ee8398a4b1a16dd Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Wed, 5 Jul 2023 12:00:07 +0900 Subject: [PATCH 1/2] docs(seed-docs): fix typo --- ...ialog-options-action-secondary-nonpreferred.png} | Bin docs/content/component/alert-dialog/style.mdx | 8 ++++---- docs/content/component/alert-dialog/usage.mdx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename docs/content/component/alert-dialog/{alertdialog-options-action-secondary-nonpreffered.png => alertdialog-options-action-secondary-nonpreferred.png} (100%) diff --git a/docs/content/component/alert-dialog/alertdialog-options-action-secondary-nonpreffered.png b/docs/content/component/alert-dialog/alertdialog-options-action-secondary-nonpreferred.png similarity index 100% rename from docs/content/component/alert-dialog/alertdialog-options-action-secondary-nonpreffered.png rename to docs/content/component/alert-dialog/alertdialog-options-action-secondary-nonpreferred.png diff --git a/docs/content/component/alert-dialog/style.mdx b/docs/content/component/alert-dialog/style.mdx index 803e9add2..308169bb5 100644 --- a/docs/content/component/alert-dialog/style.mdx +++ b/docs/content/component/alert-dialog/style.mdx @@ -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) @@ -73,7 +73,7 @@ slug: /component/alert-dialog/style | Disabled | Secondary Action | Color | $scale.color.gray-400 | | | Secondary Action Label | Color | $scale.color.gray-400 | -### Secondary Action (nonpreffered) +### Secondary Action (nonpreferred) | State | Part | Attribute | Value | | -------- | ---------------------- | --------- | ----------------------------------- | @@ -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) @@ -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 | | ---------------- | --------------- | ------ | diff --git a/docs/content/component/alert-dialog/usage.mdx b/docs/content/component/alert-dialog/usage.mdx index b2c877cb0..c7221190a 100644 --- a/docs/content/component/alert-dialog/usage.mdx +++ b/docs/content/component/alert-dialog/usage.mdx @@ -94,10 +94,10 @@ slug: /component/alert-dialog/usage ![alert dialog options secondary action - nonpreffered](./alertdialog-options-action-secondary-nonpreffered.png) + nonpreferred](./alertdialog-options-action-secondary-nonpreferred.png) - Nonpreffered + Nonpreferred Primary Action과 Secondary Action의 중요도 차이가 큰 경우 Nonpreferred 옵션을 사용합니다. 혹은 Action Label이 길어지는 경우 사용합니다. @@ -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 | | ## 상호작용 From f4424076d6022a1159fbbc543bfa8af3b75ca378 Mon Sep 17 00:00:00 2001 From: Dongkyu Kim Date: Wed, 5 Jul 2023 11:58:58 +0900 Subject: [PATCH 2/2] docs(seed-docs): Update color spec of Secondary Action (neutral) --- docs/content/component/alert-dialog/style.mdx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/content/component/alert-dialog/style.mdx b/docs/content/component/alert-dialog/style.mdx index 308169bb5..49c80c19f 100644 --- a/docs/content/component/alert-dialog/style.mdx +++ b/docs/content/component/alert-dialog/style.mdx @@ -62,16 +62,16 @@ 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 (nonpreferred)