Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Changing font color in Agent Chat

MarcosGarcia
Tera Contributor

Hi 

 

I need to change the font color in Now assist Agent Chat. Because the default colors in my instance were customized and now is difficult to see the text in agent chat. I need some tips to do this configuration

2 REPLIES 2

glideFather
Tera Patron

ahoy @MarcosGarcia,

 

from your screenshot it seems it is rather Now Assist Panel (NAP) than Virtual Agent.

 

I would say it's the overall instance branding, can you try to change your theme to verify this?


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---

iftekhar_mirza
Tera Guru

Hi @MarcosGarcia ,

From the screenshot, you can try the following approach:

  1. Use Inspect Element on the text/component whose font color you want to change and identify its element ID or relevant selector.

  2. Navigate to Now Experience Framework → Themes.

  3. Open your custom theme.

  4. Under the Compositional: App Theme section, open the relevant style configuration.

    iftekhar_mirza_0-1787731759245.png

     

  5. Search for the identified element ID/selector and check whether a style already exists for it.

    iftekhar_mirza_1-1787731810832.png
  6. If it exists, update the relevant font/text colour with the required colour.

  7. If no matching element is available, add a new element/style and define the required colours.

After saving the changes, refresh the Agent Chat/Now Assist interface and verify whether the text is displayed with the expected contrast and colour.

This approach should allow you to customize the font color without modifying the underlying Agent Chat component directly.

Hope this helps!

Please mark my answer as helpful/correct if it resolves your query.

Regards,

Iftekhar