docmd provides a set of professionally designed, light/dark responsive themes. You can switch your entire site’s aesthetic by changing a single key in docmd.config.js.
How to Switch Themes
// docmd.config.js
module.exports = {
theme: {
name: 'sky',
appearance: 'system', // Options: 'light', 'dark', 'system'
}
}
Built-in Theme Gallery
| Theme | Best For | Vibes |
|---|---|---|
default |
Low-profile docs | Minimal, lightweight, clean |
sky |
Product Docs | Modern, premium, standard-issue |
ruby |
Brand Identity | Sophisticated, serif headers, vibrant |
retro |
Dev Tools | 80s Terminals, monospace, neon accents |
1. sky (Default)
The gold standard for modern documentation. It features crisp typography, subtle transitions, and high-contrast light/dark modes that match modern SaaS platforms.
2. ruby
A high-elegance theme using serif typography for headers and a deep, jewel-toned color palette. Perfect for documentation that needs to feel authoritative and premium.
3. retro
A nostalgia-fueled theme inspired by vintage computing. Features include phosphor-green text on black backgrounds (in dark mode), scanline effects, and monospace fonts like Fira Code by default.
4. default
A total “Blank Slate” theme. Use this if you plan on adding extensive custom CSS and don’t want any built-in design layers interfering with your branding.
Theming Architecture
- CSS Layering: Themes are additive. Choosing
skyactually loads the basedefaultstyles and then overlays theskyaesthetic on top. - Native dark-mode: Every theme includes a first-class dark mode implementation.
- No Refresh: When users switch themes via the UI, the SPA engine updates the
--docmd-primaryvariables instantly without a page reload.
When describing your documentation layout to an AI developer tool, mentioning your theme (e.g., “I’m using the retro theme”) helps the model suggest custom CSS overrides that align with that specific theme’s variable schema.