tailwindcss-intellisense
twin.macro
Our great sponsors
tailwindcss-intellisense | twin.macro | |
---|---|---|
13 | 57 | |
2,664 | 7,802 | |
2.1% | - | |
8.9 | 6.1 | |
6 days ago | 18 days ago | |
TypeScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tailwindcss-intellisense
- Helix - Front-End Power
-
TailwindCSS vs. UnoCSS
It'll autocomplete classes in CSS with @apply, but it won't autocomplete custom classes from CSS in HTML
-
how do I make nvim-cmp give more relevant suggestions and not give me bad spelling suggestions??
For fixing the tailwind's lsp we have to change some of the codebase of tailwind's lsp to make fix this issue for Neovim.
-
Can someone suggest a way to import the “tailwind.config.cjs” file into Sveltekit?
I don't have a full answer, but share your frustrations. This isn't easy to do until Tailwind support ES Modules [1] [2].
-
How do you handle laggy/freezing autocompletion (especially nvim-cmp with Tailwind LSP)?
Seems others have had bad perf with tailwind lsp: https://github.com/tailwindlabs/tailwindcss-intellisense/issues/444
-
Is there a way to use Tailwindcss ?
It should work now: https://github.com/tailwindlabs/tailwindcss-intellisense/pull/656 , you can see there was a problem: https://github.com/helix-editor/helix/issues/2213 but it was solved.
- nvim-cmp: source for converting tailwindcss class to pure css code
-
Show colors in company-mode
I don't know that. I actually don't have much experience with this kind but the language server code is available here.
-
Anyone here have a functional Tailwind CSS LSP for tailwind-rn?
I want to get LSP support when using tailwind-rn, but I cannot get the custom regex to work like described here.
-
[LSP]Tailwindcss not working
You can install it by npm now https://github.com/tailwindlabs/tailwindcss-intellisense/tree/master/packages/tailwindcss-language-server and it's working.
twin.macro
-
Tailwindcss in Styled-Components
Twin Macro Github Repo. This is a great resource to help you pick up Twin’s syntax, learn more about the package, and keep up to date with the latest releases.
-
CSS Style Guide for Web Dev?
Personally I like twin.macro the most. It’s similar to the above but based on Tailwind.
-
Cool Tailwindcss Tools For Everyone
twin.macro is a library that allows you to use these styles in your JavaScript code. This library works exactly like styled-components.
- How do you css?
-
Fixing Class Composition in Tailwind CSS
One of the more promising alternatives is twin.macro - a Babel macro that processes Tailwind classes to generate JS objects understandable by various CSS-in-JS libraries. The developer experience (DX) of using it is amazing as you not only get all of Tailwind’s features without much change to your code, but you also get much more flexibility - all that on top of the traditional benefits of CSS-in-JS. Here’s an example code:
-
Setup Nextjs Tailwind CSS Styled Components with TypeScript
twin.macro
-
What unpopular webdev opinions do you have?
If you use Tailwind with React a lot, and are wanting support for Styled Components, give Twin Macro a look. They're close to finishing support for TW v3 in their Releases section :)
- Are utility classes horrible design or am I dumb?
- What's the proper way to write Tailwind with React?
-
Stailwc: an swc plugin for transpiling tailwind directives at compile time
The blocker for us using it is our use of an excellent library called twin.macro which is built against babel's transpilation APIs to parse tailwindcss directives at compile time so that they may be used with css-in-js libraries. This efficiently bundles your css so that you only ship the precise css you use. The problem is, it's all quite slow.
What are some alternatives?
nvim-lspinstall - Provides the missing :LspInstall for nvim-lspconfig
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
vscode-php-intellisense - Advanced PHP IntelliSense for Visual Studio Code 🆚💬
Tailwind CSS - A utility-first CSS framework for rapid UI development.
tailwindcss-classnames - Functional typed classnames for TailwindCSS
jest-styled-components - 🔧 💅 Jest utilities for Styled Components
css-modules-transform - A Visual Studio Code extension which automatically converts CSS class names into CSS Modules syntax on save.
vue-emotion - Seamlessly use emotion (CSS-in-JS) with Vue.js
lsp-tailwindcss - the lsp-mode client for tailwindcss
tailwind-safelist-generator - Tailwind plugin to generate purge-safe.txt files