Please note: serverless functions are only available in CMS HubEnterprise.
HubSpot default themes and assets are stored in a read-only folder in the developer file system. These assets are now accessible through the Design Manager and CMS CLI.
How do I use these new features?
To create themes and serverless functions within the Design Manager, in the finder select File, then New Theme or New Function. You will be shown a prompt based on your choice.
When creating a theme in the Design Manager, choose your preferred starting point:
"Blank theme" will generate just the required fields.json and theme.json files needed to create a theme. Select this option if you’re familiar with themes, templates, modules, and prefer to start fresh.
"From boilerplate" will generate all the files found in the latest version of the CMS Theme Boilerplate, giving you a large head start on building a functional website. This is equivalent to using the hs create website-theme command in the CMS CLI.
HubSpot provides a set of default themes and modules that you can use either as is or clone and edit. These assets are stored within the read-only @hubspot folder. This folder is accessible both in the Design Manager's Finder, and through the CLI using fetch.
To clone themes, modules, and files from that folder to another directory in the Design Manager, right click the asset in the finder and select clone. This is equivalent to using the CMS CLI to fetch the assets and upload to a location outside of the @hubspot folder. Once you've done that the clone will be available to choose in page creation/editing.
See our default themes page for details on each of the themes available by default.
When is this happening?
This is available to start using today (July 8th, 2020) in the Design Manager.
No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.