use ThemeMake\Theme; $theme = new Theme('My New Theme', 'path/to/my/theme'); $theme->create();
use ThemeMake\Theme; $theme = new Theme('My New Theme', 'path/to/my/theme'); $theme->addStylesheet('style.css'); $theme->addScript('script.js');
use ThemeMake\Theme; use ThemeMake\Template; $theme = new Theme('My New Theme', 'path/to/my/theme'); $template = new Template('homepage', 'path/to/my/theme/homepage.php'); $template->setContent('This code creates a new template called 'homepage' and sets its content to 'Welcome to My Site
'); $theme->addTemplate($template);