This commit is contained in:
2026-03-22 13:55:23 +08:00
parent c3f196ded4
commit 69099986e0
616 changed files with 38942 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
import { z } from 'zod'
export const appearanceValidator = z.object({
theme: z
.enum(['light', 'dark'], {
error: 'Please select a theme.',
}),
font: z
.enum(['inter', 'manrope', 'system'], {
error: 'Please select a font.',
}),
})
export type AppearanceValidator = z.infer<typeof appearanceValidator>