Box of scraps is a WordPress theme scaffold used when building sites @ Linchpin. While it can be used as a stand alone, the team typically utilizes with deploy-scaffold
The best approach is to download the latest release zip as a starting point. The release will have everything you need to get started excluding any composer
or npm
dependencies.
By default, there are only development related composer
dependencies, though you can utilize them as needed.
You can use either yarn
or npm
to install dependencies. Front end css that is not part of the theme.json is
handled by a library called Bulma. All CSS is compiled from SCSS(Sass) files.
The following list of strings need to be replaced when creating your theme based on Box of Scraps
String | Location |
---|---|
box-of-scraps |
Typically used for "domain" for translations |
BoxOfScraps |
NameSpace within PHP files and classes |
BOX_OF_SCRAPS |
Constants within PHP |
boxofscraps |
??? |
Box of Scraps |
Labels and random things |