We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
When we put a dark color, the font color is still dark, so we're unable to see what is written.
Possible solutions:
Thx
The text was updated successfully, but these errors were encountered:
self.getBrightness = function(rgb) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(rgb); return result ? 0.2126 * parseInt(result[1], 16) + 0.7152 * parseInt(result[2], 16) + 0.0722 * parseInt(result[3], 16) : 0; }; self.getBrightnessColor = function(rgb) { if (self.getBrightness(rgb) > 130) { return '#000000'; } return '#ffffff'; };
(from https://github.com/ovh/tatwebui/blob/master/client/src/app/shared/message-label/message-label.component.js#L58 )
Sorry, something went wrong.
@bnjjj up ; still annoying.. ; thx!
fix(ui): adjust font color for brightness (close #3330)
fb9d350
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
0b0374b
No branches or pull requests
Hello,
When we put a dark color, the font color is still dark, so we're unable to see what is written.
Possible solutions:
Thx
The text was updated successfully, but these errors were encountered: