Color variable support for icon UI sections
Learn how to use color variables to change theming in your mobile icon UI sections.
Icon UI sections have a Color section with two fields to control the foreground and background colors for the element.
These two fields can be found on the following tables:
For details on creating these actions, see Configure an icon UI section. You can define any color variable from the UX Theme Properties [sys_ux_theme_property] table. For a list available variables see the color design guide below. | Image omitted: color-var-example-2.png Color variable used in an icon UI section |
Mobile icon UI section color guide
Color variables are divided into Use the design guideline to identify the right color variable for your use case.
Alert color palette
Alert color palette colors highlight important statuses, states and tasks. Use alert colors to communicate a specific meaning rather than for decoration or organization.
Grouped color palette
Grouped color palette colors follow color conventions in a line of industry. Use these colors to show that the colored item is associated with a specific industry or line of business. The meaning of each color depends on context, but should remain consistent within your app.
Alert color palette
| Color name | Color | Example | Color options |
|---|---|---|---|
| Primary | Image omitted: icon-color-primary.png Primary icon color | Image omitted: icon-example-primary.png Primary icon example |
|
| Critical | Image omitted: icon-color-alert.png Critical icon color | Image omitted: icon-example-critical.png Critical icon example |
|
| High | Image omitted: icon-color-high.png High icon color | Image omitted: icon-example-high.png High icon example |
|
| Warning | Image omitted: icon-color-warning.png Warning icon color | Image omitted: icon-example-warning.png Warning icon example |
|
| Moderate | Image omitted: icon-color-moderate.png Moderate icon color | Image omitted: icon-example-moderate.png Moderate icon example |
|
| Info | Image omitted: icon-color-info.png Info icon color | Image omitted: icon-example-info.png Info icon example |
|
| Positive | Image omitted: icon-color-positive.png Positive icon color | Image omitted: icon-example-positive.png Positive icon example |
|
| Low | Image omitted: icon-color-low.png Low icon color | Image omitted: icon-example-low.png Low icon example |
|
Grouped color palette
| Color name | Color | Example | Color options |
|---|---|---|---|
| Blue | Image omitted: icon-color-blue.png Blue icon color | Image omitted: icon-example-blue.png Blue icon example |
|
| Brown | Image omitted: icon-color-brown.png Brown icon color | Image omitted: icon-example-brown.png No alternative text supplied |
|
| Gray | Image omitted: icon-color-gray.png Gray icon color | Image omitted: icon-example-gray.png Gray icon example |
|
| Green | Image omitted: icon-color-green.png Green icon color | Image omitted: icon-example-green.png Green icon example |
|
| Green-Yellow | Image omitted: icon-color-green-yellow.png Green-yellow icon color | Image omitted: icon-example-green-yellow.png Green-yellow icon example |
|
| Magenta | Image omitted: icon-color-magenta.png Magenta icon color | Image omitted: icon-example-magenta.png Magenta icon example |
|
| Orange | Image omitted: icon-color-orange.png Orange icon color | Image omitted: icon-example-orange.png Orange icon example |
|
| Pink | Image omitted: icon-color-pink.png Pink icon color | Image omitted: icon-example-pink.png Pink icon example |
|
| Purple | Image omitted: icon-color-purple.png Purple icon color | Image omitted: icon-example-purple.png Purple icon example |
|
| Teal | Image omitted: icon-color-teal.png Teal icon color | Image omitted: icon-example-teal.png Teal icon example |
|
| Yellow | Image omitted: icon-color-yellow.png Yellow icon color | Image omitted: icon-example-yellow.png Yellow icon example |
|