yesod-sass-0.1.0.0: A simple quasiquoter to include sass code in yesod

Safe HaskellNone
LanguageHaskell2010

Text.Sass.QQ

Description

In this module there is a helper function called wsass'. You need to use it to define another function using wsass' passing in the first argument the path to be used to resolve @include like this:

>>> let wsass = wass' "sass_include/"

Please, check the install instructions of hlibsass at https://github.com/jakubfijalkowski/hlibsass

Synopsis

Documentation

sass :: QuasiQuoter Source

Quasiquoter that generate a string from Sass code

wsass' Source

Arguments

:: FilePath

path of the sass files to use with @include

-> QuasiQuoter 

Quasiquoter that generate a yesod widget from Sass code