Skip to content

Commit 2f3e9db

Browse files
committed
fix(theme): update default theme
1 parent 7b3698c commit 2f3e9db

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/components/button/_button-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
// Applies specified coloring to three supported palettes
3-
@mixin md-button-theme ($property, $color:500, $opacity: 1) {
3+
@mixin md-button-theme ($property, $color: 'default', $opacity: 1) {
44
&.md-primary {
55
#{$property}: md-color($md-primary, $color, $opacity);
66
}

src/components/checkbox/checkbox.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $md-checkbox-border-color: if($md-is-dark-theme, rgba(white, 0.7), rgba(black, 0
1313
/** The color of the checkbox's checkmark / mixedmark. */
1414
$md-checkbox-mark-color: md-color($md-background, background);
1515
/** The color that is used as the checkbox background when it is checked. */
16-
$md-checkbox-background-color: md-color($md-primary, 500);
16+
$md-checkbox-background-color: md-color($md-accent, 500);
1717
/** The base duration used for the majority of transitions for the checkbox. */
1818
$md-checkbox-transition-duration: 90ms;
1919
/** The amount of spacing between the checkbox and its label. */

src/core/style/_default-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
$md-is-dark-theme: false;
77

88

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

0 commit comments

Comments
 (0)