Skip to content

Tailwind plugin for adding brands colors as background, border and text colors.

License

Notifications You must be signed in to change notification settings

rowe-morehouse/tailwindcss-brand-colors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwindcss Brand Colors

Tailwind plugin for adding brands colors as background, border and text colors.

Installation

Add this plugin to your project:

npm install tailwindcss-brand-colors --save

Usage

Add it to the plugins array of your Tailwind config:

// tailwind.config.js
plugins: [require("tailwindcss-brand-colors")],

See the list of all brand colors available here

For background color:

<div class="bg-google">Hello World</div>

For border color:

<div class="border-twitch border">Hello World</div>

For text color:

<p class="text-reddit">Hello World</p>

Add your own colors

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        tailwind: "#00b4b6",
      },
    },
  },
};

About

Tailwind plugin for adding brands colors as background, border and text colors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%