Back to themes

Duoism

A bilingual (EN/ZH), dual-tone Astro theme for notes and research essays, with automatic build-time Atkinson image dithering, MathJax, wide-screen TOC, and zero-dependency interactive SVG charts.


Cost

Free


Created by
Xiaolong Wu
Duoism is a minimal, typography-focused Astro theme for personal notes, technical writing, and research essays, derived from Twoism (MIT).
Key Features:
  • Dual-tone palette & manual theme switch: Sky-tinted light mode and Klein-blue dark mode, following system preference by default with instant manual override and persistence.
  • First-class bilingual (中 / EN) support: Instant client-side language toggle, automatic bilingual post pairing via filename suffixes (post.mdx + post.en.mdx) or translationOf frontmatter, and synchronized titles, dates, navigation, and TOC.
  • Automatic build-time Atkinson dithering: Standard relative Markdown/MDX images and friend avatars on /links are automatically converted into lossless light and dark Atkinson-dithered WebP picture elements via a custom Remark plugin.
  • Built for long-form & research writing: Build-time MathJax typesetting (remark-math + rehype-mathjax), floating wide-screen Table of Contents with active heading tracking, zero-dependency accessible SVG charts (ResearchPlot.astro), automatic OG image generation, RSS, and sitemap.