<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ⚡ Sigui</title>
    <description>The latest articles on DEV Community by ⚡ Sigui (@siguici).</description>
    <link>https://dev.to/siguici</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1423463%2Fca858338-f6ce-45d1-9449-f24ed655d6d9.jpg</url>
      <title>DEV Community: ⚡ Sigui</title>
      <link>https://dev.to/siguici</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/siguici"/>
    <language>en</language>
    <item>
      <title>Supercharge Your TailwindCSS Plugin Development with Plugwind.js</title>
      <dc:creator>⚡ Sigui</dc:creator>
      <pubDate>Mon, 21 Oct 2024 04:26:12 +0000</pubDate>
      <link>https://dev.to/siguici/supercharge-your-tailwindcss-plugin-development-with-plugwindjs-1n0m</link>
      <guid>https://dev.to/siguici/supercharge-your-tailwindcss-plugin-development-with-plugwindjs-1n0m</guid>
      <description>&lt;p&gt;If you’ve ever developed plugins for TailwindCSS, you know how powerful the plugin system is… but also how it can get a bit cumbersome at times. 🎨&lt;/p&gt;

&lt;p&gt;Enter &lt;code&gt;plugwind.js&lt;/code&gt;, a lightweight package that extends Tailwind's plugin API with must-have features to make your life easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use Plugwind.js?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🌑 Simplified dark mode support : Switch it on with ease.&lt;/li&gt;
&lt;li&gt;🎨 Background gradients : Effortlessly manage and apply gradients.&lt;/li&gt;
&lt;li&gt;📦 More flexible API : Extend Tailwind faster and more efficiently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All this with just a few lines of code!&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install it?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install &lt;/span&gt;plugwind.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or find it on &lt;a href="//https//jsr.io/@siguici/plugwind"&gt;JSR&lt;/a&gt; and &lt;a href="https://github.com/siguici/plugwind" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Example usage
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;plug&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;plugwind.js&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;plug&lt;/span&gt;&lt;span class="p"&gt;(({&lt;/span&gt; &lt;span class="nx"&gt;addProperty&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;addProperty&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;background&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;radial-gradient(circle, var(--tw-gradient-stops))&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.bg-gradient-radial&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Plugwind.js is an evolving project, so feedback and contributions are highly appreciated!&lt;/p&gt;

&lt;p&gt;Give it a try and let me know what you think 🚀&lt;/p&gt;

&lt;h1&gt;
  
  
  tailwindcss #npm #pluginDev #javascript #opensource
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
