Changing the Font color ? UX Style

Alex Cripps
Tera Contributor

Hello, 

How do you change the font color in UX style. 

"--now-color_text--primary": "24,28,29" 

                             or secondary 

I know those numbers mean something

Thank you in advance

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Those number refer to the RGB code for a specific color. This is a pretty good explanation. At the moment our theming system only supports RGB and not hex codes.

View solution in original post

4 REPLIES 4

Mohith Devatte
Tera Sage
Tera Sage

Hello,

Those numbers usually decide what color your text should be .We cant remember the exact combo of numbers 

but usual process to decide the numbers is we need to inspect the element that we need to change the color for. Right click on the element and click on inspect  and change the number to observe the color changes through console.

This is the theming that they are using in NOW frame work in UI builder theming 

Please refer to below link for more info

https://community.servicenow.com/community?id=community_question&sys_id=d660448f1b0368101e579979b04b...

 

In UX theme record we need to code this for branding and theming of workspace

find_real_file.png

Please accept the solution if this gives you an idea how to code it 

thanks

Alex Cripps
Tera Contributor

Thank you will, i will look in to this 

Please accept the solution if this helps you 

thanks in advance

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Those number refer to the RGB code for a specific color. This is a pretty good explanation. At the moment our theming system only supports RGB and not hex codes.