by PrismJS

PrismJS /prism-themes

A wider selection of Prism themes

520 Stars 279 Forks Last release: about 2 months ago (v1.4.0) MIT License 62 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Prism themes

This repository lists a selection of additional themes for the Prism syntax highlighting library.

How to use a theme

To use one of the themes, just include the theme's CSS file in your page. Example:

    <link href="themes/prism-ghcolors.css" rel="stylesheet">

    <script src="prism.js"></script>

Adding a New Theme

To add your own theme, copy it into the

directory and add your themes to the list of available themes in the readme. The links for your themes have to be
for the theme itself and
for the screenshot.

The screenshot will be created for you by running the following command:

npm i && npx gulp screenshot

Before making a pull request, you can the following command to verify that all checks pass:

npm test

Thank you so much for contributing!!

Available themes

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.