score.css¶
This small module just defines the ‘tetx/css’ mime type for score.tpl
and configures some parameters for css template processing.
Quickstart¶
Usually, it is sufficient to add this module to your initialization list:
[score.init]
modules =
score.tpl
score.css
API¶
-
score.css.
init
(confdict, tpl)[source]¶ Initializes this module acoording to our module initialization guidelines with the following configuration keys:
- tpl.register_minifier False
- Whether css assets should be minified. Setting this to True will
register a postprocessor for the ‘text/css’ file
type in
score.tpl
.
-
class
score.css.
ConfiguredCssModule
[source]¶ This module’s
configuration object
.-
score_webassets_proxy
()[source]¶ Provides a
WebassetsProxy
forscore.webassets
.
-