Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Support customisation by reading Tailwind config #1

Open
mariusmarais opened this issue Sep 7, 2020 · 2 comments
Open

Support customisation by reading Tailwind config #1

mariusmarais opened this issue Sep 7, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mariusmarais
Copy link
Owner

Currently group generation is static and shipped with the package.

Do that with the default Tailwind config, but also allow generating groups based on a project's tailconfig.config.js file so that customisation is possible. Things like TailwindUI then might just work automatically, or with minimal tweaks.

@mariusmarais mariusmarais added enhancement New feature or request help wanted Extra attention is needed labels Sep 7, 2020
@Sheldonfrith
Copy link

Im using twcascade in a library I'm working on right now, so this issue is significant for me. I may be able to find some time to work on it, just wondering if you've started on a solution or have any advice regarding how you think this should be implemented?

@mariusmarais
Copy link
Owner Author

I have started to look at the Tailwind code, but have none of my own yet. I was hoping there would be a generic way to hook into Tailwind once, but that doesn't seem to be possible.

The standard TW modules are pretty consistent, but we would have to duplicate the generation logic here, AFAICS. Same for any plugins you want to support.

It would be a lot easier with direct assistance from TW, but certainly doable without.

@mariusmarais mariusmarais changed the title Read Tailwind config and generate accordingly Support customisation by reading Tailwind config Mar 12, 2021
@mariusmarais mariusmarais pinned this issue Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants