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

Theme extension in railwind.config.ron #43

Open
austinlucaslake opened this issue Apr 30, 2023 · 1 comment
Open

Theme extension in railwind.config.ron #43

austinlucaslake opened this issue Apr 30, 2023 · 1 comment

Comments

@austinlucaslake
Copy link

austinlucaslake commented Apr 30, 2023

Below is example of theme extension from a tailwind.config.js file I am putting together. I would love to have similar functionality like this in with railwind so I can stop using Javascript once and for all.

theme extension example

I'd be to help contribute with this feature as it is something I would like to use to put my personal website together. Is this feature doable, and what changes would enable such functionality?

@pintariching
Copy link
Owner

I'm currently working on this feature and on rewriting the parser using nom. If you look into railwind::config, there's the main extendable config that gets passed down to the parser.
On the other side, I would need a parser that takes either the tailwind.config.json or a railwind.config.ron file and expands the relevant config if that makes sense?

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