TailwindCSS Plugin - Allow arbitrary values

Hey 👋 I'm creating a TailwindCSS plugin, and I'd like to allow for arbitrary values. I couldn't find a setting where I can enable that. Any ideas?
1 Reply
domi?
domi?OP•3y ago
This is what I have so far:
matchUtilities(
{
'custom-class': value => ({
background: `...${value}...`
})
},
{
type: 'number',
supportsNegativeValues: true
}
);
matchUtilities(
{
'custom-class': value => ({
background: `...${value}...`
})
},
{
type: 'number',
supportsNegativeValues: true
}
);
Want results from more Discord servers?
Add your server