Socket
Socket
Sign inDemoInstall

tachyons-border-radius

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tachyons-border-radius - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

css/tachyons-border-radius.css

55

package.json
{
"name": "tachyons-border-radius",
"version": "2.1.0",
"style": "tachyons-border-radius.css",
"homepage": "http://github.com/mrmrs/tachyons-border-radius",
"description": "Performance based css module.",
"keywords": [
"oocss",
"rework",
"css",
"rwd",
"design",
"tachyons",
"css performance"
],
"repository": {
"type": "git",
"url": "http://github.com/mrmrs/tachyons-border-radius.git"
},
"bugs": {
"url": "https://github.com/mrmrs/tachyons-border-radius/issues",
"email": "hi@mrmrs.cc"
},
"description": "Border radius CSS module for Tachyons",
"version": "3.0.0",
"author": {

@@ -29,20 +10,22 @@ "name": "mrmrs",

},
"style": "src/tachyons-border-radius.css",
"files": [
"src",
"css"
],
"keywords": [
"tachyons",
"tachyons-css",
"css",
"border-radius"
],
"repository": "tachyons-css/tachyons-border-radius",
"license": "MIT",
"devDependencies": {
"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"
"devDependencies": {},
"scripts": {
"start": "tachyons src/tachyons-border-radius.css > css/tachyons-border-radius.css && tachyons src/tachyons-border-radius.css --minify > css/tachyons-border-radius.min.css && tachyons src/tachyons-border-radius.css --generate-docs --package=../../package.json > readme.md"
},
"scripts": {
"start": "node build.js"
"dependencies": {
"tachyons-cli": "^0.3.1"
}
}

@@ -1,16 +0,59 @@

# TACHYONS-BORDER-RADIUS
# tachyons-border-radius 2.1.0
http://tachyons.io
Border radius CSS module for Tachyons
Work In Progress. Pull requests and open issues welcome.
#### Stats
## Install
378 | 28 | 28
---|---|---
bytes | selectors | declarations
## Installation
#### With [npm](https://npmjs.com)
```
npm install --save-dev tachyons-border-radius
```
or download the css on github and include in your project.
## The Code
#### With Git
```
git clone https://github.com/tachyons-css/tachyons-border-radius
```
## Usage
#### Using with [PostCSS](https://github.com/postcss/postcss)
Import the css module
```css
@import "tachyons-border-radius";
```
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-border-radius">
```
#### 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
/*

@@ -20,74 +63,73 @@

*/
Base:
br = border-radius
.brn { border-radius: 0; }
.br { border-radius: .125rem; }
.br2 { border-radius: .25rem; }
.br3 { border-radius: .5rem; }
.br4 { border-radius: 1rem; }
.br5 { border-radius: 2rem; }
.br-circ { border-radius: 9999px; }
.br-100 { border-radius: 100%; }
Modifiers:
n = none
1 = 1st step in scale
2 = 2nd step in scale
3 = 3rd step in scale
4 = 4th step in scale
5 = 5th step in scale
circ = circle
-100 = 100%
@include break(not-small) {
.brn-ns { border-radius: 0; }
.br-ns { border-radius: .125rem; }
.br2-ns { border-radius: .25rem; }
.br3-ns { border-radius: .5rem; }
.br4-ns { border-radius: 1rem; }
.br5-ns { border-radius: 2rem; }
.br-circ-ns { border-radius: 9999px; }
.br-100-ns { border-radius: 100%; }
}
Media Query Extensions:
-ns = not-small
-m = medium
-l = large
@include break(medium) {
.brn-m { border-radius: 0; }
.br-m { border-radius: .125rem; }
.br2-m { border-radius: .25rem; }
.br3-m { border-radius: .5rem; }
.br4-m { border-radius: 1rem; }
.br5-m { border-radius: 2rem; }
.br-circ-m { border-radius: 9999px; }
.br-100-m { border-radius: 100%; }
*/
.brn { border-radius: 0; }
.br1 { border-radius: .125rem; }
.br2 { border-radius: .25rem; }
.br3 { border-radius: .5rem; }
.br4 { border-radius: 1rem; }
.br5 { border-radius: 2rem; }
.br-100 { border-radius: 100%; }
@media screen and (min-width: 48em) {
.brn-ns { border-radius: 0; }
.br1-ns { border-radius: .125rem; }
.br2-ns { border-radius: .25rem; }
.br3-ns { border-radius: .5rem; }
.br4-ns { border-radius: 1rem; }
.br5-ns { border-radius: 2rem; }
.br-100-ns { border-radius: 100%; }
}
@include break(large) {
.brn-l { border-radius: 0; }
.br-l { border-radius: .125rem; }
.br2-l { border-radius: .25rem; }
.br3-l { border-radius: .5rem; }
.br4-l { border-radius: 1rem; }
.br5-l { border-radius: 2rem; }
.br-circ-l { border-radius: 9999px; }
.br-100-l { border-radius: 100%; }
@media screen and (min-width: 48em) and (max-width: 64em) {
.brn-m { border-radius: 0; }
.br1-m { border-radius: .125rem; }
.br2-m { border-radius: .25rem; }
.br3-m { border-radius: .5rem; }
.br4-m { border-radius: 1rem; }
.br5-m { border-radius: 2rem; }
.br-100-m { border-radius: 100%; }
}
@media screen and (min-width: 64em) {
.brn-l { border-radius: 0; }
.br1-l { border-radius: .125rem; }
.br2-l { border-radius: .25rem; }
.br3-l { border-radius: .5rem; }
.br4-l { border-radius: 1rem; }
.br5-l { border-radius: 2rem; }
.br-100-l { border-radius: 100%; }
}
```
## 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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc