Inroduction
===========
This extension compiles scss vhs assets to css with scssphp.
Installation
============
* Via TER: Install ``vhs_scss``
* From Git: Run ``composer install`` in the ``Resources/Private`` directory. Then
install as TYPO3 extension.
No further configuration is necessary.
Usage
=====
Example usage in template:
::
The scss file will be compiled and integrated with the rest of the css
according to your vhs asset configuration. Scss compilation is cached.
The cache is invalidated when any used scss file or the options are
modified.
Configuration options in TypoScript (lower in priority than arguments
specified on the ViewHelper):
::
plugin.tx_vhsscss.settings {
# Formatter to use, see http://leafo.github.io/scssphp/docs/
formatter = Leafo\ScssPhp\Formatter\Compact
# Include line number info in output?
lineNumbers = 0
# Arbitrary variables to set in the SCSS context
variables {
border-width = 40px
}
}