fix(module): move colors utils to runtime dir

This commit is contained in:
Benjamin Canac
2022-02-14 15:26:34 +01:00
parent 4a648850f5
commit 93c9fe1c74
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
import colors from 'tailwindcss/colors.js'
import { without, kebabCase } from 'lodash-es'
export const safeColors = without(Object.keys(colors).map(kebabCase), 'inherit', 'current', 'transparent', 'black', 'white', 'gray')
export const safeColorsAsRegex = safeColors.join('|')