https://github.com/moox/sass-prism-theme-base
A prism.js theme base in Sass. Including an example inspired by Monokai.
https://github.com/moox/sass-prism-theme-base
Last synced: 6 months ago
JSON representation
A prism.js theme base in Sass. Including an example inspired by Monokai.
- Host: GitHub
- URL: https://github.com/moox/sass-prism-theme-base
- Owner: MoOx
- Created: 2012-10-29T20:52:29.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-18T06:40:29.000Z (over 13 years ago)
- Last Synced: 2025-01-05T20:56:02.093Z (over 1 year ago)
- Homepage:
- Size: 281 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sass Prism base theme
A [prism.js](http://prismjs.com/) theme base in [Sass](http://sass-lang.com). Including an example inspired by [Monokai](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/).
## Usage
Just open the `_prism.scss` to see what variable are available.
Define yours, then include the prism partial.
```scss
$code-background: #2a2a2a;
$code-color: #76d9e6;
$code-color-fade: #bebec5;
$code-text-shadow: 0 1px 0 #000;
$code-color-comment: #6f705e;
$code-color-keyword: #f12770;
$code-color-value: #76d9e6;
$code-color-string: #e6d06c;
$code-color-name: #e6d06c;
$code-color-number: #a77afe;
$code-color-variable: #fff;
$code-color-selector: #a6e22d;
@import "prism";
```
## Example
Inspired by [Monokai](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/)

To get this example, just grab the `tests/s.scss` file.
## License
Copyright (c) 2013 Maxime Thirouin
Released under [MIT Licence](http://moox.mit-license.org/)