Skip to content

Commit

Permalink
style(covalent): color palette apply
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikaweb committed Mar 15, 2017
1 parent 4bc05c3 commit bcadeb3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<button (click)="change(distance)"
<button class="button-radius" (click)="change(distance)"
md-mini-fab [color]="setColor()">
{{distance}}
</button>
6 changes: 6 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import 'theme';
// <main toolbar header> //
@media (max-width: 960px) {
md-toolbar {
Expand Down Expand Up @@ -45,3 +46,8 @@ app-activity-indicator {
height: 5px;
z-index: 1;
}

// <radius buttons not active< //
.mat-primary.button-radius {
background-color: mat-color($primary, 400);
}
4 changes: 2 additions & 2 deletions src/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue.
$primary: mat-palette($mat-blue, 700);
$accent: mat-palette($mat-orange, 800, A100, A400);
$primary: mat-palette($mat-red, A700, 700, 400);
$accent: mat-palette($mat-blue-grey, 200, 400);

// The warn palette is optional (defaults to red).
$warn: mat-palette($mat-red, 600);
Expand Down

0 comments on commit bcadeb3

Please sign in to comment.