Download

# Functions

# add-unit

View Source

Add unit to variable

Arguments

Name Type Default Description
$_value string Set the value you which you want to add to the unit
$_unit string Set the unit you wish to use

# camelize

View Source

Convert string to camel-case

Arguments

Name Type Default Description
$_string string Set the string you which you want to camelize

# capitalize

View Source

Capitalize a string

Arguments

Name Type Default Description
$_string string Set the string you which you want to capitalize

# circumference

View Source

Circumference

Arguments

Name Type Default Description
$r string Set the radius you want to the circumference of

# contain

View Source

Check if word (or list) contains value

Arguments

Name Type Default Description
$list string Set the radius you want to the circumference of
$value string Set the radius you want to the circumference of

# explode

View Source

Explode a string, cause we can

Arguments

Name Type Default Description
$_string string Set the string you which you want to explode
$dem string Set the delimiter

# get-color

View Source

Shorthand to get color

Arguments

Name Type Default Description
$_color string Set the color
$_alpha string Set the alpha the color
$_return-hex string true to return a hex value for the color

# get-font-size

View Source

Shorthand to get font size

Arguments

Name Type Default Description
$_value string Set the font size type
$_size string

# get-font-weight

View Source

Shorthand to get font weight

Arguments

Name Type Default Description
$_value string Set the font weight type
$_size string

# get-grid-gap

View Source

Shorthand to get grid gap

Arguments

Name Type Default Description
$_value string Set the grid gap size

# get-letter-spacing

View Source

Shorthand to get letter spacing

Arguments

Name Type Default Description
$_value string Set the letter-spacing type
$_size string Set the letter-spacing size

# get-line-height

View Source

Shorthand to get line height

Arguments

Name Type Default Description
$_value string Set the get-line-height type
$_size string Set the get-line-height size

# get-text-transform

View Source

Shorthand to get text transform

Arguments

Name Type Default Description
$_value string Set the grid gap size
$_size string Set the grid gap size

# get-timing-function

View Source

Sets transition timing function

Arguments

Name Type Default Description
$_value property This sets the animation functions

# get-transition-speed

View Source

Shorthand to get transition speed

Arguments

Name Type Default Description
$_value string This sets the animation speed

Convert hsb to hsl color

Arguments

Name Type Default Description
$h-hsb number Set the hue of the hsla color
$s-hsb number Set the saturation of the hsla color
$b-hsb number Set the lightness of the hsla color
$a number Set the alpha of the hsla color

# implode

View Source

Shorthand to get transition speed

Arguments

Name Type Default Description
$list map Set the map
$separator map Set the delimiter

# is-number

View Source

Is a number?

Arguments

Name Type Default Description
$_value string Check to see if this is a number

# is-string

View Source

Is a string?

Arguments

Name Type Default Description
$_value string Check to see if this is a string

# is-x-unit

View Source

Is an x unit?

Arguments

Name Type Default Description
$_value mixed Check to see if value is a px value

# list-reverse

View Source

Reverse the order of a list

Arguments

Name Type Default Description
$_list list Set the list you want to reverse

# map-reverse

View Source

Reverse the order of a map

Arguments

Name Type Default Description
$_map map Set the map you want to reverse

Finds the remainder after division of one number by another

Arguments

Name Type Default Description
$number map Set the number you want find the reminder of
$divisor map Set number you want to divide by

# number

View Source

Number

Arguments

Name Type Default Description
$string string Set the string you want to turn into a number

# opposite-position

View Source

Get the opposite position of a position

Arguments

Name Type Default Description
$_position string Set the position you want to find the opposite of

# pascalize

View Source

Convert string to pascal-case

Arguments

Name Type Default Description
$_position string Set the string you want to convert to pascal-case

Pi

Arguments

Name Type Default Description

Returns the base to the exponent power

Arguments

Name Type Default Description
$number string Set the base number
$exponent string Set the the exponent used to raise the base

# px-to-rem

View Source

Converts a pixel value into a root em based value

Arguments

Name Type Default Description
$_value string Set the pixel value you want to turn into a rem

# remove-unit

View Source

Removes any unit from the variable

Arguments

Name Type Default Description
$_value string Set the pixel value remove the unit from

# string

View Source

Convert to string

Arguments

Name Type Default Description
$_value string Set the value you want to turn into a string

# unit-length

View Source

Length

Arguments

Name Type Default Description
$number number Set the number you want to append to the unit type
$unit string Set the type of unit you want the number to appended to

# validate-position

View Source

Validate (and normalize) a position value

Arguments

Name Type Default Description
$_position string Set the position you want to validate

Converts x units to px units

Arguments

Name Type Default Description
$value String X unit value to convert to px

# im-log

View Source

Log a message either with `@error` if supported else with `@warn`, using `feature-exists('at-error')` to detect support.

Arguments

Name Type Default Description
$message String Message to log

Function with no `@return` called next to `@warn` in Sass 3.3 to trigger a compiling error and stop the process.

Arguments

Name Type Default Description

# im-intercepts-static-breakpoint

View Source

Determines whether a list of conditions is intercepted by the static breakpoint.

Arguments

Name Type Default Description
$conditions Arglist Media query conditions

# get-expression-operator

View Source

Get operator of an expression

Arguments

Name Type Default Description
$expression String Expression to extract operator from

# get-expression-dimension

View Source

Get dimension of an expression, based on a found operator

Arguments

Name Type Default Description
$expression String Expression to extract dimension from
$operator String Operator from `$expression`

# get-expression-prefix

View Source

Get dimension prefix based on an operator

Arguments

Name Type Default Description
$operator String Operator

# get-expression-value

View Source

Get value of an expression, based on a found operator

Arguments

Name Type Default Description
$expression String Expression to extract value from
$operator String Operator from `$expression`

# parse-expression

View Source

Parse an expression to return a valid media-query expression

Arguments

Name Type Default Description
$expression String Expression to parse

Slice `$list` between `$start` and `$end` indexes

Arguments

Name Type Default Description
$list List List to slice
$start Number Start index
$end Number End index

# to-number

View Source

Casts a string into a number

Arguments

Name Type Default Description
$value String | Number Value to be parsed

# to-length

View Source

Add `$unit` to `$value`

Arguments

Name Type Default Description
$value Number Value to add unit to
$unit String String representation of the unit