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