/* ==============================================
   Functions
============================================== */

/**
 * Shorthand for local image url path for use in backgrounds.
 *
   `background: image-url("arrow.png") no-repeat 0 0;`
 * 
 */
@function image-url($filename) {
  @return url($image-path + $filename);
}

/**
 * Shorthand for quick em calculations.
 *
   `font-size: em(24px);`
 *
 */
@function em($target, $context: $base-size) {
  @return ($target / $context) * 1em;
}