score.sass¶
A small module that registers a score.tpl.Renderer for scss and sass
file types with score.tpl.
Quickstart¶
Usually, it is sufficient to add this module to your initialization list:
[score.init]
modules =
score.tpl
score.css
score.sass
API¶
-
score.sass.init(confdict, tpl)[source]¶ Initializes this module acoording to our module initialization guidelines with the following configuration keys:
- cachedir None
- A folder that will be used for caching rendered css files. Not strictly necessary, but will speed up the rendering proces a lot.
-
class
score.sass.ConfiguredSassModule[source]¶ This module’s
configuration object.
-
class
score.sass.SassRenderer[source]¶ score.tpl.Rendererfor scss (and sass) files.