Releases: HubSpot/cms-theme-boilerplate
Boilerplate v1.2.2
Bug Fixes
- 🐛 #152 Removed line height from the header search field as it was causing spacing issues in Safari.
- 🐛 #153 Updated menu to support the target="_blank" for menu item links in the menu module (more information on menu variables and node.linkTarget can be found here: https://designers.hubspot.com/docs/hubl/variables#menu-node-variables).
- 🐛 #154 Removed the parameter of
locked: true
on the menu field on the menu. We wanted the menu field to be editable in content editors so we removed this parameter so it was set to false (the default for that field).
Boilerplate v1.2.1
Bug Fixes
- 🐛 #148 Updated the theme
fields.json
file to fix font sizes referenced intheme-overrides.css
. Previously font size was not being pulled in properly (showing the CSS as something like this:font-size: {units=px, value=24}px;
because size was being called in using an object:
"size": {
"units": "px",
"value": 50
}
rather than two separate fields:
"size": 50,
"size_unit": "px"
and the theme-overrides.css
file was pulling in those styles using something like:
font-size: {{ theme.typography.heading_one.size }} {{ theme.typography.heading_one.size_unit }};
In summary: size was previously pulling in an object with size units and values instead of using two different fields for size and size_unit.
Boilerplate v1.2.0
Feature Enhancements
- 🚀 #104 Added a comment about h1 heading in
home.html
for SEO context - 🚀 #112, #113 Updated modules to meet style guide requirements
- 🚀 #115 Removed use of
hs-
class usage for button module - 🚀 #116, #117, #119 Updated templates to meet style guide requirements and added comments in templates to make it easier to use
- 🚀 #120 Updated style-sheets to meet style guide requirements, removed use of variables in
main.css
in favor of theme variables intheme-overrides.css
, and reorganized CSS partials to follow a version of ITCSS folder structure. - 🚀 #133 Updated theme
fields.json
files andtheme-overrides.css
files to meet style guide requirements - 🚀 #136 Updated JS files to meet style guide requirements and added polyFill for NodeList forEach to support IE
- 🚀 #137 Added template and theme screenshots which are displayed when choosing which template to use when creating a new page
Bug Fixes
- 🐛 #102 Updated menu dropdown border
- 🐛 #122 Fixed issue with screenshot path when updating template file names
- 🐛 #135 Removed unneeded
home.css
file frommain.css
Contributors
- John Fuller - thank you for the polyFill suggestion!
Boilerplate v1.1.0
Boilerplate v1.0.0
Boilerplate v1.0.0 - Add theme functionality
Overview
This release of the HubSpot CMS Boilerplate supports functionality for Themes. This zip contains all fo the files necessary for local development and development with the HubSpot design tools. To learn more about themes please see the CMS Themes: Reference Documentation.
New Features
Themes differentiate from the previous release of the CMS Boilerplate as they enable developers to create a set of Theme Fields, similar to Module Fields, which allow content creators to tweak various knobs and dials designed by a developer to allow global stylistic control over a website without having to edit CSS. The 3 files that distinguish a theme from a template pack are:
- theme.json which indicates that the project is a HubSpot Theme.
- fields.json controls the available fields in the theme editor sidebar.
- theme-overrides.css is a stylesheet where all theme field object parameters are used to render the theme field style.
Boilerplate v0.1
This is the first official release of the HubSpot CMS Boilerplate. This zip contains all of the files necessary for local development and development with the HubSpot design tools.