Tailwind Support
See original GitHub issueI am not sure if this is something, which fits well into Emmet, but I think it does. Did you ever consider Emmet support for Tailwind classes? Many Tailwind classes are short by default, but there are still possible abbreviations, which would be helpful. Examples:
tb
=>text-base
fb
=>font-bold
tc500
=>text-cyan-500
ic
=>items-center
Thoughts?
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Browser Support - Tailwind CSS
Understanding which browsers Tailwind supports and how to manage vendor prefixes. In general, Tailwind CSS v3.0 is designed for and tested on the...
Read more >Tailwind Support
Installation Support. Specific information geared towards setting you up for an amazingly easy installation of the Tailwind system.
Read more >How can I receive help from Tailwind?
Tailwind has a dedicated customer success team available to help you. You can contact us by sending an email to help@tailwindapp.com or by...
Read more >SUPPORT - Go Tailwind
Our support team is ready to help. Please click the support button at the lower right section of your screen to submit a...
Read more >Contact Us
Call, email, or drop us a line using our Contact Us form – Tailwind is here to help your freight transportation business feel...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Emmet produces structured output dynamically: it takes basically any word and produces tags from it. That’s why it limits itself to specific code places where it can be activated: you wouldn’t expect HTML tags white typing HTML attribute name or attribute value, right?
What I see from Tailwind docs is that it’s just a bunch of predefined utility classes. There’s nothing dynamic about it and they are tied specifically to
class="..."
attribute value (where Emmet shouldn’t work by design since it’s used to produce HTML markup).Your case is exactly what editors’ text snippets should be used for: in editors like Sublime Text or VSCode you can create a list of static snippets what should work inside
class="..."
and provide nice completions popupOkay, can you elaborate why you think this is not a good addition to Emmet itself?