HubSpot / cms-theme-boilerplate

A straight-forward starting point for building a great website on the HubSpot CMS
https://boilerplate.hubspotcms.com
Other
355 stars 355 forks source link

Adding theme editor field highlighting #502

Open jasonnrosa opened 6 months ago

jasonnrosa commented 6 months ago

Types of change

Description

This adds the theme editor field highlighting feature to the boilerplate. This feature allows developers to attach selectors to their theme settings so that the theme setting highlights those elements when a user edits their theme settings (more information here). To do this, I used the built-in script that is noted in the documentation and then cleaned things up a bit manually based on some testing in the theme editor.

Relevant links

Fixes #501

Checklist

People to notify CC: @TheWebTech and @ajlaporte