Dark theme for Pygments and 355+ apps


Pygments Theme Preview



Install using Git

If you are a git user, you can install the theme and keep up to date by cloning the repo:

git clone

Install manually

Download using the GitHub .zip download option and unzip them.

Activating theme

You can generate the CSS stylesheet (also included in this repository) by using the included file and the Pygments Command Line Interface:

  1. Download Pygments on your machine

  2. Check install location by attempting to install again (may vary depending on Python setup, e.g., Anaconda) by running.

    pip install Pygments

    Which will return:

    Requirement already satisfied: Pygments in /path/to/pygments


    • For an Anaconda setup it should be in ~/anaconda3/lib/python3.x/site-packages/pygments
    • For a non-Anaconda setup it should be in /usr/local/lib/python3.x/dist-packages/pygments
  3. Copy into the styles folder.

  4. Run the following command on your terminal:

    pygmentize -S dracula -f html > dracula.css

Activating theme in iPython

To use with iPython:

  1. Run iPython on your Terminal of choice.


  2. To create the blank configuration files, run:

    ipython profile create [profilename]

    If you leave out the profile name, the files will be created for the default profile. These will typically be located in ~/.ipython/profile_default/, and will be named

  3. Open file and append the following:

    c = get_config()
    c.TerminalInteractiveShell.highlighting_style = "dracula"
    c.TerminalInteractiveShell.true_color = True

Stay up to date

Get updates about this theme and more. 7,399 people enjoy it.


This theme wouldn't exist without these people. Wanna help too? Check the repository on GitHub.

  • zenorocha
  • cbracco
  • danielcs88
  • benreyn
  • piruin
Edit this documentation on GitHub.

Made with by Zeno Rocha
under MIT license