Embedded Sass Host for Ruby

build

This is a Ruby library that implements the host side of the Embedded Sass protocol.

It exposes a Ruby API for Sass that’s backed by a native Dart Sass executable.

Install

gem install sass-embedded

Usage

require "sass"

Sass.render(file: "style.scss")

Options

Sass.render(**kwargs) supports the following options:


Disclaimer: this is not an official Google product.