https://github.com/moox/sass-pygments-theme-base
A Pygment base theme using Sass
https://github.com/moox/sass-pygments-theme-base
Last synced: 6 months ago
JSON representation
A Pygment base theme using Sass
- Host: GitHub
- URL: https://github.com/moox/sass-pygments-theme-base
- Owner: MoOx
- Created: 2013-02-18T12:39:41.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-22T05:55:17.000Z (about 12 years ago)
- Last Synced: 2025-01-05T20:55:54.996Z (over 1 year ago)
- Language: CSS
- Size: 285 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pygments base theme using Sass _[UNMAINTAINED]_
A simple [Pygments](http://pygments.org/) base theme, using [Sass](http://sass-lang.org).
## Usage
In you main Sass file, just define the variable you want. See `my-pygments-theme.scss.sample` as a base. Just uncomment & define variable you need.
By default there is no color defined.
At least define one the color in the first block in the sample :)
Checkout `pygment-theme-freshcut.scss` for an usage example.
### Options
Set variables `$code-base-selector(-*)` to `null` to avoid global & block styles.
Set any variables to null to avoid generated color.
## Live Example
Generate the example ([FreshCut theme](https://github.com/daylerees/colour-schemes#freshcut)): pygments sass base theme highlighed by itself :)
```bash
pygmentize -f html -o example.html _pygments.scss
sass pygments-theme-freshcut.scss example.css
echo "body{-webkit-font-smoothing: antialiased}" | cat - example.html > /tmp/out && mv /tmp/out example.html
```
