Method |
Description |
|
applyOverrides ( string $scss, string $overrides ) : string |
Prepend or append SCSS overrides depending on which version of the theme architecture is in use. |
|
compile ( string $scss, array $includes = [] ) : string |
Returns the compiled CSS from SCSS input |
|
debug ( string $css, $scss, string $filename ) |
Write CSS to a a debug dir |
|
defaultIncludePaths ( string $type, $theme = null ) |
Get default include paths |
|
getStringsToLocalize ( ) : array |
Fetch an array of strings in (S)CSS which need to be localized |
|
isCurrentThemeCompatible ( integer $version = 1, $theme = null ) : boolean |
Are the current theme's stylesheets SCSS compatible? |
|
parseVariables ( string $scss ) : array |
Parse an SCSS file into an array of variables. |
|
pathToDebugDir ( ) : string |
Get path to a directory we can dump debug files into |
|
pathToFonts ( ) : string |
Get the path to our PB Fonts |
|
pathToGlobals ( ) : string |
Get the path to our PB Partials |
|
pathToPartials ( ) : string |
Get the path to our PB Partials |
|
pathToUserGeneratedCss ( ) : string |
Get path to a directory we can dump user transpiled CSS files into (create dir if it does not exist) |
|
pathToUserGeneratedSass ( ) : string |
Get path to a directory we can dump user generated Sass files into (create dir if it does not exist) |
|
prependLocalizedVars ( string $scss ) : string |
Prepend localized version of content string variables. |
|
urlToUserGeneratedCss ( ) : string |
Get URI to user transpiled CSS files |
|