Sha256: 099c067963896435666e220946a852fc64f4eaaa297a9e84dbae69091b012874
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 Bytes
Contents
require_relative 'tilt_base' module Faml module FilterCompilers class Scss < TiltBase def compile(ast) temple = [:multi, [:static, "\n"], [:newline]] compile_with_tilt(temple, 'scss', ast, indent_width: 2) temple << [:static, "\n"] [:haml, :tag, 'style', false, [:html, :attrs], temple] end end register(:scss, Scss) end end
Version data entries
11 entries across 11 versions & 1 rubygems