# Functions
# add-unit
View SourceAdd 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 SourceConvert string to camel-case
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_string | string | Set the string you which you want to camelize |
# capitalize
View SourceCapitalize a string
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_string | string | Set the string you which you want to capitalize |
# circumference
View SourceCircumference
Arguments
Name | Type | Default | Description |
---|---|---|---|
$r | string | Set the radius you want to the circumference of |
# contain
View SourceCheck 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 SourceExplode 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 SourceShorthand 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 SourceShorthand to get font size
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Set the font size type | |
$_size | string |
# get-font-weight
View SourceShorthand to get font weight
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Set the font weight type | |
$_size | string |
# get-grid-gap
View SourceShorthand to get grid gap
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Set the grid gap size |
# get-letter-spacing
View SourceShorthand 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 SourceShorthand 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 SourceShorthand 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 SourceSets transition timing function
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | property | This sets the animation functions |
# get-transition-speed
View SourceShorthand to get transition speed
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | This sets the animation speed |
# hsb
View SourceConvert 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 SourceShorthand to get transition speed
Arguments
Name | Type | Default | Description |
---|---|---|---|
$list | map | Set the map | |
$separator | map | Set the delimiter |
# is-number
View SourceIs a number?
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Check to see if this is a number |
# is-string
View SourceIs a string?
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Check to see if this is a string |
# is-x-unit
View SourceIs an x unit?
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | mixed | Check to see if value is a px value |
# list-reverse
View SourceReverse the order of a list
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_list | list | Set the list you want to reverse |
# map-reverse
View SourceReverse the order of a map
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_map | map | Set the map you want to reverse |
# mod
View SourceFinds 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 SourceNumber
Arguments
Name | Type | Default | Description |
---|---|---|---|
$string | string | Set the string you want to turn into a number |
# opposite-position
View SourceGet 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 SourceConvert string to pascal-case
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_position | string | Set the string you want to convert to pascal-case |
# pow
View SourceReturns 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 SourceConverts 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 SourceRemoves any unit from the variable
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Set the pixel value remove the unit from |
# string
View SourceConvert to string
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_value | string | Set the value you want to turn into a string |
# unit-length
View SourceLength
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 SourceValidate (and normalize) a position value
Arguments
Name | Type | Default | Description |
---|---|---|---|
$_position | string | Set the position you want to validate |
# _
View SourceConverts x units to px units
Arguments
Name | Type | Default | Description |
---|---|---|---|
$value | String | X unit value to convert to px |
# im-log
View SourceLog 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 |
# noop
View SourceFunction 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 SourceDetermines 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 SourceGet operator of an expression
Arguments
Name | Type | Default | Description |
---|---|---|---|
$expression | String | Expression to extract operator from |
# get-expression-dimension
View SourceGet 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 SourceGet dimension prefix based on an operator
Arguments
Name | Type | Default | Description |
---|---|---|---|
$operator | String | Operator |
# get-expression-value
View SourceGet 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 SourceParse an expression to return a valid media-query expression
Arguments
Name | Type | Default | Description |
---|---|---|---|
$expression | String | Expression to parse |
# slice
View SourceSlice `$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 SourceCasts a string into a number
Arguments
Name | Type | Default | Description |
---|---|---|---|
$value | String | Number | Value to be parsed |
# to-length
View SourceAdd `$unit` to `$value`
Arguments
Name | Type | Default | Description |
---|---|---|---|
$value | Number | Value to add unit to | |
$unit | String | String representation of the unit |