From 7bf0984698e43b9aa2dd879f65951318ed410390 Mon Sep 17 00:00:00 2001 From: Maze <167211895+mazeincoding@users.noreply.github.com> Date: Sat, 31 Jan 2026 00:20:04 +0100 Subject: codebase overhaul (#697) --- apps/web/src/constants/project-constants.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 apps/web/src/constants/project-constants.ts (limited to 'apps/web/src/constants/project-constants.ts') diff --git a/apps/web/src/constants/project-constants.ts b/apps/web/src/constants/project-constants.ts new file mode 100644 index 00000000..7e3f06b6 --- /dev/null +++ b/apps/web/src/constants/project-constants.ts @@ -0,0 +1,27 @@ +import type { TCanvasSize } from "@/types/project"; + +export const DEFAULT_CANVAS_PRESETS: TCanvasSize[] = [ + { width: 1920, height: 1080 }, + { width: 1080, height: 1920 }, + { width: 1080, height: 1080 }, + { width: 1440, height: 1080 }, +]; + +export const FPS_PRESETS = [ + { value: "24", label: "24 fps" }, + { value: "25", label: "25 fps" }, + { value: "30", label: "30 fps" }, + { value: "60", label: "60 fps" }, + { value: "120", label: "120 fps" }, +] as const; + +export const BLUR_INTENSITY_PRESETS: { label: string; value: number }[] = [ + { label: "Light", value: 4 }, + { label: "Medium", value: 8 }, + { label: "Heavy", value: 18 }, +] as const; + +export const DEFAULT_CANVAS_SIZE: TCanvasSize = { width: 1920, height: 1080 }; +export const DEFAULT_FPS = 30; +export const DEFAULT_BLUR_INTENSITY = 8; +export const DEFAULT_COLOR = "#000000"; -- cgit v1.3.1