Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

UI Builder - Presentational list

DENIVALDOC
Giga Contributor

How to chenge font color of the field data in Presentational List?

 

2 REPLIES 2

lauri457
Tera Sage

You have to be more specific in your question. If you outline your use case or problem there is a higher chance of getting better help

 

Text colour is governed by the css variable --now-color_text--primary in ux themes

 

If you want change font color only in a specific component you can use the css field in the styles tab in ui builder. You can only use the global (*) selector so expect all text to be the same color inside the component. You can't go more specific without building a custom component with the cli and wrapping the oob component.

 

Or you can use the highlighted values functionality of experiences [sys_highlighted_value] but it will not be just a font colour change

srikanthmadabhu
Tera Contributor

In Classic UI, you can use List Field Styles or UI Policies to conditionally change font color.

 

In Workspace, use Field Styles within List Layout configuration — DOM scripting is not recommended.

 

Avoid direct CSS manipulation for upgrade safety.

 

If you tell me:

Classic UI or Workspace?

Which table?

What condition?

Do you want color only or badge style?

I can give you an exact step-by-step solution tailored to your instance.