1.1.1 • Published 1 year ago

tailwindcss-universal-colors v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago