From 6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 14 Apr 2026 18:17:14 +0200 Subject: refactor: move constants to domain modules --- apps/web/src/lib/background/blur.ts | 10 ++++++++++ apps/web/src/lib/background/color.ts | 1 + apps/web/src/lib/background/constants.ts | 11 ----------- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 apps/web/src/lib/background/blur.ts create mode 100644 apps/web/src/lib/background/color.ts delete mode 100644 apps/web/src/lib/background/constants.ts (limited to 'apps/web/src/lib/background') diff --git a/apps/web/src/lib/background/blur.ts b/apps/web/src/lib/background/blur.ts new file mode 100644 index 00000000..3b111482 --- /dev/null +++ b/apps/web/src/lib/background/blur.ts @@ -0,0 +1,10 @@ +export const BACKGROUND_BLUR_INTENSITY_PRESETS: Array<{ + label: string; + value: number; +}> = [ + { label: "Light", value: 100 }, + { label: "Medium", value: 200 }, + { label: "Heavy", value: 500 }, +] as const; + +export const DEFAULT_BACKGROUND_BLUR_INTENSITY = 10; diff --git a/apps/web/src/lib/background/color.ts b/apps/web/src/lib/background/color.ts new file mode 100644 index 00000000..7b86faf5 --- /dev/null +++ b/apps/web/src/lib/background/color.ts @@ -0,0 +1 @@ +export const DEFAULT_BACKGROUND_COLOR = "#000000"; diff --git a/apps/web/src/lib/background/constants.ts b/apps/web/src/lib/background/constants.ts deleted file mode 100644 index b682c260..00000000 --- a/apps/web/src/lib/background/constants.ts +++ /dev/null @@ -1,11 +0,0 @@ -export const BACKGROUND_BLUR_INTENSITY_PRESETS: Array<{ - label: string; - value: number; -}> = [ - { label: "Light", value: 100 }, - { label: "Medium", value: 200 }, - { label: "Heavy", value: 500 }, -] as const; - -export const DEFAULT_BACKGROUND_BLUR_INTENSITY = 10; -export const DEFAULT_BACKGROUND_COLOR = "#000000"; -- cgit v1.3.1