Package Exports
- tailwindcss-brand-colors
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-brand-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tailwindcss Brand Colors
Tailwind plugin for adding various brands as background, border and text colors. This plugin requires Tailwind CSS 1.6 or later.
Installation
Add this plugin to your project:
npm install tailwind-brand-colors --save
Usage
For background color:
<div class="bg-google">Hello World</div>
For border color:
<div class="border-twitch border">Hello World</div>
For text color:
<div class="text-reddit">Hello World</div>
Add your own colors
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
tailwind: "#00b4b6",
},
},
},
};