Taking your first steps in rapid front-end development with Styleguide

Customizing a theme is a big part of front-end development. To facilitate that development, Brightspot provides Styleguide, a webpack-based application that previews a theme with mock text and images. With Styleguide you can immediately evaluate any change by reloading the browser page.

example of a customized list shown in the Brightspot CMS Styleguide

In a coupled deployment, Brightspot provides both the back end and the front end. At run time, Brightspot retrieves text and images from the database, and injects those assets into templates. Those populated templates are delivered to the browser along with CSS styling. The combination of templates and styling is called a theme.

Brightspot’s standard edition comes with a comprehensive theme that attractively renders the most popular content types in electronic publishing. You can easily customize the included theme to deliver your site’s individual look and feel. In addition, publishers can extend the theme to render assets with layouts that range from sparse to jazzy.

The process of customizing a theme is a big part of front-end development. To facilitate that development, Brightspot provides Styleguide, a webpack-based application that previews a theme with mock text and images. As you save your source files, Styleguide’s hot reload rebuilds the preview, so you can immediately evaluate any change by reloading the browser page.

The first step in developing with Styleguide is to go through a short beginner’s tutorial. This tutorial takes you through the two-step installation process, bringing up Styleguide in your browser, and exporting the theme into a zip file that admins install into Brightspot.

Styleguide decouples front-end development from back-end development, so front-end developers can independently code templates and style sheets. Because this activity occurs in parallel with back-end development, the time required to deploy an actual site is minimal.

In a coupled front-end/back-end environment, Brightspot provides the theme to render assets. Themes are a set of Handlebars, JSON, and Less files that Brightspot uses at build or run time.

Mark is Director, Digital Content at Brightspot. When he’s not gleaning insights from various developers from the company, he spends his time cooking new dishes at home with his wife and two hyperactive cats.
Explore our CMS guides
Explore our CMS architecture guide to understand the differences between coupled CMS, decoupled CMS and headless CMS, as well as the pros and cons for each.
Take the guesswork out of finding the right content management system for your needs with our guide to choosing the right CMS.
Digital transformation refers to the use of technology to create new or improved processes and customer experiences to drive better business outcomes. Learn more here.
A digital asset management (DAM) system helps organizations and publishers manage and access all of their digital assets in one centralized place. Learn more in our guide.