List viewer text item color

Hello
I want when button is click it should set list viewer text item color to only dark colors how can I do that.

Here’s a demo of how to do that:

https://x.thunkable.com/copy/590c7fadba7f1f3d1664fca6293e1f86

1 Like

Random dark color

You can Google random color thunkable and learn how to do that. If you get stuck, post a screenshot of your blocks and someone can help you.

1 Like

your link doesn’t work can you resubmit it

https://x.thunkable.com/copy/af11fd1a31615256954705ca14fea96d

1 Like

remember, the code presented will not change one line in the List Viewer but all lines in it.

2 Likes

is there a way to change the color of a specific line ?

1 Like

In the List Viewer no. But you can do that with the Data Viewer List

See my sample project.
https://x.thunkable.com/projectPage/5fe49968180d0200197113a3

2 Likes

thanks,
my problem with this is so far I understood that data viewer list are available only with internal db, GS, or airtable but I am working most of the time with firestore, or other db like mongo…
I contact the support to know if there is a way to create custom layout (in the drag’n drop) where I can control the different properties of each item but I do not think this is possible.
for exemple my objects are with picts, name and date

for me it is the Custom Data Viewer Layout but I do not see how to do it with the drag’n drop

1 Like

Once you create your own layout in the StP UI and save it you should be able to see it in the DnD UI. It will be in the end of the layout list in the properties of the Data Viewer.

2 Likes

I will try this thanks

I just had an answer from the support and this is something that will come soon maybe I will wait until the release :wink:

1 Like

I know, the next release we will have the ability to create the layout direct in DnD but we do not know when although in the last Community Meetup they said soon.

2 Likes