A customized Shopify Horizon theme with Tailwind CSS and GSAP for the Startify Agency.
- Horizon Theme: Shopify's latest modular, block-based theme
- Tailwind CSS: Utility-first CSS framework with
tw-prefix to avoid conflicts - GSAP: Professional-grade animation library with ScrollTrigger
- Custom Typography: Neue Montreal font family integrated
- Development Workflow: Automated build process with hot reloading
- Node.js (v16 or higher)
- npm or yarn
- Shopify CLI
- Install dependencies:
npm install- Start the development server:
npm run devThis will:
- Start the Shopify theme development server
- Watch and compile Tailwind CSS
- Bundle JavaScript with GSAP
- Enable hot reloading
npm run dev- Start development server with all watchersnpm run build- Build production-ready assetsnpm run push- Push theme to Shopify storenpm run pull- Pull latest theme from Shopify store
startify-horizon/
├── src/ # Source files
│ ├── styles/ # Tailwind CSS source
│ │ └── main.css # Main CSS file
│ ├── scripts/ # JavaScript source
│ │ └── main.js # Main JS with GSAP
│ └── components/ # Reusable components
├── assets/ # Compiled assets (git ignored)
│ ├── tailwind.css # Compiled Tailwind
│ ├── bundle.js # Compiled JavaScript
│ └── custom.css # Custom typography styles
├── sections/ # Shopify sections
├── blocks/ # Shopify blocks
├── snippets/ # Shopify snippets
├── templates/ # Shopify templates
└── layout/ # Shopify layouts
All Tailwind classes are prefixed with tw- to avoid conflicts with Shopify's styles.
<!-- Example usage in Liquid templates -->
<div class="tw-container-wide tw-section">
<h2 class="tw-text-3xl tw-font-medium tw-mb-8">{{ section.settings.title }}</h2>
<div class="tw-product-grid">
<!-- Product cards -->
</div>
</div>GSAP is available globally. Use data attributes or classes for animations:
<!-- Fade in animation -->
<div class="tw-gsap-fade">Content fades in on scroll</div>
<!-- Slide up animation -->
<div class="tw-gsap-slide-up">Content slides up on scroll</div>
<!-- Stagger children animations -->
<div data-gsap-stagger>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
</div>
<!-- Hero animations -->
<section data-hero>
<h1 data-hero-title>Hero Title</h1>
<p data-hero-subtitle>Hero Subtitle</p>
<a data-hero-cta href="#">Call to Action</a>
</section>The theme includes:
- Neue Montreal font (Regular & Medium weights)
- Custom CSS variables mapped to Shopify's theme settings
- Utility classes for common patterns
- Responsive breakpoints matching Shopify's defaults
- Hot Reloading: Changes to CSS and JS are automatically compiled and reloaded
- Theme Editor: The setup works seamlessly with Shopify's theme editor
- Performance: Assets are minified in production builds
- Prefixing: Always use
tw-prefix for Tailwind classes
- Store: 0b9748-bf.myshopify.com
- Theme: Horizon v1.0.1
For questions or issues, contact the Startify Agency development team.