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 Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
On .com, the text color gets generated based on what background color a label has:
But it seems the APIonly provides the background color. So unless the API can be extended to also provide the text color, we would have to use some contrast function. Maybe TinyColor's mostreadable:
I'm new to contributing to this project (but not new to Atom); this looks like a great starting point. I'd be happy to submit an implementation for this!
Activity
simurai commentedon May 12, 2017
On .com, the text color gets generated based on what background color a label has:
But it seems the API only provides the background color. So unless the API can be extended to also provide the text color, we would have to use some contrast function. Maybe TinyColor's mostreadable:
☝️ should automatically pick either black or white.
DrianHillman commentedon Jul 2, 2017
Hi! 👋🏽
I'm new to contributing to this project (but not new to Atom); this looks like a great starting point. I'd be happy to submit an implementation for this!
BinaryMuse commentedon Jul 2, 2017
@DrianHillman That sounds great! Feel free ^__^
winstliu commentedon Jul 18, 2017
Fixed by #1000.