tachyons-letter-spacing
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "tachyons-letter-spacing", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"style": "tachyons-letter-spacing.css", | ||
"homepage": "http://github.com/mrmrs/tachyons-letter-spacing", | ||
"description": "Performance based css module.", | ||
"keywords": [ | ||
"oocss", | ||
"rework", | ||
"css", | ||
"rwd", | ||
"design", | ||
"tachyons", | ||
"css performance" | ||
], | ||
"keywords": [], | ||
"repository": { | ||
@@ -31,28 +23,7 @@ "type": "git", | ||
"devDependencies": { | ||
"bl": "^0.9.4", | ||
"gulp": "^3.8.11", | ||
"gulp-basswork": "^0.1.0", | ||
"gulp-minify-css": "^0.4.6", | ||
"gulp-rename": "^1.2.0", | ||
"gulp-size": "^1.2.1", | ||
"gulp-webserver": "^0.9.0", | ||
"readable-stream": "^1.0.33", | ||
"through2": "^0.6.3", | ||
"vinyl-transform": "^1.0.0", | ||
"autoprefixer": "^5.2.0", | ||
"cssnano": "^2.6.1", | ||
"immutable-css": "^0.1.0", | ||
"node-minify": "^1.2.0", | ||
"perfectionist": "^1.3.1", | ||
"pixrem": "^1.3.1", | ||
"postcss": "^4.1.16", | ||
"postcss-browser-reporter": "^0.3.0", | ||
"postcss-conditionals": "^1.3.0", | ||
"postcss-css-variables": "^0.4.0", | ||
"postcss-custom-media": "^4.1.0", | ||
"postcss-import": "^6.2.0" | ||
"tachyons-cli": "^0.3.1" | ||
}, | ||
"scripts": { | ||
"start": "node build.js" | ||
"start": "tachyons src/tachyons-letter-spacing.css > css/tachyons-letter-spacing.css && tachyons src/tachyons-letter-spacing.css --minify > css/tachyons-letter-spacing.min.css && tachyons src/tachyons-letter-spacing.css --generate-docs --package=../../package.json > readme.md" | ||
} | ||
} |
122
README.md
@@ -1,16 +0,59 @@ | ||
# TACHYONS-LETTER-SPACING | ||
# tachyons-letter-spacing 1.1.0 | ||
http://tachyons.io | ||
Performance based css module. | ||
Work In Progress. Pull requests and open issues welcome. | ||
#### Stats | ||
## Install | ||
198 | 12 | 12 | ||
---|---|--- | ||
bytes | selectors | declarations | ||
## Installation | ||
#### With [npm](https://npmjs.com) | ||
``` | ||
npm install --save-dev tachyons-letter-spacing | ||
``` | ||
or download the css on github and include in your project. | ||
## The Code | ||
#### With Git | ||
``` | ||
git clone https://github.com/tachyons-css/tachyons-letter-spacing | ||
``` | ||
## Usage | ||
#### Using with [PostCSS](https://github.com/postcss/postcss) | ||
Import the css module | ||
```css | ||
@import "tachyons-letter-spacing"; | ||
``` | ||
Then process the CSS using the [`tachyons-cli`](https://github.com/tachyons-css/tachyons-cli) | ||
```sh | ||
$ npm i -g tachyons-cli | ||
$ tachyons-cli path/to/css-file.css > dist/t.css | ||
``` | ||
#### Using the CSS | ||
The built CSS is located in the `css` directory. It contains an unminified and minified version. | ||
You can either cut and paste that css or link to it directly in your html. | ||
```html | ||
<link rel="stylesheet" href="path/to/module/css/tachyons-letter-spacing"> | ||
``` | ||
#### Development | ||
The source CSS files can be found in the `src` directory. | ||
Running `$ npm start` will process the source CSS and place the built CSS in the `css` directory. | ||
## The CSS | ||
```css | ||
/* | ||
@@ -21,53 +64,38 @@ | ||
*/ | ||
.tracked { letter-spacing: .16em; } | ||
.tracked-tight { letter-spacing: -.1em; } | ||
.mega-tracked { letter-spacing: .3em; } | ||
@include break(not-small) { | ||
.tracked-ns { letter-spacing: .16em; } | ||
.tracked-tight-ns { letter-spacing: -.1em; } | ||
.mega-tracked-ns { letter-spacing: .3em; } | ||
.tracked { letter-spacing: .16em; } | ||
.tracked-tight { letter-spacing: -.05em; } | ||
.tracked-mega { letter-spacing: .3em; } | ||
@media screen and (min-width: 48em) { | ||
.tracked-ns { letter-spacing: .16em; } | ||
.tracked-tight-ns { letter-spacing: -.1em; } | ||
.tracked-mega-ns { letter-spacing: .3em; } | ||
} | ||
@include break(medium) { | ||
.tracked-m { letter-spacing: .16em; } | ||
.tracked-tight-m { letter-spacing: -.1em; } | ||
.mega-tracked-m { letter-spacing: .3em; } | ||
@media screen and (min-width: 48em) and (max-width: 64em) { | ||
.tracked-m { letter-spacing: .16em; } | ||
.tracked-tight-m { letter-spacing: -.1em; } | ||
.tracked-mega-m { letter-spacing: .3em; } | ||
} | ||
@include break(large) { | ||
.tracked-l { letter-spacing: .16em; } | ||
.tracked-tight-l { letter-spacing: -.1em; } | ||
.mega-tracked-l { letter-spacing: .3em; } | ||
@media screen and (min-width: 64em) { | ||
.tracked-l { letter-spacing: .16em; } | ||
.tracked-tight-l { letter-spacing: -.1em; } | ||
.tracked-mega-l { letter-spacing: .3em; } | ||
} | ||
``` | ||
## Author | ||
## Contributing | ||
[mrmrs](http://mrmrs.io) | ||
1. Fork it | ||
2. Create your feature branch (`git checkout -b my-new-feature`) | ||
3. Commit your changes (`git commit -am 'Add some feature'`) | ||
4. Push to the branch (`git push origin my-new-feature`) | ||
5. Create new Pull Request | ||
## License | ||
## Authors | ||
The MIT License (MIT) | ||
* [mrmrs](http://mrmrs.io) | ||
* [johno](http://johnotander.com) | ||
Copyright (c) 2015 @mrmrs | ||
## License | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
MIT | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
12313
1
11
101
101
2