From bdfcdcc15b8c8a1d4505cc636604609f9b952e07 Mon Sep 17 00:00:00 2001 From: rasmusq Date: Fri, 19 Dec 2025 22:34:23 +0100 Subject: [PATCH] add: snow theme --- .../themes/svgs/BottomPattern.svelte | 10 +- .../components/themes/svgs/CardPattern.svelte | 11 +- .../components/themes/svgs/TopPattern.svelte | 9 +- src/lib/utils/themes.ts | 14 +- static/themes/dots/bgbottom.svg | 1 - static/themes/dots/bgtop.svg | 1 - static/themes/dots/item.svg | 1 - static/themes/geometric/bgbottom.svg | 1 - static/themes/geometric/bgtop.svg | 1 - static/themes/geometric/item.svg | 1 - static/themes/snow/bgbottom.svg | 2782 ++++++++++++++++ static/themes/snow/bgtop.svg | 2783 +++++++++++++++++ static/themes/snow/item.svg | 1695 ++++++++++ static/themes/waves/bgbottom.svg | 1 - static/themes/waves/bgtop.svg | 1 - static/themes/waves/item.svg | 1 - 16 files changed, 7275 insertions(+), 38 deletions(-) delete mode 100644 static/themes/dots/bgbottom.svg delete mode 100644 static/themes/dots/bgtop.svg delete mode 100644 static/themes/dots/item.svg delete mode 100644 static/themes/geometric/bgbottom.svg delete mode 100644 static/themes/geometric/bgtop.svg delete mode 100644 static/themes/geometric/item.svg create mode 100644 static/themes/snow/bgbottom.svg create mode 100644 static/themes/snow/bgtop.svg create mode 100644 static/themes/snow/item.svg delete mode 100644 static/themes/waves/bgbottom.svg delete mode 100644 static/themes/waves/bgtop.svg delete mode 100644 static/themes/waves/item.svg diff --git a/src/lib/components/themes/svgs/BottomPattern.svelte b/src/lib/components/themes/svgs/BottomPattern.svelte index 3459dd3..2a8c5aa 100644 --- a/src/lib/components/themes/svgs/BottomPattern.svelte +++ b/src/lib/components/themes/svgs/BottomPattern.svelte @@ -16,17 +16,15 @@ {#if pattern !== 'none'}
{/if} diff --git a/src/lib/components/themes/svgs/CardPattern.svelte b/src/lib/components/themes/svgs/CardPattern.svelte index 52dc17c..f378160 100644 --- a/src/lib/components/themes/svgs/CardPattern.svelte +++ b/src/lib/components/themes/svgs/CardPattern.svelte @@ -16,18 +16,15 @@ {#if pattern !== 'none'}
{/if} diff --git a/src/lib/components/themes/svgs/TopPattern.svelte b/src/lib/components/themes/svgs/TopPattern.svelte index 87524a2..b42c9f6 100644 --- a/src/lib/components/themes/svgs/TopPattern.svelte +++ b/src/lib/components/themes/svgs/TopPattern.svelte @@ -16,17 +16,16 @@ {#if pattern !== 'none'}
{/if} diff --git a/src/lib/utils/themes.ts b/src/lib/utils/themes.ts index f938f41..5cbe2c5 100644 --- a/src/lib/utils/themes.ts +++ b/src/lib/utils/themes.ts @@ -1,6 +1,6 @@ import { themeStore } from '$lib/stores/theme.svelte'; -export type ThemePattern = 'waves' | 'geometric' | 'dots' | 'none'; +export type ThemePattern = 'snow' | 'none'; export interface Theme { name: string; @@ -13,16 +13,8 @@ export const AVAILABLE_THEMES: Record = { pattern: 'none' }, waves: { - name: 'Waves', - pattern: 'waves' - }, - geometric: { - name: 'Geometric', - pattern: 'geometric' - }, - dots: { - name: 'Dots', - pattern: 'dots' + name: 'Snow', + pattern: 'snow' } }; diff --git a/static/themes/dots/bgbottom.svg b/static/themes/dots/bgbottom.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/dots/bgbottom.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/dots/bgtop.svg b/static/themes/dots/bgtop.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/dots/bgtop.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/dots/item.svg b/static/themes/dots/item.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/dots/item.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/geometric/bgbottom.svg b/static/themes/geometric/bgbottom.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/geometric/bgbottom.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/geometric/bgtop.svg b/static/themes/geometric/bgtop.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/geometric/bgtop.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/geometric/item.svg b/static/themes/geometric/item.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/geometric/item.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/snow/bgbottom.svg b/static/themes/snow/bgbottom.svg new file mode 100644 index 0000000..6fe2abd --- /dev/null +++ b/static/themes/snow/bgbottom.svg @@ -0,0 +1,2782 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/themes/snow/bgtop.svg b/static/themes/snow/bgtop.svg new file mode 100644 index 0000000..450970b --- /dev/null +++ b/static/themes/snow/bgtop.svg @@ -0,0 +1,2783 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/themes/snow/item.svg b/static/themes/snow/item.svg new file mode 100644 index 0000000..41bbeaf --- /dev/null +++ b/static/themes/snow/item.svg @@ -0,0 +1,1695 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/themes/waves/bgbottom.svg b/static/themes/waves/bgbottom.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/waves/bgbottom.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/waves/bgtop.svg b/static/themes/waves/bgtop.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/waves/bgtop.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/themes/waves/item.svg b/static/themes/waves/item.svg deleted file mode 100644 index 455daf8..0000000 --- a/static/themes/waves/item.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file