Skip to content

Commit

Permalink
adding transition fill property and readme entry
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbagwell committed Apr 21, 2014
1 parent a66c3c5 commit e791f01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -38,6 +38,10 @@ Transition the border color to the specified color.

Transition the background color to the specified color.

####.fill-color-transition(@color; @time; @easing;)

Transition the svg fill color property.




Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "granite",
"version": "1.0.0",
"version": "1.1.3",
"description": "A CSS3/less extension library for Bedrock",
"main": "granite.less",
"author": {
Expand Down
5 changes: 5 additions & 0 deletions mixins/color.less
Expand Up @@ -11,4 +11,9 @@
.background-color-transition(@color; @time: .3s; @easing:ease-in-out;) {
background-color: @color;
.transition(background-color @time @easing);
}

.fill-color-transition(@color; @time: .3s; @easing:ease-in-out;) {
fill: @color;
.transition(fill @time @easing);
}

0 comments on commit e791f01

Please sign in to comment.