tachyons-type-scale
Advanced tools
Comparing version 5.0.7 to 6.0.0
{ | ||
"name": "tachyons-type-scale", | ||
"version": "5.0.7", | ||
"version": "6.0.0", | ||
"style": "src/tachyons-type-scale.css", | ||
@@ -22,3 +22,3 @@ "description": "Performance based css module.", | ||
"devDependencies": { | ||
"tachyons-cli": "^0.6.1", | ||
"tachyons-cli": "^1.0.2", | ||
"watch": "^0.19.1" | ||
@@ -25,0 +25,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
# tachyons-type-scale 5.0.4 | ||
# tachyons-type-scale 6.0.0 | ||
@@ -7,3 +7,3 @@ Performance based css module. | ||
318 | 40 | 32 | ||
317 | 40 | 32 | ||
---|---|--- | ||
@@ -20,4 +20,9 @@ bytes | selectors | declarations | ||
Learn more about using css installed with npm: | ||
* https://webpack.github.io/docs/stylesheets.html | ||
* https://github.com/defunctzombie/npm-css | ||
#### With Git | ||
http: | ||
``` | ||
@@ -27,2 +32,7 @@ git clone https://github.com/tachyons-css/tachyons-type-scale | ||
ssh: | ||
``` | ||
git clone git@github.com:tachyons-css/tachyons-type-scale.git | ||
``` | ||
## Usage | ||
@@ -47,2 +57,10 @@ | ||
##### CDN | ||
The easiest and most simple way to use the css is to use the cdn hosted version. Include it in the head of your html with: | ||
``` | ||
<link rel="stylesheet" href="http://npmcdn.com/tachyons-type-scale@6.0.0/css/tachyons-type-scale.min.css" /> | ||
``` | ||
##### Locally | ||
The built CSS is located in the `css` directory. It contains an unminified and minified version. | ||
@@ -78,3 +96,3 @@ You can either cut and paste that css or link to it directly in your html. | ||
.f6 { font-size: .875rem; } | ||
@media screen and (min-width: 48em) { | ||
@media screen and (min-width: 30em) { | ||
.f-6-ns, .f-headline-ns { font-size: 6rem; } | ||
@@ -89,3 +107,3 @@ .f-5-ns, .f-subheadline-ns { font-size: 5rem; } | ||
} | ||
@media screen and (min-width: 48em) and (max-width: 64em) { | ||
@media screen and (min-width: 30em) and (max-width: 60em) { | ||
.f-6-m, .f-headline-m { font-size: 6rem; } | ||
@@ -100,3 +118,3 @@ .f-5-m, .f-subheadline-m { font-size: 5rem; } | ||
} | ||
@media screen and (min-width: 64em) { | ||
@media screen and (min-width: 60em) { | ||
.f-6-l, .f-headline-l { font-size: 6rem; } | ||
@@ -128,3 +146,3 @@ .f-5-l, .f-subheadline-l { font-size: 5rem; } | ||
MIT | ||
ISC | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8730
141