Skip to content

MoOx/sass-prism-theme-base

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published