Component Showcase
This page exercises every themed component using real content about the Dracula theme project, so visual regressions are easy to spot during development.
What is Dracula?
Dracula is a dark theme for code editors, terminals, and hundreds of other applications, created by Zeno Rocha. It started as a single Sublime Text theme and has since grown into one of the most widely ported color schemes in open source.
Design goals
A single color scheme, everywhere
Consistency across every tool you use
From the editor to the terminal
From the terminal to the browser
From the browser to your IDE plugins
Down to the smallest utility script
The philosophy
Dracula follows a few simple rules, explained in bold, italics,
bold italics, and even ~~occasionally~~ always with a bit of
inline code for terms like background, foreground, and selection.
Read the official spec before porting the theme to a new application.
Why people port it
- It looks good on every screen, day or night
-
It is consistent across dozens of tools
- Editors: VS Code, Vim, Sublime Text
- Terminals: iTerm2, Alacritty, Windows Terminal
- Browsers, IDEs, and even Slack
-
Pick a base application to port
- Follow the official color specification
- Submit the port for review
- Maintainers check contrast and accuracy
- Once approved, it ships on draculatheme.com
In the maintainers' words
Dracula is not just a theme, it's a community. Every port follows the same spec so that switching tools never means switching colors.
The official palette
palette = {
"background": "#282A36",
"current_line": "#44475A",
"foreground": "#F8F8F2",
"comment": "#6272A4",
"cyan": "#8BE9FD",
"green": "#50FA7B",
"orange": "#FFB86C",
"pink": "#FF79C6",
"purple": "#BD93F9",
"red": "#FF5555",
"yellow": "#F1FA8C",
}
Palette reference
| Name | Hex | Usage |
|---|---|---|
| Background | #282A36 |
Editor background |
| Current Line | #44475A |
Selection / active line |
| Foreground | #F8F8F2 |
Default text |
| Comment | #6272A4 |
Comments, muted text |
| Purple | #BD93F9 |
Keywords |
| Pink | #FF79C6 |
Operators |
| Green | #50FA7B |
Strings |
Notes for contributors
Note
Every port must follow the official spec exactly — no custom colors.
Abstract
tl;dr: fork the contributing guide repo, copy the closest existing port, swap the palette.
Info
Dracula has 400+ official ports, from editors to hardware keyboards.
Tip
Test your port against real code with syntax highlighting before submitting — flat colors alone can hide contrast issues.
Success
Once merged, your port is listed on draculatheme.com and this mkdocs theme is one of them.
Question
Not sure which repo to fork? Check the ports list for a project similar to yours.
Warning
Don't rename the official color variables (--purple, --cyan, etc.) — themes and tooling depend on those names staying stable.
Failure
A port that changes background/foreground contrast ratios below WCAG AA will be rejected in review.
Danger
Never hardcode hex values in component CSS — always reference the palette variables, or the port breaks when the palette updates.
Bug
Found a color mismatch against the spec? Open an issue on the ports repo.
Example
This very page is an example: it's built with mkdocs-dracula-theme, itself a Dracula port for MkDocs sites.
Quote
"The most famous theme ever created and available everywhere." — draculatheme.com
Before you open a PR
Read CONTRIBUTING.md in the target repo — most ports have screenshot and structure requirements beyond just the colors.
Footer
This page's footer is controlled by theme.show_footer in mkdocs.yml,
linking back to the dracula/mkdocs
repository unless disabled.