nightwind icon indicating copy to clipboard operation
nightwind copied to clipboard

Dark classes in separate files

Open LeMatosDeFuk opened this issue 3 years ago • 1 comments

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 avatar Dec 23 '21 19:12 LeMatosDeFuk

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!

jjranalli avatar Dec 29 '21 16:12 jjranalli