Color variable support for UI rules
Learn how to use color variables to change theming in your mobile UI rules.
Use the following color variables in the Value field of your UI rules with the Operation field set to Set UI Style
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. For example:
For details on creating these UI rule actions, see Create a mobile UI rule action. |
Mobile UI rule 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.
| Color name | Example | Color variables |
|---|---|---|
| Critical |
|
|
| High |
|
|
| Warning |
|
|
| Moderate |
|
|
| Info |
|
|
| Positive |
|
|
| Low |
|
|
| Disabled |
|
|
| Critical (Alternate) |
|
|
| High (Alternate) |
|
|
| Warning (Alternate) |
|
|
| Moderate (Alternate) |
|
|
| Info (Alternate) |
|
|
| Positive (Alternate) |
|
|
| Low (Alternate) |
|
|
| Disabled (Alternate) |
|
| Color name | Example | Color options |
|---|---|---|
| Blue |
|
|
| Brown |
|
|
| Gray |
|
|
| Green |
|
|
| Green-Yellow |
|
|
| Magenta |
|
|
| Orange |
|
|
| Pink |
|
|
| Purple |
|
|
| Teal |
|
|
| Yellow |
|
|
| Blue (Alternate) |
|
|
| Brown (Alternate) |
|
|
| Gray (Alternate) |
|
|
| Green (Alternate) |
|
|
| Green-Yellow (Alternate) |
|
|
| Magenta (Alternate) |
|
|
| Orange (Alternate) |
|
|
| Pink (Alternate) |
|
|
| Purple (Alternate) |
|
|
| Teal (Alternate) |
|
|
| Yellow (Alternate) |
|