From d8ac7296c3306e53e1555c55d03769d47d175ea4 Mon Sep 17 00:00:00 2001 From: Conor_Mack Date: Thu, 18 Jun 2020 15:54:18 +0100 Subject: [PATCH] Updates for Colorpicker Component --- .../Colorpicker/ButtonGroup.svelte | 4 +- .../Colorpicker/CheckedBackground.svelte | 23 +++++++++++ .../Colorpicker/Colorpicker.svelte | 39 +++++++++++++------ .../Colorpicker/Colorpreview.svelte | 11 ++++-- .../Colorpicker/FlatButton.svelte | 9 +++-- .../userInterface/Colorpicker/Input.svelte | 10 ++--- .../userInterface/Colorpicker/Palette.svelte | 11 ++++-- .../userInterface/Colorpicker/Slider.svelte | 2 +- 8 files changed, 79 insertions(+), 30 deletions(-) create mode 100644 packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte diff --git a/packages/builder/src/components/userInterface/Colorpicker/ButtonGroup.svelte b/packages/builder/src/components/userInterface/Colorpicker/ButtonGroup.svelte index f9c402ac81..134dac772d 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/ButtonGroup.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/ButtonGroup.svelte @@ -12,8 +12,10 @@ font-weight: 500; display: flex; flex-flow: row nowrap; - width: 100%; justify-content: center; + width: 170px; + height: 30px; + align-self: center; } diff --git a/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte b/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte new file mode 100644 index 0000000000..c6acd8f18a --- /dev/null +++ b/packages/builder/src/components/userInterface/Colorpicker/CheckedBackground.svelte @@ -0,0 +1,23 @@ + + + + +
+ +
\ 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 936756f403..16f17ccc98 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/Colorpicker.svelte @@ -1,6 +1,7 @@ diff --git a/packages/builder/src/components/userInterface/Colorpicker/Palette.svelte b/packages/builder/src/components/userInterface/Colorpicker/Palette.svelte index 01a614124c..4763ee86cc 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/Palette.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/Palette.svelte @@ -1,5 +1,6 @@