tailwindcss-export-config icon indicating copy to clipboard operation
tailwindcss-export-config copied to clipboard

feat: handle DEFAULT key

Open nlemoine opened this issue 4 years ago • 5 comments
trafficstars

Handle DEFAULT key, see https://tailwindcss.com/docs/customizing-colors#color-object-syntax

So {blue: {DEFAULT: '#000'}} does not become $blue-DEFAULT but $blue.

nlemoine avatar Nov 11 '21 09:11 nlemoine

Indeed, Tailwind 2.x handles extending config differently. I updated to Tailwind 2.x. I guess this introduces a breaking change if you're fine with that.

nlemoine avatar Nov 11 '21 09:11 nlemoine

It's fine, we just need to do a major version bump

dobromir-hristov avatar Nov 11 '21 09:11 dobromir-hristov

No problem, it would be great! thanks 👍

nlemoine avatar Nov 11 '21 09:11 nlemoine

Please let me know when it's released :)

nlemoine avatar Nov 11 '21 10:11 nlemoine

Any updates when this will be released? Currently running into an issue upgrading to tailwindwind 2.x due to default/DEFAULT.

rdotchin-rms avatar Nov 17 '21 19:11 rdotchin-rms