hexo/node_modules/hexo-renderer-sass
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
lib 20231003 update 2023-10-03 11:14:36 +08:00
CHANGELOG.md 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00

README.md

Sass renderer plugin for Hexo

npm version Build Status Coverage Status

A hexo plugin for Dart 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 Dart Sass options docs for all available settings.

_config.yml

node_sass:
  outputStyle: expanded

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: 'expanded'})
  2. Theme specific _config.yml
  3. Blog root _config.yml

♥︎

Questions, comments, concerns?