tailwindcss-nova-ext icon indicating copy to clipboard operation
tailwindcss-nova-ext copied to clipboard

Adjust suggestions based on a Tailwind configuration.

Open jasonplatts opened this issue 4 years ago ā€¢ 13 comments

The extension does not currently adjust suggestions based on custom configurations of the Tailwind config file, such as custom colors, and optionally enabled variants like motion-safe and motion-reduce variants.

In future versions, the extension should read a config file and modify or extend suggestions.

jasonplatts avatar Oct 14 '20 18:10 jasonplatts

I'm eagerly awaiting this feature. I heavily customize my tailwind config so this would be a great addition. Thanks for the extension by the way.

tinyfly avatar Oct 23 '20 17:10 tinyfly

Thanks for the feedback @tinyfly. It's very helpful so I know where to focus my time.

jasonplatts avatar Oct 23 '20 18:10 jasonplatts

Agree with @tinyfly this would be a massive addition! Thanks for taking this on!

kylesnod avatar Oct 29 '20 01:10 kylesnod

Thanks @kylesnod. No worries, Iā€™m happy to be able to contribute to something that devs are finding useful.

jasonplatts avatar Oct 29 '20 03:10 jasonplatts

Hey, any update with this?

heychazza avatar Dec 01 '20 15:12 heychazza

Hi @Chazza. No update at the moment. Thanks for letting me know you are interested.

jasonplatts avatar Dec 01 '20 16:12 jasonplatts

Voicing my interest in this as well šŸ™šŸ»

eivindml avatar Jan 13 '21 15:01 eivindml

Thanks @eivindml. Haven't had much time to work on the extension recently, but hope to get some updates out soon.

jasonplatts avatar Jan 17 '21 19:01 jasonplatts

This has been partially included in v3.0. Extended colors added to a theme in the tailwind.config.js file are now included in the color related Tailwind class suggestions.

I felt this might be useful (especially with the added sidebar), so I didn't want to wait to release an update until customization support was completed. However, additional customization support is coming!

jasonplatts avatar Jul 24 '21 16:07 jasonplatts

This has been partially included in v3.0. Extended colors added to a theme in the tailwind.config.js file are now included in the color related Tailwind class suggestions.

I felt this might be useful (especially with the added sidebar), so I didn't want to wait to release an update until customization support was completed. However, additional customization support is coming!

Great work! Thank you! šŸ™šŸ»

eivindml avatar Aug 03 '21 06:08 eivindml

Thank you for all your work! šŸ™ Eagerly awaiting additional customisation support.

iocouto avatar Jul 09 '22 04:07 iocouto

Thank you for creating this extension.

Looks like with a tailwind config file with custom colors and a prefix this extension doesn't quite work? I.e. it suggests classes from base Tailwind, on hover doesn't show the generated CSS. Would be amazing if the extension mirrored the VSCode one as much as possible even though it's from a different team. Any plans to do something like that?

uicowboy avatar Nov 18 '22 23:11 uicowboy

Looks like this doesn't work at all anymore? Tried adding a test color. I have also manually specified the path for the tailwind config file in project settings, and restarted Nova. But it's not being reflected in the list.

Skjermbilde 2023-03-22 kl  15 18 12 Skjermbilde 2023-03-22 kl  15 17 57

eivindml avatar Mar 22 '23 14:03 eivindml