This project is no longer maintained and it is recommended to use Geist UI
You can get the Typography style from Geist UI here.
@geist-ui/typography
consists of themes
and typography
. Package themes
is the basic variables, Package typography
is the text styles.
-
Install:
npm i @geist-ui/themes @geist-ui/typography
-
Import:
import '@geist-ui/themes'
import '@geist-ui/typography'
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/@geist-ui/typography@latest/umd.css"></script>