Skip to content

Releases: HubSpot/cms-theme-boilerplate

Boilerplate v1.2.2

08 May 19:29
5980903
Compare
Choose a tag to compare

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

04 May 14:29
1460e4c
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 #148 Updated the theme fields.json file to fix font sizes referenced in theme-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

24 Apr 21:29
662b94b
Compare
Choose a tag to compare

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 in theme-overrides.css, and reorganized CSS partials to follow a version of ITCSS folder structure.
  • 🚀 #133 Updated theme fields.json files and theme-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 from main.css

Contributors

Boilerplate v1.1.0

14 Apr 16:18
03d4a26
Compare
Choose a tag to compare

Feature Enhancements

  • 🚀 #84 Added membership templates
  • 🚀 #85 Added max-width to footer container
  • 🚀 #86 Organized meta.json on modules
  • 🚀 #88, #105, #107 Added style guide for the boilerplate
  • 🚀 #95 Updated password prompt template to include header and additional styles

Bug Fixes

  • 🐛 #90, #99, #100 Updated dependencies
  • 🐛 #96 Fixed module references in templates after change to kebab casing for module folders
  • 🐛 #101 Fixed form submit button wrapping

Boilerplate v1.0.0

06 Mar 20:54
0bba5ec
Compare
Choose a tag to compare

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

28 Jan 15:43
9b22512
Compare
Choose a tag to compare

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.