Sha256: 3ce66b9a5f9c80965e2d523a978f723c3ced5d85fa8ef2cdeb39a42914c16014
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true require_relative 'tilt_base' module Faml module FilterCompilers class Sass < TiltBase def compile(ast) temple = [:multi, [:static, "\n"], [:newline]] compile_with_tilt(temple, 'sass', ast, indent_width: 2) temple << [:static, "\n"] [:haml, :tag, 'style', false, [:html, :attrs], temple] end end register(:sass, Sass) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | lib/faml/filter_compilers/sass.rb |
faml-0.8.0 | lib/faml/filter_compilers/sass.rb |