A retro-inspired theme for MkDocs, with pixel borders, bold colors, and arcade-style shadows.
Built for modern documentation with responsive navigation, search, and rich Markdown components.
Visit Pixel Lab on GitHub Pages to see the theme in action. The documentation site uses Pixel Lab itself and includes examples of its components.
- Card grids — Build responsive landing pages and section indexes with Markdown cards, images, code, and customizable spacing.
- Collapsible layout modes — Display code and tables flush with the container, or use padded layouts for prose and mixed content.
- A tastefully designed, retro-inspired theme with pixel-art assets, crisp borders, and playful shadows.
- Optional metadata, Git-based sitemap dates, and
robots.txtplugins. - Opt-in Google Analytics 4 with consent controls.
For an existing MkDocs project, install Pixel Lab:
python -m pip install mkdocs-pixel-labSelect it in your existing mkdocs.yml:
theme:
name: pixel-labPreview your site:
mkdocs serveRequires Python 3.10 or newer. Installing Pixel Lab also installs MkDocs, Pymdown Extensions, and Pygments.
Starting a new project? Follow Get started for environment setup, a new site, and enabling Markdown extensions.
- Theme setup: colors, fonts, icons, branding, navigation, search, repository links, and analytics.
- Components: Markdown syntax, live examples, required extensions, and appearance settings.
- Reference: configuration defaults, bundled plugins, compatibility, and troubleshooting.
- Upgrading: migration notes and checks for existing sites.