@codewithdan/ai-repo-adventure-generator
Version:
Generate beautiful HTML adventure websites from your codebase
32 lines • 927 B
TypeScript
import { AdventureTheme } from '@ai-repo-adventures/core';
/**
* Handles theme selection and CSS generation
*/
export declare class ThemeManager {
private readonly themesDir;
constructor(themesDir: string);
/**
* Parse theme argument from command line
*/
parseThemeArg(themeArg: string): AdventureTheme | 'all' | null;
/**
* Check if theme uses light background (needs dark logo)
*/
isLightTheme(theme: AdventureTheme): boolean;
/**
* Get appropriate GitHub logo path based on theme
*/
getGitHubLogo(theme: AdventureTheme): string;
/**
* Generate combined CSS for a theme
*/
generateThemeCSS(theme: AdventureTheme, outputDir: string): void;
/**
* Get theme-specific icons for templates
*/
getThemeIcons(theme: AdventureTheme): {
theme: string;
quest: string;
};
}
//# sourceMappingURL=theme-manager.d.ts.map