mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Source userSelect options from config
This commit is contained in:
parent
0c633b8e89
commit
7e848e71e4
@ -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…
x
Reference in New Issue
Block a user