Skip to content
HomePagesHomePages template kit

FontTokenSchema

A `fonts` token: a raw CSS stack, or an entry the kit compiles into faces + a stack.

A fonts token: a raw CSS stack, or an entry the kit compiles into faces + a stack.

Import from @homepages/template-kit.

const FontTokenSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{ family: z.ZodString; fallback: z.ZodEnum<{ "sans-serif": "sans-serif"; serif: "serif"; monospace: "monospace"; }>; files: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{ src: z.ZodString; weight: z.ZodString; style: z.ZodOptional<z.ZodEnum<{ normal: "normal"; italic: "italic"; }>>; subset: z.ZodOptional<z.ZodEnum<{ latin: "latin"; "latin-ext": "latin-ext"; cyrillic: "cyrillic"; "cyrillic-ext": "cyrillic-ext"; greek: "greek"; "greek-ext": "greek-ext"; vietnamese: "vietnamese"; }>>; }, z.core.$strict>>>>; href: z.ZodOptional<z.ZodString>; }, z.core.$strict>]>