DEV Community

Discussion on: How to Extend Tailwind CSS

Collapse
 
bourhaouta profile image
Omar Bourhaouta • Edited

Great article Andy! 🙏
May I ask you a question? I'm trying to build a markdown component instead of copy/paste the CSS somewhere, and since I'm already using tailwind I wanted to use the addComponents approach, and I'm really confused about what I did here:

Markdown Component

Is it a bad idea to use @apply or even theme and getting the default values from the config?