-
Theme Variable Documentation
Documentation is generated by using either the yarn build:variable-docs or the yarn build command. Output is in /dist/variable-schema.json and is a JSON schema for a flat variable structure. Usage Documentation lives inline in the code as docblocks around the variables. Technically the docblocks could be anywhere in any…
-
Adding a customizable Widget to the Theme Editor
This guide will help us through the process of adding a section in the theme editor to style a component. In this example we will be implementing customizable Discussion Lists. Prerequisites You will need: A react component to customize (in this case, the DiscussionList) Theme variables used for styling the component (make…