Skip to content

Commit 54b2a03

Browse files
jelbournkara
authored andcommitted
feat(theming): make warn palette optional (#1312)
1 parent f9116f3 commit 54b2a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/core/theming/_theming.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060

6161
// Creates a container object for a light theme to be given to individual component theme mixins.
62-
@function md-light-theme($primary, $accent, $warn) {
62+
@function md-light-theme($primary, $accent, $warn: md-palette($md-red)) {
6363
@return (
6464
primary: $primary,
6565
accent: $accent,
@@ -72,7 +72,7 @@
7272

7373

7474
// Creates a container object for a dark theme to be given to individual component theme mixins.
75-
@function md-dark-theme($primary, $accent, $warn) {
75+
@function md-dark-theme($primary, $accent, $warn: md-palette($md-red)) {
7676
@return (
7777
primary: $primary,
7878
accent: $accent,

0 commit comments

Comments
 (0)