Adam Wathan

Results 218 comments of Adam Wathan

I would think of that as a "component" class and construct it like this: https://tailwindcss.com/docs/extracting-components#extracting-css-components-with-apply

> That makes sense, but we've been unable to @apply those component classes to other components Yeah this is correct, `@apply` is handled in a single pass not recursively so...

Just spent a little time looking into this, don't have a solution yet but wanted to leave some notes for myself so I don't forget: The root problem here is...

Nice! Feel free to chime in on discussion I just started there; trying to figure out if it makes more sense for us to do an HTML or CSS entry...

I never commit the generated CSS personally, always build it on the server at deploy time 👍🏻

Mind throwing together a JSFiddle or Codepen demo so I can see what you mean for sure? I think it's probably a limitation of what CSS grid features we support...

Are we sure there is no way to integrate Tailwind into Svelte without a separate script and managing the CSS file totally outside of Svelte's build process? Ideally we wouldn't...

Just some notes for myself, this is because the selector `.dark .dark\:bg-gray-600` has a higher specificity than `[type="checkbox"]:checked`, so it is taking precedence. I think we need to try and...

Hey! My usual approach is pretty similar to what you have there. Here is a `markdown` class that I use to wrap up markdown content in my personal blog for...

Hey! I think this is a pretty interesting idea but I would want to spend some time working with our design team to make sure we are happy with the...