Make text colors hoverable by default
This commit is contained in:
parent
b936532414
commit
4c2b0a6f69
3 changed files with 664 additions and 223 deletions
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…
Add table
Add a link
Reference in a new issue