New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typographic

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographic - npm Package Compare versions

Comparing version

to
2.2.0

2

bower.json
{
"name": "typographic",
"version": "2.1.1",
"version": "2.2.0",
"homepage": "https://github.com/corysimmons/typographic",

@@ -5,0 +5,0 @@ "authors": [

@@ -7,3 +7,3 @@ {

"main": "typographic.js",
"version": "2.1.1",
"version": "2.2.0",
"description": "Responsive typography with modular scale, font stacks, and more.",

@@ -10,0 +10,0 @@ "keywords": [

@@ -25,4 +25,4 @@ <p align="center">

```stylus
$ratio = $golden
$line-height-ratio = $golden
$line-height-ratio = 1.75
$header-ratio = $golden
$body-font = $helvetica

@@ -134,3 +134,9 @@ $body-font-weight = 300

### Credit
[Mike Riethmuller](http://twitter.com/MikeRiethmuller) came up with the idea of using `calc` with `vw` to create scaling typography [here](http://madebymike.com.au/writing/precise-control-responsive-typography/).
### Caveats
- Slow in Sass because Sass doesn't support calculating decimals in exponents by default. Luckily you only have to change a few variables to get your compiled typography stylesheet then you can un-import Typographic. If lack of solid math in native Sass bothers you, please chime in on this [issue](https://github.com/sass/sass/issues/684).
### Credits
- [Mike Riethmuller](http://twitter.com/MikeRiethmuller) came up with the idea of using `calc` with `vw` to create scaling typography [here](http://madebymike.com.au/writing/precise-control-responsive-typography/).
- [Scott Kellum](https://twitter.com/scottkellum) and [Tim Brown](https://twitter.com/timbrown) for [Modular Scale](http://www.modularscale.com/).
- [David Khourshid](https://twitter.com/davidkpiano) for calculating [decimal exponents](https://gist.github.com/davidkpiano/ad6e6771df050ff3727f) in Sass.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet