Theme to set color threshold for forground color like text based on background #5183
pawanrana1992
started this conversation in
Feature requests
Replies: 2 comments
-
Is there any update on this ? @markwilson |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, I'm not sure why I'm tagged here 🤷 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I am building the theme and UI for my company using HeroUI, which is having brand color like "#ff0000 (Red)", and brand expected forground text color required "#ffffff(White)". so when adding red color, currently the HeroUI using black color as forground.
If we have some option like change the color threshold to manage the forground color based on background so instead of black, some how build the forground color as white, then it will help a lot to the developers to manage UI directly from the theme, currently we have to handle this type of requirment manually
HeroUI default theme - seems lossing the readability

Expected result in this case would be better with white if we able to handle it with color threshold approach.

It is a humble request if we can have such option to manage globally!
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions