Skip to content

Creating Custom Themes

Nick Briz edited this page Nov 29, 2021 · 1 revision

theme-creator

You can use the custom theme creator to create new syntax highlighting themes. After creating and downloading a custom theme you've made with the theme creator add it to the src/css/themes/ directory, then (as with all changes):

  • run the build script npm run build (assuming you aren't already running the npm run watch script)
  • test your changes by viewing the example/demo page index.html locally
  • open your browser's dev console and switch to your theme by running ne.theme = 'your-theme-name'

If everything looks good, submit a PR!

Clone this wiki locally