- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 04:04 AM
Hello everyone,
How could I change the color of the text highlighted in black when it appears as a search result in the Application Navigator? (Example in the attached screenshot).
Additionally, I inspected the browser to find the source of this color and identified that it is controlled by the CSS variable "--now-unified-nav_menu-filter-result-mark--color".
However, I can't find this variable in the instance to modify and test if it actually controls the highlighted color.
Thank you in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 08:49 AM
Many CSS variables (including several with "--now-unified-nav_menu-filter-" in the name) are defined in the "Color" style sheet under Now Experience Framework > Themes > Polaris. That base system theme is not editable, but you could create your own theme and redefine the variables the way you want. Hopefully, if you add "--now-unified-nav_menu-filter-result-mark--color" variable to your custom theme, it will override the default value, but I haven't tried that.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 08:49 AM
Many CSS variables (including several with "--now-unified-nav_menu-filter-" in the name) are defined in the "Color" style sheet under Now Experience Framework > Themes > Polaris. That base system theme is not editable, but you could create your own theme and redefine the variables the way you want. Hopefully, if you add "--now-unified-nav_menu-filter-result-mark--color" variable to your custom theme, it will override the default value, but I haven't tried that.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 03:46 AM
Hi @Slava Savitsky ,
Thanks for your help. The solution you proposed worked for me.
In fact, I really needed it for my custom theme, I just used the screenshot from PDI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 08:56 AM
Hi @itoma ,
Please refer below thread:
Please hit like and mark my response as correct if that helps
Thanks & Regards,
Sumanth Meda