A fork of Capsize used to generate a typographic scale (https://github.com/seek-oss/capsize)
Generate the typographic scale by running generate-typographic-scale.js
:
node generate-typographic-scale.js
Add it to your Chakra UI theme under the key typography
:
{
"typography": {
"sm": { ... },
}
}
Then render the text.js
component.