From 71dd5b6285bf0efb814e173115c0640827c1f7f9 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 31 Jan 2026 10:56:29 +0100 Subject: [PATCH] rosary: stylized StreakCounter dependant on length --- src/lib/components/StreakAura.svelte | 370 ++++++++++++++++++++++++ src/lib/components/StreakCounter.svelte | 13 +- 2 files changed, 374 insertions(+), 9 deletions(-) create mode 100644 src/lib/components/StreakAura.svelte diff --git a/src/lib/components/StreakAura.svelte b/src/lib/components/StreakAura.svelte new file mode 100644 index 0000000..5f2530a --- /dev/null +++ b/src/lib/components/StreakAura.svelte @@ -0,0 +1,370 @@ + + +
=3}> + {#if phase >= 5} +
+ + + + + + +
+
+ + + + + +
+{/if} + {#if phase >= 4} +
+ {/if} + + {#if phase >= 2} +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {/if} + + {value} +
+ + diff --git a/src/lib/components/StreakCounter.svelte b/src/lib/components/StreakCounter.svelte index faeab85..8a99435 100644 --- a/src/lib/components/StreakCounter.svelte +++ b/src/lib/components/StreakCounter.svelte @@ -1,6 +1,8 @@