@import 'sizing';

// font-size($pixel-equivalent)
//
// Generate font-size declaration with an rem value.
//
// $pixel-equivalent - Pixel value passed in as a unitless value.
@mixin font-size($pixel-equivalent) {
  font-size: rem($pixel-equivalent);
}

// leading($line-height, $font-size)
//
// Generate line-height declaration with a unitless value.
//
// $line-height - Unitless Pixel value of expected line-height.
// $font-size - Unitless Pixel value of targeted element's font-size.
@mixin leading($line-height, $font-size) {
  line-height: $line-height / $font-size;
}

@mixin tracking($tracking) {
  letter-spacing: $tracking / 1000 * 1em;
}

@import 'sizing';

// font-size($pixel-equivalent)
//
// Generate font-size declaration with an rem value.
//
// $pixel-equivalent - Pixel value passed in as a unitless value.
@mixin font-size($pixel-equivalent) {
  font-size: rem($pixel-equivalent);
}

// leading($line-height, $font-size)
//
// Generate line-height declaration with a unitless value.
//
// $line-height - Unitless Pixel value of expected line-height.
// $font-size - Unitless Pixel value of targeted element's font-size.
@mixin leading($line-height, $font-size) {
  line-height: $line-height / $font-size;
}

// leading($tracking)
//
// Generate letter-spacing based on Photoshop's trackin value.
//
// $tracking - Unitless integer from Photoshop's tracking field.
@mixin tracking($tracking) {
  letter-spacing: $tracking / 1000 * 1em;
}

Add documetation for `tracking()` mixin
Add documetation for `tracking()` mixin
