Typography.js with sage


#1

Just on the offchance that anyone has had a go at using Typography.js https://github.com/KyleAMathews/typography.js in a sage site? it seems a really nice way to quickly get some good typography going although I do not know how best to incorporate this into a none react app. Its basically a set of generated css rules thats easy to customise and has themes.

I think it would have to run in webpack and output o a css file which can then be included into sass?
or the usage has a typography.toString() which could be used to insert the css into my styles with webpack?

import Typography from 'typography'

const typography = new Typography()
// Output CSS as string.
typography.toString()

// Or insert styles directly into the <head> (works well for client-only
// JS web apps.
typography.injectStyles()