Brightspot CMS Developer Guide

Styleguide user interface


This section describes Styleguide’s user interface and the associated development tools.


You can view the output of your Styleguide project under the Example tab. This tab provides visual cues that indicate your styling and layout are as expected.

Styleguide preview

If an element is missing from the preview, the corresponding key may be missing from the data file. For additional information, see BEM.


You can view your raw data file under the JSON (Original) tab.

Raw JSON data

For information about creating a data file, see Populating the Styleguide preview.


You can view the processed data file under the JSON (Processed) tab. This tab shows the mock values that Styleguide evaluated for placeholders.

Processed JSON data

See also:


You can determine if Styleguide successfully evaluated your blocks and elements under the BEM tab. Under the Used column, ✗ indicates that Styleguide did not need the provided data when populating the template.

BEM

In the previous illustration, the ✗ indicates the data file defined a field bodyImage, but the template Article.hbs did not use that field.


Styleguide organizes templates based on your project’s directory structure and data file names, and also displays templates similar to the following.

Template listing

Previous Topic
Styleguide development environment
Next Topic
Filters
Was this topic helpful?
Thanks for your feedback.
The elements that get you up and running in a matter of days, from pre-built content types, to modules, to landing pages.

Content types
Modules
Landing pages
Everything you need to manage and administer content within Brightspot CMS, including plug-and-play integrations.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting and administering code on the Brightspot platform, including integrations requiring developer support to use.

Field types
Content modeling
Rich-text elements
Images