Core styles, colors, variants, and alternate color palettes
Summarize
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 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
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.
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.