The CreatorCon Call for Content is officially open! Get started here.

Override colors for "Favorite icons" in ui16

gnunez
Kilo Guru

Hello all,

We recently upgraded our test instance to Istanbul and activated UI16. I noticed that in UI16 the "favorite icons" colors are not Section 508 compliant because of the color contrast with the colors and our application navigator background #cdcdcd/#ffffff. I was wondering if there is a way to edit these colors and if so we would like to change it for all users.

I already clicked on the pencil and tried the colors below but there still isn't a contrast.

find_real_file.png

find_real_file.png

14 REPLIES 14

naveenaechan
ServiceNow Employee
ServiceNow Employee

Hi,



You can change the colors by updating the system property glide.ui.nav.colors



Default value:



glide.ui.nav.colors = ["purple","blue","cyan","aquamarine","green","yellow","orange","burnt-orange","red","pink","fuschia","white"]




Hope this helps.



Thanks


Naveen


Hi Naveen,



This definitely helps, thank you! Do you know if I can add the colors in hex format instead of plain text?



Thanks


Grace


I tried editing the colors but it shows as a blank space. See screenshot below:


find_real_file.png


find_real_file.png


That is an odd property.   You can only enter a maximum of 12 colors, which is fine. but it only recognizes some built-in set of colors.   "Yellow" is definitely NOT the normal yellow that you would see and "burnt-orange" is not even a standard color name.



It really should accept the standard color names as well as the RGB and hex notations so you could add any color you want.