◆ compile()
compile |
( |
|
$input, |
|
|
array |
$variables = [] |
|
) |
| |
Compiles a scss string. This method will add all neccessary imports and variables for Stud.IP so almost all mixins and variables of the core system can be used. This includes colors and icons.
- Parameters
-
String | $input | Scss content to compile |
array | $variables | Additional variables for the SCSS compilation |
- Returns
- String containing the generated CSS
Implements Compiler.
◆ getInstance()
Returns an instance of the compiler
- Returns
- Assets instance
Implements Compiler.
◆ CACHE_KEY
const CACHE_KEY = '/assets/sass-prefix' |
The documentation for this class was generated from the following file: