src/renderer/types/fonts.ts
Rama main · réplica de lectura del repositorio original.
import { z } from 'zod';
export type Font = {
label: string;
value: string;
};
export const FONT_OPTIONS: Font[] = [
{ label: 'Archivo', value: 'Archivo' },
{ label: 'Office Code Pro', value: 'OfficeCodePro' },
{ label: 'Inter', value: 'Inter' },
{ label: 'Poppins', value: 'Poppins' },
];
export const FontValueSchema = z.enum(
FONT_OPTIONS.map((option) => option.value) as [string, ...string[]],
);