postcss-colorblind icon indicating copy to clipboard operation
postcss-colorblind copied to clipboard

Tailwindcss support

Open eye-wave opened this issue 2 years ago • 1 comments

I've noticed that this plugin does not work at all with tailwindcss. is that because of how tailwind uses css variables for colors etc? can something be done around it to make things work?

eye-wave avatar Mar 10 '23 11:03 eye-wave

Tailwind users who also use this plugin may want to add the following setting to their configuration:

future: {
  disableColorOpacityUtilitiesByDefault: true
}

I guess, this is not in the documentation. I've found it here: https://github.com/tailwindlabs/tailwindcss/blob/3.2/types/config.d.ts#L66

ertgl avatar Apr 18 '23 09:04 ertgl