roots / palette-webpack-plugin

Generate a JSON file containing your color palette from existing Sass maps and/or Tailwind.
MIT License
46 stars 7 forks source link

feat(tailwind): Tailwind shade labels #9

Closed Log1x closed 3 years ago

Log1x commented 4 years ago
tailwind: {
  config: './tailwind.config.js',
  shades: {
    '100': 'Light',
    '500': '',
    '800': 'Dark',
  },
  path: 'colors',
},

would result in:

Light Gray
Gray
Dark Gray

instead of:

Gray (100)
Gray (500)
Gray (800)