Files
kit-ui/types/ascii.ts

28 lines
635 B
TypeScript

export interface ASCIIFont {
name: string;
fileName: string;
path: string;
}
export interface ASCIIOptions {
font?: string;
horizontalLayout?: 'default' | 'fitted' | 'full' | 'controlled smushing' | 'universal smushing';
verticalLayout?: 'default' | 'fitted' | 'full' | 'controlled smushing' | 'universal smushing';
width?: number;
whitespaceBreak?: boolean;
}
export interface ConversionResult {
text: string;
font: string;
result: string;
timestamp: number;
}
export interface UserPreferences {
theme: 'light' | 'dark' | 'system';
defaultFont: string;
recentFonts: string[];
favorites: string[];
}