Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(mdButton): add default color, update docs
Browse files Browse the repository at this point in the history
Closes #1486
  • Loading branch information
Marcy Sutton committed Feb 19, 2015
1 parent 5d7b63b commit a80804b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $button-fab-toast-offset: $button-fab-height * 0.75;
}

.md-button {
color: currentColor;

user-select: none;
position: relative; //for child absolute-positioned <canvas>
Expand Down
7 changes: 5 additions & 2 deletions src/components/button/demoBasicUsage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
</section>

<section layout="row" layout-sm="column" layout-align="center center">
<md-button ng-href="{{googleUrl}}" target="_blank">Go to Google</md-button>
<md-button>RSVP</md-button>
<md-button ng-href="{{googleUrl}}" target="_blank">Default Link</md-button>
<md-button class="md-primary" ng-href="{{googleUrl}}" target="_blank">Primary Link</md-button>

<md-button>Default Button</md-button>
<div class="label">Link vs. Button</div>
</section>

<section layout="row" layout-sm="column" layout-align="center center">
Expand Down

0 comments on commit a80804b

Please sign in to comment.