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

fix(toolbar button): Fix color of raised buttons. #5562

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/components/toolbar/demoBasicUsage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

<md-content>

<br>

<md-toolbar>
<div class="md-toolbar-tools">
<md-button class="md-icon-button" aria-label="Settings">
Expand All @@ -23,6 +25,26 @@ <h2>

<br>

<md-toolbar>
<div class="md-toolbar-tools">
<md-button aria-label="Go Back">
Go Back
</md-button>
<h2>
<span>Toolbar with Standard Buttons</span>
</h2>
<span flex></span>
<md-button class="md-raised" aria-label="Learn More">
Learn More
</md-button>
<md-button class="md-fab md-mini" aria-label="Favorite">
<md-icon md-svg-icon="img/icons/favorite.svg"></md-icon>
</md-button>
</div>
</md-toolbar>

<br>

<md-toolbar class="md-tall md-accent">
<h2 class="md-toolbar-tools">
<span>Toolbar: tall (md-accent)</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/toolbar/toolbar-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) {
color: '{{primary-contrast}}';
}

.md-button {
.md-button:not(.md-raised) {
color: '{{primary-contrast}}';
}

Expand Down