芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/test.joruridoctor.com/node_modules/tailwindcss/src/util/flattenColorPalette.js
const flattenColorPalette = (colors) => Object.assign( {}, ...Object.entries(colors ?? {}).flatMap(([color, values]) => typeof values == 'object' ? Object.entries(flattenColorPalette(values)).map(([number, hex]) => ({ [color + (number === 'DEFAULT' ? '' : `-${number}`)]: hex, })) : [{ [`${color}`]: values }] ) ) export default flattenColorPalette