- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 01:08 PM
I am working with the Next Experience UI for the first time, and am struggling to implement a seemingly simple change of the banner color in the new UI. I have been able to create a new theme variant for the Polaris theme, and created a new color style to overwrite some of the OOB colors. However, when copy/pasting from the OOB color style, there are hundreds of CSS properties, and it's difficult to know which ones control each UI component. Following some other threads, I was able to change the primary, secondary, and neutral colors, as well as the now-color-chrome-brand properties to match my color scheme. However, I'm not seeing anything that is affecting the banner itself:
Attempting to change banner colors in areas like basic ui16 or css system properties is not effective. I have seen the docs for modifying several theme properties, including changing the banner image, but found them lacking for describing a simple color change. Has anyone had any success with this that they can share?
Solved! Go to Solution.
- Labels:
-
UI Framework Next Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 08:29 PM
Hi Matt,
You can try this:
- Define UX Style
- Add this into Polaris theme (OOTB) --> trick here (m2m_theme_style)
- Switch to use this theme
Hope this will help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2022 08:50 PM
Hi Rohana,
Please check your instance if this is switched to use next experience (polaris theme).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2022 08:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 07:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2022 08:55 AM
Thanks Jack,
Yes, that's very helpful indeed.
So essentially, the top banner color is controlled by the properties:
"--now-unified-nav_header--color": "<rgb value>", <----controls banner text color
"--now-unified-nav_header--background-color": "<rgb value>", <----controls background color
And it looks like the background-color property can be modified with -start and -end properties if you desire a color gradient.