Created
July 15, 2016 07:31
-
-
Save timneutkens/f53425dcac9453c3566e51956bad78ff to your computer and use it in GitHub Desktop.
Find typekit fonts. Run this in your console.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('html').attr('class') | |
.split(' ') | |
.filter( function (word) { | |
return word.match(/wf-(.*)-active/g); } | |
) | |
.forEach( function (font) { | |
console.log(font.replace(/wf-|-active/g, '')) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment