diff --git a/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte b/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte
index 9ed2899203..19d54523b2 100644
--- a/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte
+++ b/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte
@@ -6,8 +6,9 @@
export let borderRadius = ""
export let height = ""
export let width = ""
+ export let margin = ""
- $: style = buildStyle({backgroundSize, borderRadius, height, width})
+ $: style = buildStyle({backgroundSize, borderRadius, height, width, margin})
@@ -19,6 +20,6 @@
}
-
+
\ No newline at end of file
diff --git a/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte b/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte
index 2e80f826bd..5989e6b3ed 100644
--- a/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte
+++ b/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte
@@ -1,6 +1,7 @@
@@ -226,15 +257,20 @@
- {#if recentColors.length > 0}
-
- {#each recentColors as color}
-
- applyRecentColor(color)} />
-
- {/each}
-
- {/if}
+ {#if !disableSwatches}
+
+ {#if swatches.length > 0}
+ {#each swatches as color, idx}
+
applySwatch(color)} on:removeswatch={() => removeSwatch(idx)} />
+ {/each}
+ {/if}
+ {#if swatches.length !== 12}
+
+ +
+
+ {/if}
+
+ {/if}