Download the PHP package axllent/silverstripe-scss without Composer
On this page you can find all versions of the php package axllent/silverstripe-scss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download axllent/silverstripe-scss
More information about axllent/silverstripe-scss
Files in axllent/silverstripe-scss
Download axllent/silverstripe-scss
More information about axllent/silverstripe-scss
Files in axllent/silverstripe-scss
Vendor axllent
Package silverstripe-scss
Short Description A wrapper for scssphp to integrate scss compiling directly into Silverstripe
License MIT
Homepage https://github.com/axllent/silverstripe-scss
Package silverstripe-scss
Short Description A wrapper for scssphp to integrate scss compiling directly into Silverstripe
License MIT
Homepage https://github.com/axllent/silverstripe-scss
Please rate this library. Is it a good library?
Informations about the package silverstripe-scss
ScssPHP compiler for Silverstripe
A wrapper for scssphp to integrate SCSS compiling directly into Silverstripe.
SCSS files are only compiled when needed, or when a ?flush
is done.
Features
- Integrates scssphp seamlessly into Silverstripe
- Includes flushing option (
?flushstyles
) to regenerate CSS stylesheets (ie. force undetected SCSS changes with @import). Note: this only applies to sites indev
mode. Alternatively use?flush
to flush everything including stylesheets. - Writes processed
*.scss
files intoassets/_css/
and automatically modifiesRequirements
paths - Allows custom global variables to be passed through to SCSS compiling (yaml configuration)
- Basic support for
$ThemeDir
(eg:url('#{$ThemeDir}/images/logo.png')
(see Configuration) - Automatic compression of CSS files when in
live
mode (may require an initial?flush
) - Adds any processed
editor.scss
files to TinyMCE (must be included in your front-end template) - Source maps (either inline or file) in
dev
mode only, can be disabled
Requirements
- Silverstripe ^5
Installation
Usage
You need refer to your SCSS files by their full SCSS file names (eg:stylesheet.scss
).
Example
The generated HTML will point automatically to the processed CSS file in assets/_css/
rather than the original SCSS file location, for example
Further documentation
- Usage.md for usage examples.
- Configuration.md for configuration options.
- View Changelog
All versions of silverstripe-scss with dependencies
PHP Build Version
Package Version
Requires
silverstripe/framework Version
^5.0
scssphp/scssphp Version ^1.12
axllent/silverstripe-minifier Version ^2.0
scssphp/scssphp Version ^1.12
axllent/silverstripe-minifier Version ^2.0
The package axllent/silverstripe-scss contains the following files
Loading the files please wait ....