Coder Social home page Coder Social logo

rowe-morehouse / tailwindcss-brand-colors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from praveenjuge/tailwindcss-brand-colors

0.0 0.0 0.0 6 KB

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

License: MIT License

JavaScript 100.00%

tailwindcss-brand-colors's Introduction

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",
      },
    },
  },
};

tailwindcss-brand-colors's People

Contributors

praveenjuge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.