UNPKG

rynex

Version:

A minimalist TypeScript framework for building reactive web applications with no virtual DOM

62 lines 2.3 kB
/** * Rynex Project Templates * Template generators for different project types */ export interface TemplateConfig { projectName: string; useTypeScript: boolean; template: 'empty' | 'minimal' | 'routed'; } /** * Package.json template */ export declare const packageJson: (config: TemplateConfig) => string; /** * Rynex config */ export declare const rynexConfig: (config: TemplateConfig) => string; /** * TypeScript config */ export declare const tsConfig: () => string; /** * README template */ export declare const readme: (config: TemplateConfig) => string; /** * HTML template */ export declare const html: (config: TemplateConfig) => string; /** * CSS template */ export declare const css: (config: TemplateConfig) => "/* Global styles */\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n}" | "/* Global styles */\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n background: #000000;\n color: #ffffff;\n}\n\nh1, h2, h3, h4, h5, h6 {\n font-family: 'Montserrat', sans-serif;\n}\n\n#root {\n min-height: 100vh;\n}\n\n/* Navigation styles */\n.nav-link {\n transition: all 0.2s ease-in-out;\n}\n\n.nav-link:hover {\n background: rgba(255, 255, 255, 0.1);\n}\n\n.nav-link.active {\n background: rgba(0, 255, 136, 0.2);\n color: #00ff88 !important;\n font-weight: 600;\n}"; /** * Entry point template */ export declare const indexFile: (config: TemplateConfig) => string; /** * Empty App template */ export declare const emptyApp: (config: TemplateConfig) => string; /** * Minimal App template (single page with styling) */ export declare const minimalApp: (config: TemplateConfig) => string; /** * Routed App template */ export declare const routedApp: (config: TemplateConfig) => string; /** * Home page template */ export declare const homePage: (config: TemplateConfig) => string; /** * About page template */ export declare const aboutPage: (config: TemplateConfig) => string; /** * Blog page template */ export declare const blogPage: (config: TemplateConfig) => string; //# sourceMappingURL=templates.d.ts.map