Skip to content

Commit

Permalink
fix(theme): update default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
kara committed Apr 25, 2016
1 parent 7b3698c commit 2f3e9db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/button/_button-theme.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Applies specified coloring to three supported palettes
@mixin md-button-theme ($property, $color:500, $opacity: 1) {
@mixin md-button-theme ($property, $color: 'default', $opacity: 1) {
&.md-primary {
#{$property}: md-color($md-primary, $color, $opacity);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $md-checkbox-border-color: if($md-is-dark-theme, rgba(white, 0.7), rgba(black, 0
/** The color of the checkbox's checkmark / mixedmark. */
$md-checkbox-mark-color: md-color($md-background, background);
/** The color that is used as the checkbox background when it is checked. */
$md-checkbox-background-color: md-color($md-primary, 500);
$md-checkbox-background-color: md-color($md-accent, 500);
/** The base duration used for the majority of transitions for the checkbox. */
$md-checkbox-transition-duration: 90ms;
/** The amount of spacing between the checkbox and its label. */
Expand Down
6 changes: 3 additions & 3 deletions src/core/style/_default-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
$md-is-dark-theme: false;


$md-primary: md-palette($md-blue, 500, 100, 700, $md-contrast-palettes);
$md-accent: md-palette($md-red, A200, A100, A400, $md-contrast-palettes);
$md-warn: md-palette($md-orange, 500, 300, 800, $md-contrast-palettes);
$md-primary: md-palette($md-teal, 500, 100, 700, $md-contrast-palettes);
$md-accent: md-palette($md-purple, 500, 300,800, $md-contrast-palettes);
$md-warn: md-palette($md-red, 500, 300, 900, $md-contrast-palettes);
$md-foreground: if($md-is-dark-theme, $md-dark-theme-foreground, $md-light-theme-foreground);
$md-background: if($md-is-dark-theme, $md-dark-theme-background, $md-light-theme-background);

0 comments on commit 2f3e9db

Please sign in to comment.