Color variable support for card view buttons
Learn how to use color variables to change theming in your mobile card view buttons.
Use color variables in Card template element attributes to control color values for icon buttons on your mobile cards. The following color variables are available to use:
For more information on these attributes, see Card template element attributes. |
Button style guide
| Color | Example | Variables |
|---|---|---|
| Primary |
|
|
| Secondary |
|
|
| Positive |
|
|
| Destructive |
|
|
| Bare |
Note: This button can be configured with primary, positive, or destructive color. |
|
| Disabled | Use this style when the action is unavailable while offline. Can be used with all styles- primary, secondary, text/icon. |