1.0.0 • Published 1 year ago

typographics v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

npm GitHub package version NPM Downloads

Install

$ yarn add typographics

Import

CSS

@import "typographics/dist";

SCSS

@import "typographics/src";

Settings

VariableDefaultDescription
--min-fs.75Sets the minimum font size from which scaling starts.
--max-fs1Sets the maximum font size at which scaling ends.
--min-vw600Sets the minimum viewport width in pixels from which font size scaling starts.
--max-vw1440Sets the maximum viewport width in pixels at which font size scaling ends.
--font-family-base"Inter"Sets the default font family.
--line-height-base1.5Sets the default line height.
--line-height-heading1.3emSets the line height for headings.

License

typographics is released under MIT license