https://github.com/primer/github-syntax-light
The CSS syntax theme for GitHub
https://github.com/primer/github-syntax-light
Last synced: 7 months ago
JSON representation
The CSS syntax theme for GitHub
- Host: GitHub
- URL: https://github.com/primer/github-syntax-light
- Owner: primer
- License: mit
- Created: 2016-06-19T17:04:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T14:08:12.000Z (over 8 years ago)
- Last Synced: 2025-06-01T21:49:00.706Z (7 months ago)
- Language: CSS
- Homepage:
- Size: 14.6 KB
- Stars: 71
- Watchers: 3
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub light syntax theme
[](https://www.npmjs.org/package/github-syntax-light)
> The CSS syntax theme for GitHub
## Install
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `github-syntax-light` with this command.
```
$ npm install --save github-syntax-light
```
## Usage
Somewhere in your styles import the syntax theme like this.
```css
@import "github-syntax-light/lib/github-light.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/