The “showPalette” configuration isn’t wired up correctly.
Also there’s a disconnect between “showPalette” and the default value for “swatches”.
I've added temporary values for the swatch colors.
(Hex values have been taken from the UUI Library example)