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

Gen props from a javascript object #1

Closed
argyleink opened this issue Sep 16, 2021 · 3 comments · Fixed by #32
Closed

Gen props from a javascript object #1

argyleink opened this issue Sep 16, 2021 · 3 comments · Fixed by #32

Comments

@argyleink
Copy link
Owner

see https://github.com/tailwindlabs/tailwindcss/blob/master/colors.js

open-props is already generating props for conics and colors, this just leans into the js base objects even more. it also unlocks the ability for devs to provide their own js objects.

@argyleink
Copy link
Owner Author

https://twitter.com/equinusocio/status/1438896929354694665?s=20

would allow folks to use them as env vars and only ship what's used in that way

@argyleink
Copy link
Owner Author

if shaped right, it could also be passed to stitches or sprinkles as an object, which they then use as they need

@argyleink argyleink reopened this Oct 4, 2021
@argyleink
Copy link
Owner Author

while there's js to import, the css isn't generated by 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

Successfully merging a pull request may close this issue.

1 participant