Skinning guide - johnnycharlesw/phpizza GitHub Wiki

What is a skin?

A skin is a package of layout markup that defines to PHPizza how your site should look and feel.

How to make a PHPizza skin

Follow these instructions, swapping "skinname" for the name of your skin

  1. Create a new GitHub repo called "phpizza-skins-skinname"
gh repo create phpizza-skins-skinname
  1. Submodule it into /skins/skinname via Git:
git submodule add https://github.com/yourusername/phpizza-skins-skinname skins/skinname
  1. Copy the files of this repository from /skins/PHPizza into /skins/skinname
cp -r skins/PHPizza/* skins/skinname/
  1. Edit the Markdown and SCSS files to change the look of your website after setting $skinName to "skinname" in config.php
codium skins/skinname

What is SCSS?

SCSS is a preprocessor language over CSS which allows for scripting. Always remember, when writing SCSS, DRY (Don't Repeat Yourself).