Can we add a custom color (Black) to Highlighted Value Conditions in ServiceNow?

sonalik
Tera Contributor

Hi Team,

I'm working with Highlighted Value Conditions (sys_highlighted_value_condition) and noticed that the Color field supports the following OOTB values:

  • critical
  • warning
  • info
  • positive
  • green
  • yellow
  • blue
  • purple
  • magenta
  • pink
  • brown
  • gray
  • teal
  • orange

I added a new choice value "black" to the Color field, and it appears in the dropdown, but it does not render in the UI.

While investigating, I found that the rendering is handled by the now-highlighted-value component, which belongs to a private application (servicenow/now-highlighted-value).

My questions are:

  1. Is there a supported way to add a custom color such as black to Highlighted Value Conditions?
  2. Where are the supported color variants for now-highlighted-value defined?
  3. Has anyone successfully extended the component to support additional colors?
  4. Is a custom component/theme override the only option?

Any guidance or documentation would be greatly appreciated.

Thanks!

0 REPLIES 0