openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.88k stars 360 forks source link

Table Column Type: Tag -> choose colors #339

Open neshorg opened 1 year ago

neshorg commented 1 year ago

Hi,

I was wondering if it's possible to set custom colors for predefined tag/keywords for its column values? Right now I believe colors are coupled at random with the given values as tags?

image For example, choosing/defining a different color for department of "Training" in above screenshot which happens to share the same color as "Services". Another reason would be, for our own custom tag values, that certain users tend to expect other colors which make more sense than the ones being chosen at random.

Edit: if this becomes a feature request, then might i suggest the same concept as with column type "Status" where we would write JS to define css colors (or something similar) to the currentCell.

lmx1117 commented 1 year ago

Thanks for your ideas, we will find out how to implement this, maybe a color input to receive CSS 👍