summaryrefslogtreecommitdiff
path: root/apps/web/src/text/background.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-29 01:59:46 +0200
committerMaze Winther <mazewinther@gmail.com>2026-05-02 03:27:23 +0200
commitb8d08df244b97b1d3131cb2d076166838189eeb0 (patch)
tree01f8ea0ce75c5a8b73e4b8d64c5456f40a2ff142 /apps/web/src/text/background.ts
parent2ee0a44735d2b930348e9774909638b2c1909738 (diff)
downloadopencut-b8d08df244b97b1d3131cb2d076166838189eeb0.tar.gz
chore: cleanup
Diffstat (limited to 'apps/web/src/text/background.ts')
-rw-r--r--apps/web/src/text/background.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/web/src/text/background.ts b/apps/web/src/text/background.ts
index be5ab6f5..baa67a52 100644
--- a/apps/web/src/text/background.ts
+++ b/apps/web/src/text/background.ts
@@ -1,2 +1,12 @@
export const CORNER_RADIUS_MIN = 0;
export const CORNER_RADIUS_MAX = 100;
+
+export interface TextBackground {
+ enabled: boolean;
+ color: string;
+ cornerRadius?: number;
+ paddingX?: number;
+ paddingY?: number;
+ offsetX?: number;
+ offsetY?: number;
+}