prefix option doesn't seem to work
lynden-jones opened this issue · 3 comments
lynden-jones commented
I set the prefix to ''. I also tried setting the prefix to 'something-else-'.
However the prefix remained as 'rfs-'
This is my tailwind.config.js
module.exports = {
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
purge: [],
theme: {
extend: {},
},
variants: {},
corePlugins: {
fontSize: false, // defer to rfs
padding: false, // defer to rfs
margin: false, // defer to rfs
},
plugins: [
require('tailwindcss-rfs')({
prefix: '',
fontSizeUtilities: true,
paddingUtilities: true,
marginUtilities: true,
})
]
}
lynden-jones commented
Looking at the code, it seems only padding has the issue of ignoring the user's prefix.
lynden-jones commented
I created a PR for this issue #7