1.0.0 • Published 1 year ago
typographics v1.0.0
➤ Install
$ yarn add typographics
➤ Import
CSS
@import "typographics/dist";
SCSS
@import "typographics/src";
➤ Settings
Variable | Default | Description |
---|---|---|
--min-fs | .75 | Sets the minimum font size from which scaling starts. |
--max-fs | 1 | Sets the maximum font size at which scaling ends. |
--min-vw | 600 | Sets the minimum viewport width in pixels from which font size scaling starts. |
--max-vw | 1440 | Sets the maximum viewport width in pixels at which font size scaling ends. |
--font-family-base | "Inter" | Sets the default font family. |
--line-height-base | 1.5 | Sets the default line height. |
--line-height-heading | 1.3em | Sets the line height for headings. |
➤ License
typographics is released under MIT license