For this specific purpose I could use GSheet from Weavium; there is an option for conditional formatting. However, the layouts are somewhat odd and not fully responsive so far I saw
Thanks, but this won’t work as the styling has to be done in RW… LiveData e.g. doesn’t take any styling from the google sheet; I tried that already ;-(
I don’t know any other stack taking formatting from a GoogleSheet though
I decided to stick to Weavium’s Gsheet stack for the time being. It allows conditional formatting and has a lot of other features, though responsiveness is a bit bumpy
If the values are not going to change dynamically after load then it is as simple as giving a text stack the custom class of cond (or whatever you like) and using the following JS
let items= document.querySelectorAll('.cond');
items.forEach(item => {
if (parseFloat(item.innerHTML) < 0){
item.style.color = "red"
}
});
If they may change then you would just need to add an event monitor to refresh this logic when they change.
If the values are in tables then you may want to change the selector to target table items.