--- title: Color variable support for icon UI sections description: Learn how to use color variables to change theming in your mobile icon UI sections. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/mobile/color-var-ui-section.html release: australia topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Color theme considerations, Configure theming, Next Experience theming, Configuring the Mobile Platform, Mobile Platform] --- # 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. - **Background color Variable** - **Foreground color variable** These two fields can be found on the following tables: - Icon section destination launcher \[sys\_sg\_navigation\_section\_destination\_applet\_launcher\] - Icon section destination function \[sys\_sg\_navigation\_section\_destination\_button\] - Icon section destination screen \[sys\_sg\_navigation\_section\_destination\_screen\] For details on creating these actions, see [Configure an icon UI section](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/sg-ui-section-config-navig.md). 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. \[Omitted image "color-var-example-2.png"\] Alt text: 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 \[Omitted image "icon-color-primary.png"\] Alt text: Primary icon color \[Omitted image "icon-example-primary.png"\] Alt text: Primary icon example - **Mobile variable** `primary` - **Web variable** `--now-color--primary-1`
Critical \[Omitted image "icon-color-alert.png"\] Alt text: Critical icon color \[Omitted image "icon-example-critical.png"\] Alt text: Critical icon example - **Mobile variable** `alert--critical-2` - **Web variable** `--now-color_alert--critical-2`
High \[Omitted image "icon-color-high.png"\] Alt text: High icon color \[Omitted image "icon-example-high.png"\] Alt text: High icon example - **Mobile variable** `alert--high-2` - **Web variable** `--now-color_alert--high-2`
Warning \[Omitted image "icon-color-warning.png"\] Alt text: Warning icon color \[Omitted image "icon-example-warning.png"\] Alt text: Warning icon example - **Mobile variable** `alert--warning-2` - **Web variable** `--now-color_alert--warning-2`
Moderate \[Omitted image "icon-color-moderate.png"\] Alt text: Moderate icon color \[Omitted image "icon-example-moderate.png"\] Alt text: Moderate icon example - **Mobile variable** `alert--moderate-2` - **Web variable** `--now-color_alert--moderate-2`
Info \[Omitted image "icon-color-info.png"\] Alt text: Info icon color \[Omitted image "icon-example-info.png"\] Alt text: Info icon example - **Mobile variable** `alert--info-2` - **Web variable** `--now-color_alert--info-2`
Positive \[Omitted image "icon-color-positive.png"\] Alt text: Positive icon color \[Omitted image "icon-example-positive.png"\] Alt text: Positive icon example - **Mobile variable** `alert--positive-2` - **Web variable** `--now-color_alert--positive-2`
Low \[Omitted image "icon-color-low.png"\] Alt text: Low icon color \[Omitted image "icon-example-low.png"\] Alt text: Low icon example - **Mobile variable** `alert--low-2` - **Web variable** `--now-color_alert--low-2`
## Grouped color palette
Color name Color Example Color options
Blue \[Omitted image "icon-color-blue.png"\] Alt text: Blue icon color \[Omitted image "icon-example-blue.png"\] Alt text: Blue icon example - **Web variable** `--now-color_grouped--blue-2`
Brown \[Omitted image "icon-color-brown.png"\] Alt text: Brown icon color \[Omitted image "icon-example-brown.png"\] - **Web variable** `--now-color_grouped--brown-2`
Gray \[Omitted image "icon-color-gray.png"\] Alt text: Gray icon color \[Omitted image "icon-example-gray.png"\] Alt text: Gray icon example - **Web variable** `--now-color_grouped--gray-2`
Green \[Omitted image "icon-color-green.png"\] Alt text: Green icon color \[Omitted image "icon-example-green.png"\] Alt text: Green icon example - **Web variable** `--now-color_grouped--green-2`
Green-Yellow \[Omitted image "icon-color-green-yellow.png"\] Alt text: Green-yellow icon color \[Omitted image "icon-example-green-yellow.png"\] Alt text: Green-yellow icon example - **Web variable** `--now-color_grouped--green-yellow-2`
Magenta \[Omitted image "icon-color-magenta.png"\] Alt text: Magenta icon color \[Omitted image "icon-example-magenta.png"\] Alt text: Magenta icon example - **Web variable** `--now-color_grouped--magenta-2`
Orange \[Omitted image "icon-color-orange.png"\] Alt text: Orange icon color \[Omitted image "icon-example-orange.png"\] Alt text: Orange icon example - **Web variable** `--now-color_grouped--orange-2`
Pink \[Omitted image "icon-color-pink.png"\] Alt text: Pink icon color \[Omitted image "icon-example-pink.png"\] Alt text: Pink icon example - **Web variable** `--now-color_grouped--pink-2`
Purple \[Omitted image "icon-color-purple.png"\] Alt text: Purple icon color \[Omitted image "icon-example-purple.png"\] Alt text: Purple icon example - **Web variable** `--now-color_grouped--purple-2`
Teal \[Omitted image "icon-color-teal.png"\] Alt text: Teal icon color \[Omitted image "icon-example-teal.png"\] Alt text: Teal icon example - **Web variable** `--now-color_grouped--teal-2`
Yellow \[Omitted image "icon-color-yellow.png"\] Alt text: Yellow icon color \[Omitted image "icon-example-yellow.png"\] Alt text: Yellow icon example - **Web variable** `--now-color_grouped--yellow-2`