Source userSelect options from config
This commit is contained in:
parent
0c633b8e89
commit
7e848e71e4
1 changed files with 3 additions and 3 deletions
|
|
@ -1,11 +1,11 @@
|
|||
export default function({ variants }) {
|
||||
return function({ addUtilities }) {
|
||||
export default function() {
|
||||
return function({ addUtilities, config }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.select-none': { 'user-select': 'none' },
|
||||
'.select-text': { 'user-select': 'text' },
|
||||
},
|
||||
variants
|
||||
config('variants.userSelect')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue