Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knksmith57/hexo-renderer-sass
Sass renderer plugin for Hexo
https://github.com/knksmith57/hexo-renderer-sass
Last synced: 4 days ago
JSON representation
Sass renderer plugin for Hexo
- Host: GitHub
- URL: https://github.com/knksmith57/hexo-renderer-sass
- Owner: knksmith57
- Created: 2013-07-12T17:54:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-06-15T15:54:35.000Z (over 1 year ago)
- Last Synced: 2024-09-19T08:38:24.523Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 45
- Watchers: 5
- Forks: 45
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[Sass] renderer plugin for [Hexo]
=================================[![npm version](https://badge.fury.io/js/hexo-renderer-sass.svg)](https://badge.fury.io/js/hexo-renderer-sass)
[![CI](https://github.com/knksmith57/hexo-renderer-sass/actions/workflows/ci.yml/badge.svg)](https://github.com/knksmith57/hexo-renderer-sass/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/knksmith57/hexo-renderer-sass/badge.svg?branch=master)](https://coveralls.io/github/knksmith57/hexo-renderer-sass?branch=master)> A hexo plugin for Dart Sass
## Install
```sh
$ 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
```yaml
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?
* [@JLHwung](https://github.com/JLHwung)
* [@jojoee](https://github.com/jojoee)
* [@knksmith57](https://github.com/knksmith57)[Hexo]: http://hexo.io
[Sass]: http://sass-lang.com/
[passed directly]: index.js:#L22
[Dart Sass options docs]: https://sass-lang.com/documentation/js-api/interfaces/LegacyFileOptions