Skip to content

radishzzz/astro-theme-retypeset

Repository files navigation

Retypeset

Cover Image

Cover Image

简体中文繁体中文日本語EspañolFrançaisРусский

Retypeset is a static blog theme based on the Astro framework. Inspired by Typography, Retypeset establishes a new visual standard and reimagines the layout of all pages, creating a reading experience reminiscent of paper books, reviving the beauty of typography. Details in every sight, elegance in every space.

Demo

Features

  • Built with Astro and UnoCSS
  • Support for SEO, Sitemap, OpenGraph, TOC, RSS, MDX and LaTeX
  • i18n support
  • Light / Dark mode
  • Elegant view transitions
  • Rich theme customization
  • Optimized typography
  • Responsive design
  • Comment system

Performance


Retypeset Lighthouse Score

Getting Started

  1. Fork this repository, or use this template to create a new repository.

  2. Run the following commands in your terminal:

    # Clone the repository
    git clone <repository-url>
    
    # Navigate to the project directory
    cd <repository-name>
    
    # Install pnpm globally (if not already installed)
    npm install -g pnpm
    
    # Install dependencies
    pnpm install
    
    # Start the development server
    pnpm dev
  3. Refer to the Theme Guide to customize your blog and create new articles.

  4. Refer to the Astro Deployment Guides to deploy your blog to Netlify, Vercel, or other platforms.

Deploy to Netlify Deploy to Vercel

Updates

Retypeset releases new features from time to time. Simply run pnpm update-theme to update the theme. If you encounter merge conflicts, please refer to this video for manual resolution.

Credits

Star History

Star History Chart