vitepress-carbon
arbon
VitePress Carbon is a minimalistic theme for VitePress, inspired by GitHub's monochromatic design. It offers a clean and elegant documentation experience, ideal for projects seeking simplicity.
Demo
Check out the demo on GitHub Pages to see VitePress Carbon in action.
Storybook
Every theme component, rendered in isolation, lives at
carbon.breno.tech/storybook — including
an Overflow section that stress-tests components with oversized text. Run it
locally with pnpm storybook.
Installation
To create a GitHub project with VitePress Carbon theme, click here.
Alternatively, you can use the vpcar CLI tool
to initialize a new VitePress Carbon project:
npx vpcar init my-project
Usage
To use this project, follow these docs:
Design system
Carbon has a documented design language — color roles, typography, spacing, shape,
and elevation, with light and dark values for every token. Read
design.md before changing any UI, and build with the --vp-* tokens
in packages/theme/src/theme/styles/vars.css
rather than hardcoded values.
Contribution Guide
Before contributing, read AGENTS.md — the setup, commands, conventions, and workflow that apply to human and automated contributors alike.
We use pnpm as our package manager. To get started, run:
pnpm install
To start the development server, run:
pnpm run dev
If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request. Your contributions and ⭐ are greatly appreciated!
Packages
This monorepo contains the following packages:
theme: The theme package for VitePress.cli: CLI tool for initializing and managing VitePress Carbon projects.demo: Demo project showcasing the VitePress Carbon theme.storybook: Component workbench, deployed alongside the demo at/storybook/.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.7.0 | MIT | |
| 1.6.0 | MIT | |
| 1.5.0 | MIT | |
| 1.4.6 | MIT | |
| 1.4.5 | MIT | |
| 1.4.4 | MIT | |
| 1.4.3 | MIT | |
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.4 | MIT | |
| 1.3.3 | MIT | |
| 1.3.2 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.0.14 | MIT | |
| 0.0.13 | MIT | |
| 0.0.12 | MIT | |
| 0.0.11 | MIT | |
| 0.0.10 | MIT | |
| 0.0.8 | MIT | |
| 0.0.7 | MIT | |
| 0.0.6 | MIT | |
| 0.0.5 | MIT |
Showing the latest 30 of 34. See every release on npm