ky-is / tailwind-color-palette

Personalized color palettes for Tailwindcss.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

colorpalete ignored

danielzzz opened this issue · comments

hi, thanks for this library.

I've been trying to use it with this config, but it seems that te color palete is ignored (or I misunderstood how to use it)

this is my config

const defaultPaletteConfig = {
  grayscale: false,
  ui: false,
  colorscale: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
};
const primary = createPalette('#ecc94b', { ...defaultPaletteConfig, name: 'primary' });

but classess with "50" are not generated.

am I doing something wrong?
thanks, dan