1.0.3 • Published 10 months ago

pantone-colors v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Pantone color palette

Usage

  • NPM package name: pantone-colors.
  • Default export: {[colorId]: colorInRGB}.
  • Named export: export const isDark {[colorId]: boolean}.

Sample usage with Tailwind

In tailwind.config.js:

const pantoneColors = require('pantone-colors').default
// or import pantoneColors from 'pantone-colors'

module.exports = {
	theme: {
		extend: {
			colors: {
				pantone: pantoneColors
			},
		}
	},
}

In code: bg-pantone-290, text-pantone-500, etc.

Color list

1.0.3

10 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago