All Projects → MoOx → sass-prism-theme-base

MoOx / sass-prism-theme-base

Licence: other
A prism.js theme base in Sass. Including an example inspired by Monokai.

Sass Prism base theme

A prism.js theme base in Sass. Including an example inspired by Monokai.

Usage

Just open the _prism.scss to see what variable are available. Define yours, then include the prism partial.

$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

monokai example

To get this example, just grab the tests/s.scss file.

License

Copyright (c) 2013 Maxime Thirouin

Released under MIT Licence

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].