Core styles, colors, variants, and alternate color palettes

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Core styles, colors, variants, and alternate color palettes

    ServiceNow's Next Experience UI allows you to customize the visual presentation for different users through core styles, variants, and alternate color palettes. These options enable you to tailor color schemes, typography, shapes, and imagery to enhance usability and accessibility, creating a more personalized user experience.

    Show full answer Show less

    Core Styles and Colors in Theme Builder

    • Core Styles: Fundamental design elements including color, shape and form, typography, and imagery that define the base appearance of the UI.
    • Color Editing: Use the color picker in Theme Builder to adjust component and canvas background colors for preview purposes. Changes to the canvas background do not affect the live instance; only component-specific hooks are applied when publishing a theme.
    • Contrast Ratio: The color picker displays real-time contrast ratio updates to support accessibility compliance when adjusting colors.

    Variants and Alternate Color Palettes

    • Variants: These are alternate versions of existing themes focused on accessibility, such as dark mode variants, which help visually impaired users by using darker backgrounds and adjusted text colors. Users can select these variants in their preferences.
    • Alternate Color Palettes: Cosmetic variations of a theme’s colors that let users toggle between different visual styles (e.g., light and dark). They can be created from any theme except the default Polaris or Coral themes and initially inherit the primary theme’s logo, typography, and shape styles.
    • Palette Definition: When creating an alternate palette, you define primary, secondary (optional), and neutral colors. The primary color is applied to navigation bars, menus, and common components, while neutral colors define dividers and containers. Note that in dark alternate palettes, secondary and neutral colors cannot be edited.
    • Palette Grouping and Naming: Alternate color palettes are grouped with their primary theme and can be renamed for easy identification.

    Additional Notes

    • Dark variants apply broadly across the Next Experience UI but do not affect the Core UI (formerly UI16), which is used when Next Experience is inactive.
    • You can preview how UI assets render with applied themes and palettes on the ServiceNow AI Platform before publishing changes to your instance.

    You can tailor the look and feel of the Next Experience UI for different users by configuring the core styles, variants, and alternate color palettes.

    Core styles in Theme Builder

    A core style is the base version of a style. Core styles include color, shape and form, typography, and imagery.

    Colors in Theme Builder

    When editing components, use the color picker to change the background color of the canvas to view how the component colors will render on different backgrounds.
    Note:
    Updating the canvas color doesn't apply to the instance. Only hooks specific to components are applied on the instance if you publish an edited theme to the instance.
    When editing theme colors, you can view the contrast ratio in the color picker. The value updates when you change the color from the palette or My colors view.

    Variants/Alternate color palettes in Theme Builder

    Both variants and alternate color palettes are types of UX style records categorized as Variant.

    A variant is an alternate version of an existing theme, usually designed for accessibility, that your users can select in preferences. An example of a variant is the Dark version of the default Polaris or Coral theme that is shipped with Next Experience. The Dark variant can be used to enhance accessibility for visually impaired users by replacing light backgrounds with darker ones and contrasting the text colors accordingly.

    An alternate color palette is a modification that you can make to a theme's colors and is designed for cosmetic purposes. Alternate color palettes allow users to toggle between different visual styles like light and dark options without affecting the core theme. You can define this palette in the Theme Builder Manager page for any theme, except for the default Polaris or default Coral themes. When you use an existing theme to create an alternate color palette, the alternate color palette is grouped with that primary theme, and initially shares its logo, color, typography, and shape styles. At first, the only difference from the primary theme is that you assign it a unique name.

    Next, you define the primary color for the alternate color palette. This color is used to identify the navigation bar, menus, and other common components. Likewise, define a secondary color, if needed. If your interface doesn't require a secondary color, the primary color is used. Lastly, you define a neutral color to help define divider lines and containers. There are two base palettes available, light and dark.
    Note:
    Secondary and neutral colors cannot be edited in the dark alternate color palette.

    When the palette is created using the colors you selected, you have the option of renaming it. You can preview all the UI assets available on the ServiceNow AI Platform to visualize how they are rendered when you apply them to your instance.

    Note:
    Dark variants don’t apply to the Core UI, previously referred to as UI16. The Core UI is the interface you use if Next Experience is inactive. However, dark variants extend to most aspects of the Next Experience.