mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2026-02-01 17:26:34 +00:00
Make border colors hoverable by default
This commit is contained in:
parent
8163761b7d
commit
b936532414
962
dist/tailwind.css
vendored
962
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,13 +1,14 @@
|
||||
import _ from 'lodash'
|
||||
import defineClass from '../util/defineClass'
|
||||
import normalizeColorList from '../util/normalizeColorList'
|
||||
import hoverable from '../util/hoverable'
|
||||
|
||||
export default function ({ colors, borders }) {
|
||||
const borderColors = normalizeColorList(borders.colors, colors)
|
||||
|
||||
return _.map(borderColors, (color, className) => {
|
||||
return hoverable(_.map(borderColors, (color, className) => {
|
||||
return defineClass(`border-${className}`, {
|
||||
'border-color': color,
|
||||
})
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user