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

Adjust suggestions based on a Tailwind configuration. #6

Open
jasonplatts opened this issue Oct 14, 2020 · 13 comments
Open

Adjust suggestions based on a Tailwind configuration. #6

jasonplatts opened this issue Oct 14, 2020 · 13 comments
Labels
enhancement New feature or request

Comments

@jasonplatts
Copy link
Owner

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 jasonplatts added the enhancement New feature or request label Oct 14, 2020
@tinyfly
Copy link

tinyfly commented Oct 23, 2020

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.

@jasonplatts
Copy link
Owner Author

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

@kylesnod
Copy link

kylesnod commented Oct 29, 2020

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

@jasonplatts
Copy link
Owner Author

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

@heychazza
Copy link

Hey, any update with this?

@jasonplatts
Copy link
Owner Author

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

@eivindml
Copy link

Voicing my interest in this as well 🙏🏻

@jasonplatts
Copy link
Owner Author

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

@jasonplatts jasonplatts added this to the v3.0 milestone Jul 3, 2021
@jasonplatts jasonplatts modified the milestones: v3.0, v3.1 Jul 24, 2021
@jasonplatts
Copy link
Owner Author

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!

@eivindml
Copy link

eivindml commented Aug 3, 2021

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! 🙏🏻

@jasonplatts jasonplatts removed this from the v3.1 milestone Jan 20, 2022
@iocouto
Copy link

iocouto commented Jul 9, 2022

Thank you for all your work! 🙏
Eagerly awaiting additional customisation support.

@uicowboy
Copy link

uicowboy commented Nov 18, 2022

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?

@eivindml
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants