-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
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
Add Tailwind named colors? #24
Comments
I guess the key thing to check is the license on them. |
The license on the code itself is MIT – https://github.com/tailwindlabs/tailwindcss/blob/master/LICENSE. |
cool, I think we could do this. |
Oh, I must have missed this mention somehow. I actually did not do that much on this package, but I can try to find time to review the new PR. |
👋 Maybe this is out-of-scope (since (1) the colors from Tailwind have changed multiple times over the years and (2) Tailwind is a web-framework (i.e., perhaps this opens the "add any web framework" can-of-worms?)).
Tailwind CSS has some pretty nice palettes – not necessarily for plotting, though. They document all their colors here of the form
<color>.<weight>
. The<weight>
seems rather arbitrary, but follows a general schema of...<color>.500
is the actual target color andweight < 500
lightens to an off-white whileweight > 500
darkens towards a dark gray (though gray doesn't dominate the color, instead the color does).Here's a more visual representation of the palette: https://tailwindcss.com/docs/customizing-colors#default-color-palette
This would also jive really well with the namespace idea put forward in #9.
Aside: I'm up for making a PR and possibly adding a script to update these colors, but wanted to check that
NamedColors
is open to adding color sets like this before doing that.The text was updated successfully, but these errors were encountered: