typography.js icon indicating copy to clipboard operation
typography.js copied to clipboard

Allow easier access to header / body font families for overrides

Open jaredly opened this issue 8 years ago • 1 comments

Looks like the current best way to get the headerFontFamily into something that's not an hX or similar is this, taken from gatsby:

            css={{

              fontFamily: typography.options.headerFontFamily.join(`,`),
            }}

it would be great to provide a helper method that would make it feel first-class

jaredly avatar Jul 15 '17 21:07 jaredly

good idea! Now that Gatsby is at a 1.0, planning on circling back to Typography.js sooner than later to get it over the hump to a 1.0.

KyleAMathews avatar Jul 19 '17 00:07 KyleAMathews