Skip to content

Instantly share code, notes, and snippets.

@steroyle
Last active November 24, 2015 22:54
Show Gist options
  • Save steroyle/5a96735a0f9b90badcb7 to your computer and use it in GitHub Desktop.
Save steroyle/5a96735a0f9b90badcb7 to your computer and use it in GitHub Desktop.
Sass mixin for converting Photoshop kerning value to letter spacing in em
//convert kerning to letter spacing
@function calc-letter-spacing($kerningValue) {
@return #{$kerningValue / 1000}em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment