You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
[RFC]: Colors - choosing text color for box components (where color props sets background color)
Problem description
We need to automatically change text color for box components (components where color prop goes to background color)
What tool to use for deciding text color for different background shades?
Proposed solution
Use color package and Color(bgColor).isDark call to determine if the text is light or dark, but it looks like this is not a preferred package to import? see: #597 (comment)