aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-22 14:34:18 -0600
committersecondl1ght <[email protected]>2022-07-22 14:34:18 -0600
commit6272898b6d6f15e5fd43600e610c86c9a663127c (patch)
tree42f1de246ae0b8b72e5e896c508ceff896966853 /src
parentfb35b3902f7fa6db2806fc67c37a13bbb8f9b8d8 (diff)
downloadcoinos-ui-6272898b6d6f15e5fd43600e610c86c9a663127c.tar.gz
coinos-ui-6272898b6d6f15e5fd43600e610c86c9a663127c.zip
update chevron icon so it uses currentColor
Diffstat (limited to 'src')
-rw-r--r--src/routes/receive.svelte24
1 files changed, 17 insertions, 7 deletions
diff --git a/src/routes/receive.svelte b/src/routes/receive.svelte
index 92138005..8d0e95fa 100644
--- a/src/routes/receive.svelte
+++ b/src/routes/receive.svelte
@@ -5,7 +5,6 @@
let useFiat = true;
let amountFiat = 0;
let amountSats = 0;
- let deleteActive = false;
const numPad = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '.', '0', '<'];
</script>
@@ -33,12 +32,23 @@
{#if value === '<'}
<button
class="bg-primary rounded-xl py-4 px-8 font-semibold active:bg-black active:text-white"
- on:mousedown={() => (deleteActive = true)}
- on:mouseup={() => (deleteActive = false)}
- ><Icon
- icon={deleteActive ? 'chevron-left-white' : 'chevron-left'}
- style="w-5"
- /></button
+ >
+ <svg
+ class="w-5"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M15 19L8 12L15 5"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg></button
>
{:else}
<button