tw-in-js / vscode-twind-intellisense

Intelligent Twind tooling for VS Code
MIT License
60 stars 10 forks source link

Custom theme colors/values not working. (deno/fresh) #19

Open barthuijgen opened 1 year ago

barthuijgen commented 1 year ago

Hi, I generated a clean project using deno run -A -r https://fresh.deno.dev my-project and answering y twice.

After this when I try to extend the default colors like so (in docs https://twind.dev/handbook/configuration.html#colors )

image

it refuses to allow text-amber-x to work

image

This is with sastan.twind-intellisense extension installed an no other styling related extensions.

Am I doing something wrong or is this a bug?

sastan commented 1 year ago

Not quite sure. It should work — I think. Sorry... I'm currently focused on releasing a stable v1 with a new IntelliSense API. And then this extension will be updated to support v1.

barthuijgen commented 1 year ago

If you try the same steps is it at least reproducable? If you say it is supposed to work that makes me think it might be on my side but I have no idea why. Would there be anything I can do to debug the issue?

sastan commented 1 year ago

Sorry for the late reply. I honestly do not know when I will have time. It may well be next year. Sorry

Blairio-dev commented 1 year ago

I'm having the same issue. My custom palette is working as I'm able to use them in class names and the colour will apply. But the plugin says it's an unknown utility and none of my custom colours are suggested in autocomplete.

I may be doing something wrong but I followed the installation guide.

Screenshot 2023-01-12 at 21 30 27 Screenshot 2023-01-12 at 21 37 47 Screenshot 2023-01-12 at 21 39 56
sastan commented 1 year ago

The current version of this plugin does not support twind v1. I'm still working on it... Sorry. You can view a preview of what is coming in the playground at https://twind.run

Blairio-dev commented 1 year ago

No problem, I presumed it was a me issue since it worked in the playground. Thanks for letting me know.