You are here
25 calls to SassLiteral::assertType() in Sassy 7.3
SassScriptFunctions::abs in phpsass/ script/SassScriptFunctions.php
Finds the absolute value of a number.
For example:
abs (10px) => 10px
abs (-10px) => 10px
SassScriptFunctions::adjust in phpsass/ script/SassScriptFunctions.php
Adjusts the colour
SassScriptFunctions::adjust_hue in phpsass/ script/SassScriptFunctions.php
Changes the hue of a colour while retaining the lightness and saturation.
SassScriptFunctions::alpha in phpsass/ script/SassScriptFunctions.php
Returns the alpha component (opacity) of a colour.
SassScriptFunctions::blue in phpsass/ script/SassScriptFunctions.php
Returns the blue component of a colour.
SassScriptFunctions::ceil in phpsass/ script/SassScriptFunctions.php
Rounds a number up to the nearest whole number.
For example:
ceil (10.4px) => 11px
ceil (10.6px) => 11px
SassScriptFunctions::comparable in phpsass/ script/SassScriptFunctions.php
Returns true if two numbers are similar enough to be added, subtracted,
or compared.
SassScriptFunctions::floor in phpsass/ script/SassScriptFunctions.php
Rounds down to the nearest whole number.
For example:
floor (10.4px) => 10px
floor (10.6px) => 10px
SassScriptFunctions::get_var in phpsass/ script/SassScriptFunctions.php
Returns the variable whose name is the string.
SassScriptFunctions::green in phpsass/ script/SassScriptFunctions.php
Returns the green component of a colour.
SassScriptFunctions::hsla in phpsass/ script/SassScriptFunctions.php
Creates a SassColour object from hue, saturation, lightness and alpha
channel (opacity).
SassScriptFunctions::hue in phpsass/ script/SassScriptFunctions.php
Returns the hue component of a colour.
SassScriptFunctions::lightness in phpsass/ script/SassScriptFunctions.php
Returns the lightness component of a colour.
SassScriptFunctions::mix in phpsass/ script/SassScriptFunctions.php
Mixes two colours together.
Takes the average of each of the RGB components, optionally weighted by the
given percentage. The opacity of the colours is also considered when
weighting the components.
The weight specifies the amount of the first colour…
SassScriptFunctions::opacity in phpsass/ script/SassScriptFunctions.php
Returns the alpha component (opacity) of a colour.
SassScriptFunctions::quote in phpsass/ script/SassScriptFunctions.php
Add quotes to a string if the string isn't quoted,
or returns the same string if it is.
SassScriptFunctions::red in phpsass/ script/SassScriptFunctions.php
Returns the red component of a colour.
SassScriptFunctions::rgba in phpsass/ script/SassScriptFunctions.php
Creates a SassColour object from red, green, and blue values and alpha
channel (opacity).
There are two overloads:
SassScriptFunctions::round in phpsass/ script/SassScriptFunctions.php
Rounds a number to the nearest whole number.
For example:
round (10.4px) => 10px
round (10.6px) => 11px
SassScriptFunctions::saturation in phpsass/ script/SassScriptFunctions.php
Returns the saturation component of a colour.
SassScriptFunctions::type_of in phpsass/ script/SassScriptFunctions.php
Inspects the type of the argument, returning it as an unquoted string.
SassScriptFunctions::unitless in phpsass/ script/SassScriptFunctions.php
Inspects the unit of the number, returning a boolean indicating if it is
unitless.
SassScriptFunctions::units in phpsass/ script/SassScriptFunctions.php
Inspects the units of the number, returning it as a quoted string.
SassScriptFunctions::unquote in phpsass/ script/SassScriptFunctions.php
Removes quotes from a string if the string is quoted, or returns the same
string if it's not.
sassy_compass__ie_hex_str in sassy_compass/ functions/colors.inc
returns an IE hex string for a color with an alpha channel
suitable for passing to IE filters.