inter-metrics
v0.3.0
Published
Dynamic Metrics calculator for Inter font
Downloads
5
Readme
inter-metrics
Dynamic Metrics calculator for Inter font
Installation
npm install inter-metrics
Usage
import { textStyle } from "inter-metrics";
textStyle(16);
// {
// "fontSize": 16,
// "letterSpacing": -0.011,
// "lineHeight": 22.4
// }
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT