Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants