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

Dark classes in separate files #49

Open
LeMatosDeFuk opened this issue Dec 23, 2021 · 1 comment
Open

Dark classes in separate files #49

LeMatosDeFuk opened this issue Dec 23, 2021 · 1 comment

Comments

@LeMatosDeFuk
Copy link

Hi, first of all, I want to thank you for this package, I love it.

Is there a feature of splitting dark and light classes to separate files? For example, if there is enabled dark mode, I can load only dark classes + light classes and in the light mode, it will load only light classes. If not, this would be really cool feature.

Thank you.

@LeMatosDeFuk LeMatosDeFuk changed the title Dark classes in separate file Dark classes in separate files Dec 23, 2021
@jjranalli
Copy link
Owner

Really glad to hear you like Nightwind!

I don't think doing this with light classes would be feasible as I would have to mess with classes tailwind generates, but there may be a way to optimize loading dark classes. Will keep this in mind for future releases, thanks for the suggestion!

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