hexo/node_modules/hexo-renderer-sass
jkjoy 5d2d87c740 20230925 2023-09-25 15:58:56 +08:00
..
lib 20230925 2023-09-25 15:58:56 +08:00
CHANGELOG.md 20230925 2023-09-25 15:58:56 +08:00
README.md 20230925 2023-09-25 15:58:56 +08:00
index.js 20230925 2023-09-25 15:58:56 +08:00
package.json 20230925 2023-09-25 15:58:56 +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?