-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some of the language was open ended. Added some more specific examples to the guidance.
- Loading branch information
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'polaris.shopify.com': patch | ||
--- | ||
|
||
Updated common action guidance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ keywords: | |
|
||
![An image showing a card with primary and secondary buttons in the card footer.](/images/patterns/common-actions/[email protected]) | ||
|
||
Use buttons with a contained or filled background to help merchants identify which action they’ll most likely want within a given view. | ||
Use primary and secondary buttons to help merchants identify which action they’ll most likely want within a given view. See [card layout patterns](/patterns/card-layout#call-to-actions) for more information. | ||
|
||
</Medium> | ||
|
||
|
@@ -146,7 +146,7 @@ keywords: | |
|
||
![An image showing a card with ten different actions using the secondary button style.](/images/patterns/common-actions/[email protected]) | ||
|
||
Use too many contained or filled buttons within a view as they can degrade hierarchy and cause confusion. | ||
Avoid using more than two shaped or filled buttons within a card as they can degrade hierarchy and cause confusion. | ||
|
||
</Medium> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ url: /patterns/common-actions/overview | |
|
||
![A table of locations with the add action in the card header above the table.](/images/patterns/common-actions/types/[email protected]) | ||
|
||
Place add actions associated with a table in the card, table, or page header. | ||
Place add actions associated with a table in the card, table, or page header. Use a secondary button when "Add" is the main action for a card that has a standalone table or list as its content. | ||
|
||
</Medium> | ||
|
||
|