tailwindcss-universal-colors
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published
logo

tailwindcss-universal-colors

universal color palette for tailwindcss

image

preview

install

# npm
npm install tailwindcss-universal-colors -D
# yarn
yarn add tailwindcss-universal-colors -D
# pnpm
pnpm add tailwindcss-universal-colors -D

usage

use as extended colors

// tailwind.config.mjs
import universalColors from 'tailwindcss-universal-colors';

export default {
  theme: {
    extend: {
      colors: {
        ...universalColors,
      },
    },
  },
  // ...
};

getColors helps get color value

import { getColors } from 'tailwindcss-universal-colors';

getColors('gray.0'); // #F8FAFB

inspired

colar

Package Sidebar

Install

npm i tailwindcss-universal-colors

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

8.11 kB

Total Files

5

Last publish

Collaborators

  • duducloud