Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/praveenjuge/tailwindcss-brand-colors

Tailwind plugin for adding brands colors as background, border and text colors.
https://github.com/praveenjuge/tailwindcss-brand-colors

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Tailwindcss Brand Colors

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

## Installation

Add this plugin to your project:

```sh
npm install tailwindcss-brand-colors --save
```

## Usage

Add it to the plugins array of your Tailwind config:

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

[See the list of all brand colors available here](https://github.com/praveenjuge/tailwindcss-brand-colors/blob/master/index.js)

For background color:

```html

Hello World

```

For border color:

```html

Hello World

```

For text color:

```html

Hello World


```

## Add your own colors

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