Experiment: Add new palette system colors via in-browser mixing #206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here's an interesting idea that I'm about 5 hours of experimenting into: with a bump in minimum Chrome version, one can generate the color variables for the new Tumblr palette system in-browser using CSS
color-mix
. This allows a single set of CSS transform variables to be used to transform the "base" colors from the True Blue (in theory), 2016, Decision, and 2013 palettes, as well as any custom user palettes (with admittedly somewhat mixed results quality-wise), into a full set of the new variables.Closes #203, closes #204.
Edit: Did the above; see comment below.
Anyway, this also includes the new variables for all of the built-in Tumblr palettes (copied from the site with no CSS trickery).
I wish I had some custom palettes to test this with! I just have one, which I made based on one of Kat's posts: