.github/ISSUE_TEMPLATE | ||
.vscode | ||
assets | ||
public | ||
src | ||
.editorconfig | ||
.gitignore | ||
astro.config.ts | ||
eslint.config.mjs | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
README.zh.md | ||
tsconfig.json | ||
uno.config.ts |


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 KaTeX
- i18n support
- Light / Dark mode
- Elegant view transitions
- Rich theme customization
- Optimized typography
- Responsive design
- Comment system
Performance
Usage
-
Fork
this repository, or use this template to create a new repository. -
In your forked repository, click the
Code
button, copy theHTTPS
repository URL, and run the following commands in your terminal:# Clone the remote repository to your local machine git clone repository-url # Navigate to the repository directory cd repository-name # Install pnpm globally (if not already installed) npm install -g pnpm # Install project dependencies pnpm install # Start the local development server pnpm dev
-
Open http://localhost:4321/ in your browser to preview the theme in real-time.
-
Modify the theme configuration file src/config.ts to customize your blog.
-
Commit and push your changes to the remote repository.
Documentation
Deploy
- Click
Deploy to Netlify
orDeploy to Vercel
below.
-
Follow the instructions, select your repository, and click
Deploy
to start deployment. -
For other platforms, please refer to the Astro Deployment Guides.
Updates
Theme Retypeset releases new features and bug fixes from time to time. You can refer to the GitHub Docs to run Sync fork
in your forked repository to synchronize with the latest branch. Be careful not to click Discard Changes
, or you will lose your modifications.
Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Install project dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add , astro check |
pnpm astro -- --help |
Get help using the Astro CLI |
Credits
Star History
Thank you to everyone who has starred this project. Your support motivates me to keep maintaining it!