NowWebTheme interface - Android

concept australia Updated Sep 10, 2026 1 min read NowWebThemeAndroidInterface.md
Raw file servicenow.com

The NowWebTheme interface provides properties that enable you to override the colors used within web pages hosted on your ServiceNow instance in a native web view.

The NowWebTheme interface extends the NowUITheme interface and inherits the property nowUIColoring.

val nowUIColoring: NowUIColoring?

This property is used to reference color variables that NowWebTheme can use. For additional information on how to theme the UI, see Use NowUIColoring to theme NowWebTheme and NowChatTheme in the Mobile SDK Developer Guide - Android.

The default colors use the Coral theme.

Name

Description

alertCritical0

Use for: - error messages

  • snackbar background

Default value: #F9C8CE

alertCritical3

Use for: - error messages

  • snackbar border

Default value: #E52239

alertPositive0

Use for: - success messages

  • snackbar background

Default value: #C7DCB5

alertPositive3

Use for: - success messages

  • snackbar border

Default value: #3E8600

alertWarning0

Use for: - warning messages

  • snackbar background

Default value: #ECE5BF

alertWarning3

Use for: - warning messages

  • snackbar border

Default value: #B29800

backgroundPrimary

Use for: - card background

  • choice picker
  • input background
  • neutral background

Default value: #FFFFFF

backgroundSecondary

Use for overflow menu background.Default value: #F5F6F7

backgroundTertiaryActionable

Use for the background color for the topic dialog search and edit text.Default value: #37444A

brand

Use for the header background in the toolbar and tables.Default value: #032D42

notification

Use for new message indicator.Default value: #E52239

primary

Use for:- actionable text

  • button backgrounds

Default value: #00566E

screenHeaderText

Use for text and icon elements with a fixed color that appear on top of the brand color (screen header/toolbar).Default value: #FFFFFF

textActionable

Use for: - highlighted background

  • text on action buttons

Default value: #FFFFFF

textPrimary

Use for: - alert dialog messages

  • card header text
  • chat bubble text
  • picture title and description
  • topic text

Default value: #10171A

webPageThemeId

Sys_id of the theme to apply to the ServiceNow web pages loaded by NowWeb. Default value: Configured default theme

Table: UX Theme [sys_ux_theme] table.

webPageThemeVariantId

Sys_id of the theme variant to apply to the ServiceNow web pages loaded by NowWeb. Default value: Configured default theme variant

Table: UX Style [sys_ux_style] table.

**Parent Topic:**[Mobile SDK - Android](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/cllent-mobile-api-reference/MobileSDKAndroidAPI.md)
Search documentation
Search document titles and file paths on the australia branch