Skip to content

lynton-hubspot/spark-premium

Spark Premium HubSpot Theme

Note: This repository is provided "as-is" for the community. LyntonWeb is not actively maintaining this repository or reviewing Issues/Pull Requests. You are highly encouraged to fork this repository and modify it for your own needs!

Spark Premium is a free, open-source HubSpot CMS Theme developed by LyntonWeb. It provides a solid, flexible foundation for building modern and robust websites on the HubSpot platform.

Features

  • Fully compatible with HubSpot's Drag and Drop functionality
  • Accessible & SEO-friendly markup
  • Highly customizable theme settings
  • Modular components and reusable sections

Installation

Method 1: Using HubSpot CLI (Recommended)

You can deploy this theme directly to your portal using the HubSpot Local Development CLI.

  1. Install the CLI if you haven't already:
    npm install -g @hubspot/cli
  2. Clone this repository:
    git clone https://github.com/lyntonweb/spark-premium.git
    cd spark-premium
  3. Authenticate with your HubSpot portal:
    hs auth
  4. Upload the theme:
    hs upload theme spark-premium

Method 2: GitHub Integration

You can also sync this repository directly to your HubSpot portal using the HubSpot GitHub App Integration. This approach allows for automatic syncing when changes are pushed to your repository.

Local Development Workflow

If you would like to develop locally, this repository comes with an integrated build pipeline using Node.js, Yarn, and Gulp.

  1. Ensure you have Node.js and Yarn installed.
  2. Run yarn (or npm install) to install dependencies.
  3. Configure your $portal-id and other variables in the src/scss/variables directory.
  4. Run yarn watch or gulp to watch for local changes. Compiled files will appear in the dist/theme folder.
  5. You can use the HubSpot CLI hs watch command in parallel to push your built assets to your sandbox portal.

Extending the Theme

This theme supports local processing for module CSS/JS:

  • module.scss compiles to module.css
  • module.src.js compiles to module.js
  • Vue files in src/vue-components compile down to raw JS components.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors