Skip to content

Commit

Permalink
fix: update snippet validator
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Oct 23, 2024
1 parent 3144b5e commit d8d848f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playgrounds/app/src/lib/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
})

0 comments on commit d8d848f

Please sign in to comment.