Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dbp
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • credit_data
  • dbp
  • Wiki
    • Node_modules
    • Prism themes
  • README

Last edited by leo Oct 21, 2019
Page history

README

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:

<!DOCTYPE html>
<html>
    <head>
        ...
        <link href="themes/prism-ghcolors.css" rel="stylesheet" />
    </head>
    <body>
        ...
        <script src="prism.js"></script>
    </body>
</html>

Adding a New Theme

To add your own theme, copy it into the themes directory and add your themes to the list of available themes in the readme. The links for your themes have to be themes/prism-<your theme>.css for the theme itself and screenshots/prism-<your theme>.png for the screenshot.

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

npm ci && npx gulp screenshot

Thank you so much for contributing!!

Available themes

  • CB (originally by C. Bavota, adapted by atelierbram)
    CB

  • GHColors (by aviaryan)
    GHColors

  • Pojoaque (originally by Jason Tate, adapted by atelierbram)
    Pojoaque

  • Xonokai (originally by Maxime Thirouin (MoOx), adapted by atelierbram)
    Xonokai

  • Ateliersulphurpool-light (by Bram de Haan)
    Ateliersulpherpool-light

  • Hopscotch (by Jan T. Sott)
    Hopscotch

  • Atom Dark (by gibsjose, based on Atom Dark Syntax theme)
    Atom Dark

  • Duotone Dark (by Simurai, based on Duotone Dark Syntax theme for Atom)
    Duotone Dark

  • Duotone Sea (by Simurai, based on DuoTone Dark Sea Syntax theme for Atom)
    Duotone Sea

  • Duotone Space (by Simurai, based on DuoTone Dark Space Syntax theme for Atom)
    Duotone Space

  • Duotone Earth (by Simurai, based on DuoTone Dark Earth Syntax theme for Atom)
    Duotone Earth

  • Duotone Forest (by Simurai, based on DuoTone Dark Forest Syntax theme for Atom)
    Duotone Forest

  • Duotone Light (by Simurai, based on DuoTone Light Syntax theme)
    Duotone Light

  • VS (by andrewlock)
    VS

  • Darcula (by service-paradis, based on Jetbrains Darcula theme)
    Darcula

  • a11y Dark (by ericwbailey)
    a11y Dark

  • Dracula (by Byverdu)
    a11y Dark

  • Synthwave '84 (originally by Robb Owen, adapted by Marc Backes)
    Synthwave '84

  • Shades of Purple (by Ahmad Awais)
    Shades of Purple

Clone repository
  • README
  • SUMMARY
  • bidchance.wiki
    • README
    • open_bidchance_batchGetDatas
    • open_bidchance_batchGetKeywords
    • open_bidchance_count
    • open_bidchance_find
    • open_bidchance_keywords
    • open_bidchance_search
    • open_bidchance_searchPage
  • common
    • authenticate
    • error_code
    • output_format
    • service_hosts_pub
  • company.wiki
    • README
View All Pages