theme.json file contains metadata about your FreshJuice DEV theme, including theme information, responsive breakpoints, and preview settings.
File Location
Complete Structure
theme.json
Field Reference
Theme Information
The display name of the theme shown in the HubSpot design manager.Default:
"FreshJuice DEV"The current version of the theme following Semantic Versioning.Format:
MAJOR.MINOR.PATCHExample: "3.0.0"This version is automatically updated when you run
npm run version:patch, npm run version:minor, or npm run version:major.The license under which the theme is distributed.Default:
"MIT"Author Information
Information about the theme author.
URLs
Link to the theme documentation. This appears in the HubSpot design manager.Default:
"https://github.com/freshjuice-dev/freshjuice-dev-hubspot-theme"Link to a live demo site using this theme.
Preview Configuration
The default template to display when previewing the theme in the design manager.Default:
"./templates/home.html"Path Format: Relative to the theme root directoryPath to the theme screenshot image displayed in the theme marketplace and design manager.Default:
"./images/template-previews/blog-index.png"Recommended Size: 1200x900 pixels (4:3 aspect ratio)Styling Options
Whether to enable domain-specific stylesheets.Default:
falseWhen enabled, you can create separate CSS files for different domains using the same theme. This is useful for white-label implementations.
Responsive Breakpoints
Defines responsive breakpoints for preview mode in the HubSpot page editor.
Default Breakpoint
FreshJuice DEV includes one responsive breakpoint by default:| Name | Media Query | Preview Width |
|---|---|---|
| mobile | @media (max-width: 767px) | 375px |
md: breakpoint (768px).
Adding Custom Breakpoints
To add additional breakpoints (e.g., tablet, desktop), extend theresponsive_breakpoints array:
Version Management
Theversion field is automatically synchronized with package.json when you run version bump scripts:
Related Configuration
Theme Fields
Global color, font, and style configuration
Version Management
Guide to managing theme versions