appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.9k stars 3.66k forks source link

[Feature]: Allow text color changes for SwitchGroup and RadioGroup widgets, separate from Label Text Color #16344

Open some-rando opened 2 years ago

some-rando commented 2 years ago

Is there an existing issue for this?

Summary

SwitchGroup and RadioGroup widgets can have their LABEL text color set, but not the color of the text of the individual options.

Why should this be worked on?

SwitchGroup and RadioGroup widgets aren't usable on dark background because their text is always black, or nearly black. Or the text can't match developer set colors set as "Text Color" within Styles on other widgets.

Being able to choose the text color of the options via the color picker or JS would be great. Alternatively, choosing the text color based on the background brightness like ButtonGroup widgets do might be sufficient.

Nikhil-Nandagopal commented 2 years ago

@jsartisan @dilippitchika seems like a miss in our styling

dilippitchika commented 2 years ago

Thanks for adding this @some-rando, we will pick this up soon.