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

Show color swatches for TailwindCSS colors #11991

Closed
1 task done
jasongitmail opened this issue May 17, 2024 · 2 comments · Fixed by #18665
Closed
1 task done

Show color swatches for TailwindCSS colors #11991

jasongitmail opened this issue May 17, 2024 · 2 comments · Fixed by #18665
Labels
enhancement [core label] extension infrastructure Feedback for extensions APIs, creation, management, etc language An umbrella label for all programming languages syntax behaviors potential extension Functionality that could be implemented as an extension (consider moving to community extensions) tailwind css Tailwind CSS styling framework support

Comments

@jasongitmail
Copy link

jasongitmail commented May 17, 2024

Check for existing issues

  • Completed

Describe the feature

It'd also be useful to see color swatches for the tailwind color classes, like in Cursor/VSCode:

Zed

zed

Cursor

vscode

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Leftover aspect from #10532

@jasongitmail jasongitmail added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels May 17, 2024
@JosephTLyons JosephTLyons added potential extension Functionality that could be implemented as an extension (consider moving to community extensions) language An umbrella label for all programming languages syntax behaviors tailwind css Tailwind CSS styling framework support extension infrastructure Feedback for extensions APIs, creation, management, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels May 18, 2024
@thecrypticace
Copy link
Contributor

I've wanted this feature for a while and decided to try my hand at implementing it. So far I've got a super basic version working:

Screenshot 2024-07-10 at 21 46 12

There's still a good bit to do before I feel good about opening a PR (better perf, handling more color formats like VSCode does, more tests, etc…) but this is at least progress.

@thecrypticace
Copy link
Contributor

Life and work stuff got in the way but I had some time this evening to update things a bit and open a PR: #18665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] extension infrastructure Feedback for extensions APIs, creation, management, etc language An umbrella label for all programming languages syntax behaviors potential extension Functionality that could be implemented as an extension (consider moving to community extensions) tailwind css Tailwind CSS styling framework support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants