Skip to content

calvogenerico/hexo-renderer-sass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sass renderer plugin for Hexo

npm version Build Status Coverage Status

A hexo plugin for node-sass

Install

$ npm install --save hexo-renderer-sass

Config

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

_config.yml

node_sass:
  outputStyle: nested
  precision: 5
  sourceComments: false

Inheritance

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

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

♥︎

Questions, comments, concerns?

About

Sass renderer plugin for Hexo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%