Skip to content
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

Use native palettes when possible #194

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Jun 10, 2024

Description

MVP of code that changes the actual Tumblr palette when the user selects one of Tumblr's, rather than overriding the colors. Prevents mismatched colors from all of the new design system variables when selecting a Tumblr palette. Could be used to set the Tumblr palette to e.g. True Blue when a Palettes for Tumblr builtin or custom user palette is selected.

Drawbacks: I mean, look, you can see the diff. Hey, anyone want to add window.tumblr.changePalette? That doesn't sound like a waste of development time at allllllllll

That being said, I do think the path for the future of this extension is worth discussing.

Testing steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant