Fix style
This commit is contained in:
parent
f97456483c
commit
7afeeb7084
59 changed files with 84 additions and 143 deletions
|
|
@ -1,13 +1,12 @@
|
|||
const flattenColorPalette = require('../../lib/util/flattenColorPalette').default
|
||||
const withAlphaVariable = require('../../lib/util/withAlphaVariable').default
|
||||
const toColorValue = require('../../lib/util/toColorValue').default
|
||||
const { asColor, nameClass } = require('../pluginUtils')
|
||||
|
||||
module.exports = function ({ matchUtilities, jit: { theme } }) {
|
||||
let colorPalette = flattenColorPalette(theme.fill)
|
||||
module.exports = function ({ matchUtilities, theme }) {
|
||||
let colorPalette = flattenColorPalette(theme('fill'))
|
||||
|
||||
matchUtilities({
|
||||
fill: (modifier, { theme }) => {
|
||||
fill: (modifier) => {
|
||||
let value = asColor(modifier, colorPalette)
|
||||
|
||||
if (value === undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue