From 0925b6d59f267aacb4747334e41e25c8ae6e6c4f Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Fri, 24 Dec 2021 03:20:00 -0700 Subject: [PATCH] Begin work on a modal for changing the player's colour --- .../src/components/modals/ColourChoice.svelte | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 web-svelte/src/components/modals/ColourChoice.svelte diff --git a/web-svelte/src/components/modals/ColourChoice.svelte b/web-svelte/src/components/modals/ColourChoice.svelte new file mode 100644 index 0000000..a1a2226 --- /dev/null +++ b/web-svelte/src/components/modals/ColourChoice.svelte @@ -0,0 +1,92 @@ + + + + +
+

Choose a Colour

+
+
+ {#each colours as colour} +
+
+ + + {#if !colour.taken} + + + Select {colour.name} + + + {:else} + {colour.name} + {/if} +
+ {/each} +
+
+
+ + \ No newline at end of file