https://github.com/primer/codemirror-github-light
Codemirror GitHub syntax theme
https://github.com/primer/codemirror-github-light
Last synced: 7 months ago
JSON representation
Codemirror GitHub syntax theme
- Host: GitHub
- URL: https://github.com/primer/codemirror-github-light
- Owner: primer
- License: mit
- Created: 2017-06-08T19:12:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T16:22:42.000Z (almost 5 years ago)
- Last Synced: 2025-06-06T22:10:02.238Z (7 months ago)
- Language: CSS
- Size: 3.91 KB
- Stars: 16
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub codemirror syntax theme
[](https://www.npmjs.org/package/codemirror-github-light)
> The CSS codemirror syntax theme for GitHub
## Install
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `codemirror-github-light` with this command.
```
$ npm install --save codemirror-github-light
```
## Usage
Somewhere in your styles import the syntax theme like this.
```css
@import "codemirror-github-light/lib/codemirror-github-light-theme.css";
```
## Build
This was generated by the [github-syntax-theme-generator](https://github.com/primer/github-syntax-theme-generator). To rebuild, you will need to follow the instructions there.
## Contributing
For any bugs, fill reports with the [generator](https://github.com/primer/github-syntax-theme-generator/issues). For shipping a new version, run the npm script `npm run ship`. This will
- Update the lib files
- Update the version to match the github-syntax-theme-generator version
- Push to GitHub
- Publish to npm
## Changelog
The [changelog](https://github.com/primer/github-syntax-theme-generator/blob/master/CHANGELOG.md) is kept in the generator repository.
## License
[MIT](./LICENSE) © [GitHub](https://github.com/)
[docs]: http://primercss.io/
[npm]: https://www.npmjs.com/
[install-npm]: https://docs.npmjs.com/getting-started/installing-node
[sass]: http://sass-lang.com/