Welcome to Lexington Themes

At Lexington, you’ll find premium themes crafted with Astro JS and Tailwind CSS to support your design, development, business, blog, or personal projects. These themes are flexible, functional, and easy to customize, regardless of your experience level.

Our themes are regularly updated to stay aligned with the latest versions and best practices of Astro JS and Tailwind CSS. They use Alpine JS for interactivity and vanilla JavaScript for more complex components. All themes can also be exported as static HTML files for maximum flexibility.

Quick Start Guide

1. Choose your theme, subscribe or get a Lifetime access license

Browse our collection to find a theme that suits your needs. Each theme includes detailed descriptions and live demos to help you make an informed choice.

2. Access your purchase

After purchasing a theme or Lifetime Access, you can access it through:

Purchase Options:

  • Individual Theme: Download directly after purchase
  • Lifetime Access: Download and/or fork themes with full GitHub access

From your library or dashboard, request access to the themes you want to use and start building.

3. Setup requirements

Before getting started, ensure you have:

  • Node.js v16.12.0 or higher
  • Text editor (VS Code with the official Astro extension recommended)
  • Terminal access for Astro CLI commands

4. Installation

  1. Request access or download the theme on Polar
    If you haven’t done it yet, go to your Library.
    From there you can Fork or Download

  2. Fork or Download

    • Go to the GitHub repo.
    • If you want to customize and keep your own copy, click Fork.
    • If you just want to grab the code, click Download ZIP.
  3. Open the repository page

    • Navigate to the repo on GitHub (e.g., https://github.com/Lexington-Themes/your-theme).
    • On the repo page, locate the green “Code” button (above the file list, top-right).
  4. Open the clone menu See widget below

    • Click the “Code” button.
    • A dropdown will appear, this is the widget shown underneath.
    • Here you’ll see options for Local (default), Codespaces, and tabs for HTTPS / SSH / GitHub CLI.
  1. Copy the HTTPS clone URL
    • In the Local → HTTPS tab, copy the URL. Example:
https://github.com/Lexington-Themes/****.git
  • Use the clipboard icon to copy it quickly.
  1. Clone with Git
    • Open your terminal and run:
git clone https://github.com/Lexington-Themes/your-theme.git
  • Replace the URL with the one you copied.
  1. (Optional) Update all dependencies to their latest versions using npm-check-updates (ncu)

    ncu is a command-line tool that helps you check for newer versions of your npm dependencies and update your package.json accordingly.
    To install npm-check-updates globally, run:

npm install -g npm-check-updates
  1. Install dependencies
npm install
  1. Start the development server
    • Run:
npm run dev
  • This will start Astro (or the framework used by the theme) and open the theme in your browser, in localhost:4321.

Build for Production

To generate a production build, run:

npm run build

The output will be created in the dist/ directory.

To preview the production build locally, run:

npm run preview

Tip: Use npm run preview before deploying to Netlify/Vercel to ensure everything works correctly in the production build.

5. Deploy Your Site

Deploy your theme using popular hosting services:

  • Netlify: Flexible deployment with seamless CI/CD integration
  • Vercel: Quick, free deployment optimized for Astro sites