Revive the beauty of typography. https://retypeset.radishzz.cc/en/
Find a file
radishzzz a5839a2dd1 style: update various code copy button and toc styles
- Removed the old copy-action SVG icon and replaced it with a new copy-button SVG icon.
- Added a new copy-success SVG icon for visual feedback on copy actions.
- Updated Waline component comments for clarity and improved code readability.
- Enhanced BackButton component with fallback navigation to homepage.
- Improved CodeCopyButton component by refining icon handling and timeout management.
- Adjusted GithubCard component's intersection observer root margin for better visibility.
- Updated GsapAnimation component variable names for consistency and clarity.
- Removed unnecessary styles from PhotoSwipe component.
- Modified TOC component styles for better spacing and layout.
- Updated multiple theme guide markdown files to correct image hosting URL comments.
- Cleaned up extend.css by removing commented-out styles and organizing code.
- Added PhotoSwipe background color and KaTeX overflow fixes to global.css.
- Enhanced markdown.css with video styling for better responsiveness.
- Improved transition.css comments for better understanding of GSAP animation states.
2025-05-27 12:45:30 +01:00
.github/ISSUE_TEMPLATE 🚀 perf: use native scrollbar instead of overlayscrollbars, switch waline to cdn import 2025-05-15 20:23:32 +01:00
.vscode refactor: replace css fade animations with gsap, optimize post page animations and mobile responsiveness 2025-05-18 16:03:17 +01:00
images fix: image relative path in rss feed, modify the path of the local images 2025-05-10 21:59:45 +01:00
public chore: delete unicode_range.py 2025-05-26 12:38:18 +01:00
src style: update various code copy button and toc styles 2025-05-27 12:45:30 +01:00
.editorconfig chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
.gitignore chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
astro.config.ts feat: add code copy cutton 2025-05-27 01:37:19 +01:00
eslint.config.mjs chore: update ts-uno-eslint configuration 2025-01-13 04:23:37 +00:00
LICENSE Create LICENSE 2025-03-17 00:42:33 +00:00
package.json style: update various code copy button and toc styles 2025-05-27 12:45:30 +01:00
pnpm-lock.yaml style: update various code copy button and toc styles 2025-05-27 12:45:30 +01:00
README.md docs: update theme guide and readme 2025-05-26 01:07:47 +01:00
README.zh.md docs: update theme guide and readme 2025-05-26 01:07:47 +01:00
tsconfig.json chore: update dependencies, enhance theme configuration, and improve layout structure 2025-01-21 21:21:24 +00:00
uno.config.ts chore: update font subset list 2025-05-25 15:53:18 +01:00

Cover Image Cover Image

Retypeset

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. You can refer to the GitHub Docs and run Sync fork in your repository to sync with the latest branch. Do not click Discard Changes, or you will lose your modifications.

Credits

Star History

Star History Chart