diff options
| author | Maze <167211895+mazeincoding@users.noreply.github.com> | 2026-01-31 00:20:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-31 00:20:04 +0100 |
| commit | 7bf0984698e43b9aa2dd879f65951318ed410390 (patch) | |
| tree | ccf2cd590a47d550152afc07129cb55c71a9ec35 /apps/web/src/constants/project-constants.ts | |
| parent | 0173db99448d1c4c6415dcf15272e17551b48b04 (diff) | |
| download | opencut-7bf0984698e43b9aa2dd879f65951318ed410390.tar.gz | |
codebase overhaul (#697)
Diffstat (limited to 'apps/web/src/constants/project-constants.ts')
| -rw-r--r-- | apps/web/src/constants/project-constants.ts | 27 |
1 files changed, 27 insertions, 0 deletions
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"; |
