const colorList = ['black','red','green','yellow','blue','magenta','cyan','white','lightBlack','lightRed','lightGreen','lightYellow','lightBlue','lightMagenta','lightCyan','lightWhite','colorCubes','grayscale'];export default function getColorList(colors) {// For backwards compatibility, return early if it's already an arrayif (Array.isArray(colors)) {return colors;}return colorList.map(colorName => {return colors[colorName];});}