typographics
➤ 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 will begin. |
--max-fs |
1 |
Sets the maximum font size at which the scaling will end. |
--min-vw |
80 |
Sets the minimum width of the viewport from which the font size scaling will begin. |
--max-vw |
120 |
Sets the maximum width of the viewport at which the font size scaling will end. |
➤ License
typographics is released under MIT license