From 9e6df85bf126a3fae26a07ea27593a7cc5cd49f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Sun, 21 Nov 2021 22:10:53 +0100 Subject: [PATCH] Make more icons reusable in global SVG sprite --- src/components/SVGSprite.svelte | 8 ++++++++ src/components/atoms/IconArrow.svelte | 7 +++++-- src/components/molecules/CartItem.svelte | 4 ++-- src/components/molecules/ShopLocationSwitcher.svelte | 4 ++-- src/components/organisms/Carousel.svelte | 4 ++-- static/images/icons/pin.svg | 5 ----- static/images/icons/sort.svg | 12 ------------ 7 files changed, 19 insertions(+), 25 deletions(-) delete mode 100644 static/images/icons/pin.svg delete mode 100644 static/images/icons/sort.svg diff --git a/src/components/SVGSprite.svelte b/src/components/SVGSprite.svelte index 604c7b3..e67c433 100644 --- a/src/components/SVGSprite.svelte +++ b/src/components/SVGSprite.svelte @@ -15,5 +15,13 @@ + + + + + + + + \ No newline at end of file diff --git a/src/components/atoms/IconArrow.svelte b/src/components/atoms/IconArrow.svelte index a6a3f18..23fecbf 100644 --- a/src/components/atoms/IconArrow.svelte +++ b/src/components/atoms/IconArrow.svelte @@ -3,6 +3,9 @@ export let flip: boolean = false - - + + \ No newline at end of file diff --git a/src/components/molecules/CartItem.svelte b/src/components/molecules/CartItem.svelte index e6111a2..7952c95 100644 --- a/src/components/molecules/CartItem.svelte +++ b/src/components/molecules/CartItem.svelte @@ -54,8 +54,8 @@ size="tiny" color="gray" on:click={removeItem} > - - + + diff --git a/src/components/molecules/ShopLocationSwitcher.svelte b/src/components/molecules/ShopLocationSwitcher.svelte index f56e5b9..05644b3 100644 --- a/src/components/molecules/ShopLocationSwitcher.svelte +++ b/src/components/molecules/ShopLocationSwitcher.svelte @@ -22,8 +22,8 @@
Shop your city
- - + +