0.1.1 • Published 4 years ago

@alanaudi/colors v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Tailwindcss Colors

Copic Name Copic Code

Color Sets

Usage

  • Installation
# npm
npm install @alanaudi/colors
# yarn
yarn add @alanaudi/colors
  • Configuration
// tailwind.config.js
const copicColors = require('@alanaudi/colors')

module.exports = {
  mode: 'jit',
  purge: {
    enabled: true,
    content: ['./src/**/*.{html,css,ts}'],
  },
  darkMode: class, // or 'media' or 'class'
  theme: {
    extend: {
      colors: {
        ...copicColors
      }
    },
  },
  variants: {
    extend: {},
  },
  plugins: [],
}