Giter Site home page Giter Site logo

wooodhead / github-syntax-theme-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from primer/github-syntax-theme-generator

0.0 1.0 0.0 71 KB

Uses a prettylights theme object to generate syntax themes for multiple platforms

License: MIT License

JavaScript 76.20% CSS 23.80%

github-syntax-theme-generator's Introduction

GitHub syntax theme generators

NPM version Build Status

The GitHub syntax theme generator will generate themes for multiple platforms based on the GitHub syntax theme.

Install

All of the built themes in this package are distributed at separate repositories. It's recommended that you install one of these if you're looking for a specific theme.

CSS

The CSS syntax theme is based on a custom syntax highlighter in use by GitHub. The prefixes to the classes are .pl- for Prettylights.

Codemirror

The Codemirror syntax theme is generated by the codemirror adapter.

Visual Studio Code

The Visual Studio Code syntax theme is generated by the vscode adapter.

Atom

The Atom theme is built by apm converted from the TextMate theme.

TextMate

For TextMate or any other TextMate compatible editors, you can use the github-textmate-theme.

Development

Clone this repository and after npm install. Run

$ npm run build

This will run the script that will build all the themes. The themes are built from the json files in the lib/themes folder.

Adapters

The theme adapters are located in ./lib/adapters/ directory. Each one will complete a specific task to build that theme.

Contributing

If you would like to see the theme compiled for another platform, we welcome pull requests.

License

MIT © GitHub

github-syntax-theme-generator's People

Contributors

bojand avatar broccolini avatar buildersbrewery avatar greenkeeperio-bot avatar jasonlong avatar jonrohan avatar lee-dohm avatar vinkla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.