Closed juansalvatore closed 1 year ago
When updating the tailwind.config.js to use:
darkMode: ["class", '[data-mode="dark"]'],
instead of:
darkMode: "class",
I get the following error:
This config is supported by tailwind (check https://tailwindcss.com/docs/dark-mode#customizing-the-class-name). So I was wondering if there's a way to configure twin.macro to work with this config?
When updating the tailwind.config.js to use:
instead of:
I get the following error:
This config is supported by tailwind (check https://tailwindcss.com/docs/dark-mode#customizing-the-class-name). So I was wondering if there's a way to configure twin.macro to work with this config?