mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Source fontSmoothing options from config
This commit is contained in:
parent
db0a283dea
commit
90e28a087a
@ -1,5 +1,5 @@
|
||||
export default function({ variants }) {
|
||||
return function({ addUtilities }) {
|
||||
export default function() {
|
||||
return function({ addUtilities, config }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.antialiased': {
|
||||
@ -11,7 +11,7 @@ export default function({ variants }) {
|
||||
'-moz-osx-font-smoothing': 'auto',
|
||||
},
|
||||
},
|
||||
variants
|
||||
config('variants.fontSmoothing')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user