Color variable support for icons
Summarize
Summary of Color Variable Support for Icons
This document provides guidance on using color variables to enhance the theming of mobile map screens within ServiceNow. By utilizing the FontColorVariable style option, customers can define the appearance of mobile icons based on color variables outlined in the UX Theme Properties table.
Show less
Key Features
- Mobile Icon Customization: Use color variables to modify icon colors, creating a consistent visual theme across mobile applications.
- Color Variable Categories:
- Alert Color Palette: Designed to communicate important statuses and tasks. Use these colors meaningfully rather than decoratively.
- Grouped Color Palette: Aligns with industry standards to indicate associations with specific domains, ensuring consistent color usage within the app.
- Accessibility Options: Each color variable includes accessible options to improve user navigation, particularly for icons without text.
Key Outcomes
By implementing color variables, ServiceNow customers can:
- Create visually appealing and functional mobile interfaces that enhance user experience.
- Effectively communicate critical information through the strategic use of alert colors.
- Maintain brand consistency and adherence to industry standards across different applications.
Learn how to use color variables to change theming in your mobile map screens
Mobile icons have a Set appearance section used to define the appearance of your icons. Use the FontColorVariable style option to use a color variable a color. Using this 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 details on creating map screens, see Configure an icon UI section. For details on creating icons in mobile, see Mobile icons. |
Mobile icon 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.
Each support color has three options, including an assessable option. Consider using the accessible color option for icons that do not contain text to improve navigability for your users.
| Color name | Example | Color variables |
|---|---|---|
| Critical |
|
|
| High |
|
|
| Warning |
|
|
| Moderate |
|
|
| Info |
|
|
| Positive |
|
|
| Low |
|
| Color name | Example | Color options |
|---|---|---|
| Blue |
|
|
| Brown |
|
|
| Gray |
|
|
| Green |
|
|
| Green-Yellow |
|
|
| Magenta |
|
|
| Orange |
|
|
| Pink |
|
|
| Purple |
|
|
| Teal |
|
|
| Yellow |
|