From d8d848faa96a3f90e4c01c80e5d56c6558b57f5a Mon Sep 17 00:00:00 2001 From: Chris Griffing Date: Tue, 22 Oct 2024 19:24:52 -0700 Subject: [PATCH] fix: update snippet validator --- playgrounds/app/src/lib/validators.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playgrounds/app/src/lib/validators.ts b/playgrounds/app/src/lib/validators.ts index fb5ad6c..cc8ca0c 100644 --- a/playgrounds/app/src/lib/validators.ts +++ b/playgrounds/app/src/lib/validators.ts @@ -15,10 +15,10 @@ export const snippetValidator = z.object({ xPadding: z.number().min(0).max(200), shadowEnabled: z.boolean(), shadowOffsetY: z.number().min(0).max(200), - shadowBlur: z.number().min(1).max(1000), + shadowBlur: z.number().min(1).max(200), shadowColor: z.string().min(1).max(30), shadowOpacity: z.number().min(0).max(1), bgColor: z.string().min(1).max(30), - language: z.string().min(1).max(1000), - theme: z.string().min(1).max(1000), + language: z.string().min(1).max(64), + theme: z.string().min(1).max(64), })