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

xstyled + strongly-pathed theme colors #422

Open
quantizor opened this issue Apr 13, 2023 · 2 comments
Open

xstyled + strongly-pathed theme colors #422

quantizor opened this issue Apr 13, 2023 · 2 comments

Comments

@quantizor
Copy link
Contributor

It’d be great to have an option for this extension to enable an “xstyled” mode that allows some new options for CSS values based on theme (would need a way to specify the file and export name to grab it for analysis.)

@jasonwilliams
Copy link
Collaborator

Hey @probablyup could you give some more context as to what xstyled is or what an "xstyled mode" would look like? What sort of new options for CSS values would you expect to see?

@quantizor
Copy link
Contributor Author

Hey yeah! xstyled is a meta framework built on top of styled-components that allows for CSS enriched with theme values: https://xstyled.dev/

It’s part of our org now :)

Part of it is a theme specification for defining things like named specialty colors that map back to theme.colors.* https://xstyled.dev/docs/magic-styled-components/

I’m definitely open to helping/doing this work if no one else is interested, just wanted to start the issue and get some eyeballs on it!

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

No branches or pull requests

2 participants