Typographic for Zeit Design
You can get the Typographic style from Zeit design here.
How to start
@zeit-ui/typographic
consists of themes
and typographic
. Package themes
is the basic variables, Package typographic
is the text styles.
Used in npm project
-
Install
themes
andtypographic
:npm i @zeit-ui/themes @zeit-ui/typographic
-
Import:
import '@zeit-ui/themes'
import '@zeit-ui/typographic'
Used by CDN
Sometimes you just need a simple project, like only one .html
file,
you can choose the packaged UMD file on CDN (the umd package is still mini, ≈≈ 1kb):
<script src="https://cdn.jsdelivr.net/npm/@zeit-ui/typographic@latest/umd.css"></script>