diff --git a/web-svelte/src/components/modals/ColourChoice.svelte b/web-svelte/src/components/modals/ColourChoice.svelte index a1a2226..5fc9934 100644 --- a/web-svelte/src/components/modals/ColourChoice.svelte +++ b/web-svelte/src/components/modals/ColourChoice.svelte @@ -1,27 +1,41 @@ @@ -30,28 +44,70 @@ function selectColour(colour: any) {

Choose a Colour


- {#each colours as colour} -
-
+
+
+

Colour:

- - {#if !colour.taken} - - +
- {/each} +
+

Spaceship

+ + + +
+
+
+

Preview:

+ +
+ +
+
+ + Save Design + +
@@ -71,22 +127,30 @@ function selectColour(colour: any) { width: 90%; flex-grow: 1; margin: 5px; - - .colour { - background: var(--colour); - width: 50px; - height: 50px; - margin-right: 5px; - border-radius: 5px; - } - - .name { - flex-grow: 1; - } + flex-direction: column; @include medium { width: 30%; } } } + +h3 { + margin-bottom: 5px; +} + +.spaceship-icon { + /* + Smaller version: 55px + Larger version: 75px + */ + --size: 80px; + width: var(--size); + height: var(--size); + display: flex; + color: var(--colour); + justify-content: center; + align-items: center; + transform: rotate(-90deg); +} \ No newline at end of file