-
Theming Quickstart
This is a quick guide to creating a new theme in Vanilla. Prerequisites You must have completed everything described in the Local Setup Quickstart. Creating a Theme Under Construction
-
Theme Boilerplate Overview
Vanilla provides a boilerplate to build custom themes. It contains all files necessary for a theme with customizable styles. Styles are written in SASS and most of it bases itself in SASS variables and inheritance. Variables are carried through sections and components making the final styles flexible but also consistent…
-
Theme Boilerplate Variables & Structure
SCSS Folder Structure Base Styles defining the scaffold of the theme. You can use this folder to import fonts, define typography, mixins. Components Components are self contained pieces of UI. They can be very small, like a breadcrumb or a button. They can also be complex and composed of other components like the Advanced…
-
Theme Hooks
Themes can be imbued with the power of plugins via a special themehooks php file. Using the themehooks file, you can override existing functions in Vanilla, plug in to existing Vanilla events, and set data for your views. Naming To use event hooks in a theme, the theme must have a plugin with a classname ending…