Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/static/js/editor/utils/colors.js
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
export const getColorsDefaults = (colors) =>
2
+
Object.keys(colors).reduce((acc, key) => {
3
+
acc[key] = {
4
+
type: 'string',
5
+
default: colors[key],
6
+
}
7
+
8
+
return acc
9
+
}, {})
10
+