rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
2.01k stars 111 forks source link

Disabling corePlugins in Tailwind config still shows classes in Viewer #44

Closed ryan-ludwig closed 3 years ago

ryan-ludwig commented 3 years ago

When disabling corePlugins in the config, which prevents Tailwind from generating those classes, the classes still show up in the config. E.g.,

// tailwind.config.js
module.exports = {
    corePlugins: {
        boxShadow: false,
    },
    ...
}

will still show the "Shadows" section in the config viewer and classes which aren't really available.

ryanaltvater commented 2 years ago

@rogden I'm still seeing this issue with v3.1.8 of Tailwind. Currently, I have this in my config...

corePlugins: {
    opacity: false,
},

...and the "Opacity" section is still displaying, with the default opacity classes.