/hexo-renderer-sass

Sass renderer plugin for Hexo

Primary LanguageJavaScript

Sass renderer plugin for Hexo

A hexo plugin for sass

Install

npm install --save-dev https://github.com/kmuncie/hexo-renderer-sass

Config

Anything specified under the key sass in your _config.yml files will be passed directly to the sass.render() call. Check out the sass options docs for all available settings.

_config.yml

sass:
outputStyle: nested
precision: 5
sourceComments: false

Inheritance

The config object passed to sass is constructed by merging properties from the following locations using a least-specific-first order:

  1. Hardcoded Defaults ({outputStyle: 'compressed', sourceComments: false})
  2. Theme specific _config.yml
  3. Blog root _config.yml

♥︎

Questions, comments, concerns?

Thanks to the original developer of this package