mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Make text colors hoverable by default
This commit is contained in:
parent
b936532414
commit
4c2b0a6f69
880
dist/tailwind.css
vendored
880
dist/tailwind.css
vendored
File diff suppressed because it is too large
Load Diff
2
dist/tailwind.css.map
vendored
2
dist/tailwind.css.map
vendored
File diff suppressed because one or more lines are too long
@ -1,11 +1,12 @@
|
||||
import _ from 'lodash'
|
||||
import defineClass from '../util/defineClass'
|
||||
import normalizeColorList from '../util/normalizeColorList'
|
||||
import hoverable from '../util/hoverable'
|
||||
|
||||
export default function ({ colors, text }) {
|
||||
return _.map(normalizeColorList(text.colors, colors), (color, modifier) => {
|
||||
return hoverable(_.map(normalizeColorList(text.colors, colors), (color, modifier) => {
|
||||
return defineClass(`text-${modifier}`, {
|
||||
'color': color,
|
||||
})
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user