A super tiny tailwind plugin that enables the use of the Dracula colour palette.
Hopefully this will give you some great dark colors in your next project, and save you 5 min of setting up custom colors.
npm i tailwind-dracula
In your tailwind.config.js:
plugins: [
require('tailwind-dracula'),
],
You now have access to the Dracula theme anywhere you would use normal tailwind colours.
<div class="bg-buffy">
<p class="text-nosferatu ">I want to suck your blood...</p>
</div>
Color naming has two options (based on Dracula's names with some changes where needed):
- The color name option. ie. darker, pink, purple
- The vampire name option. ie. dracula, vonCount, buffy