Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

vandreleal/hexo-renderer-sass-bourbon-neat

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

hexo-renderer-sass-bourbon-neat

Build Status NPM Version dependencies Status devDependencies Status

Sass renderer plugin for Hexo with Bourbon/Neat support.

Install

$ npm install hexo-renderer-sass-bourbon-neat --save

Dependencies

Package Version
Bourbon 7.0.0
Neat 4.0.0
node-sass 4.13.1

Usage

To enable Bourbon/Neat support you need to import it at the beginning of your stylesheet:

@import 'bourbon';
@import 'neat';

Config

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

Example _config.yml

bourbon_neat:
  outputStyle: compressed
  indentedSyntax: false
  omitSourceMapUrl: true
  sourceMap: true
  sourceMapEmbed: false
  sourceMapContents: 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