Skip to content

Commit

Permalink
Merge pull request #1 from JSBros/v0.1.1
Browse files Browse the repository at this point in the history
uiGradients v0.1.1
  • Loading branch information
Garet McKinley authored Nov 9, 2016
2 parents 68edab6 + 00d2ee5 commit e49d016
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uigradients",
"version": "0.1.0",
"version": "0.1.1",
"description": "a uigradients.com generator for styled-components.",
"main": "dist/uigradients.js",
"scripts": {
Expand All @@ -20,7 +20,7 @@
"url": "git+https://github.com/garetmckinley/uigradients.git"
},
"author": "Garet McKinley",
"license": "ISC",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
Expand Down
8 changes: 8 additions & 0 deletions src/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ background-image: -webkit-linear-gradient(
${angle}deg,
${gradients[gradient][0]},
${gradients[gradient][1]});
background-image: -moz-linear-gradient(
${angle}deg,
${gradients[gradient][0]},,
${gradients[gradient][1]});
background-image: -o-linear-gradient(
${angle}deg,
${gradients[gradient][0]},,
${gradients[gradient][1]});
background-image: linear-gradient(
${angle}deg,
${gradients[gradient][0]},
Expand Down

0 comments on commit e49d016

Please sign in to comment.