13 lines
408 B
JavaScript
13 lines
408 B
JavaScript
export default function() {
|
|
return function({ addUtilities, variants }) {
|
|
addUtilities(
|
|
{
|
|
'.bg-clip-border': { 'background-clip': 'border-box' },
|
|
'.bg-clip-padding': { 'background-clip': 'padding-box' },
|
|
'.bg-clip-content': { 'background-clip': 'content-box' },
|
|
'.bg-clip-text': { 'background-clip': 'text' },
|
|
},
|
|
variants('backgroundClip')
|
|
)
|
|
}
|
|
}
|