typography-theme-ashby-bart
v0.1.0
Published
A theme for Typography.js
Downloads
2
Maintainers
Readme
Ashby BART — a Typography.js theme
A theme for Typography.js by Rich
Install
npm install --save typography typography-theme-ashby-bart
Usage
import Typography from 'typography'
import Ashby from 'typography-theme-ashby-bart'
const typography = new Typography(Ashby)
More on theme
Ashby BART splits colors and some text variables into their own objects within a separate constants.js
file for easier experimentation. Font-families and weights are defined within the Typography theme object. The fonts used in the Ashby BART theme are "Quicksand" for headers and "EB Garamond" for body-text. Both are available from the https://fonts.google.com CDN.