Skip to content

Commit

Permalink
Added extra argument for text-color and updated bower.json
Browse files Browse the repository at this point in the history
  • Loading branch information
lipis committed Nov 3, 2013
1 parent a028038 commit f5aff01
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bootstrap-social.less
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
}
}

.btn-social(@color) {
background-color: @color;
.button-variant(white, @color, rgba(0, 0, 0, 0.2));
.btn-social(@color-bg, @color: white) {
background-color: @color-bg;
.button-variant(@color, @color-bg, rgba(0, 0, 0, 0.2));
}


Expand Down
8 changes: 6 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"name": "bootstrap-social",
"version": "4.0.2",
"version": "4.0.3",
"ignore": [
"**/.*",
"bower.json",
"assets",
"index.html",
"LICENCE"
]
],
"dependencies": {
"bootstrap": ">= 3.0.0",
"font-awesome": ">= 4.0.0"
}
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>Social Buttons for Bootstrap</h1>
<a href="https://github.com/lipis/bootstrap-social/archive/gh-pages.zip" class="btn btn-outline btn-large"><i class="fa fa-github"></i> Download from GitHub</a>
<ul class="jumbotron-links">
<li><a href="https://github.com/lipis/bootstrap-social">GitHub Project</a></li>
<li>Version 4.0.2</li>
<li>Version 4.0.3</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -89,7 +89,7 @@ <h3>The Buttons</h3>
<div class="col-sm-4">
<h3>Available Classes</h3>
<ul class="social-class list-unstyled">
<li data-code="bitbucket" data-name="Bitbucket"><code>btn-bitbucket</code> <col-lg- class="social-hex">#205081</span></li>
<li data-code="bitbucket" data-name="Bitbucket"><code>btn-bitbucket</code> <span class="social-hex">#205081</span></li>
<li data-code="dropbox" data-name="Dropbox"><code>btn-dropbox</code> <span class="social-hex">#1087DD</span></li>
<li data-code="facebook" data-name="Facebook"><code>btn-facebook</code> <span class="social-hex">#3B5998</span></li>
<li data-code="flickr" data-name="Flickr"><code>btn-flickr</code> <span class="social-hex">#2BA9E1</span></li>
Expand Down

0 comments on commit f5aff01

Please sign in to comment.