Skip to content

Commit

Permalink
fix(config): missing $color parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdamevin committed Feb 9, 2024
1 parent 9d7d04e commit df81c74
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@
/// @include theme.config("foo");
///
/// @param {String} $prefix - The custom property prefix.
/// @param {String} $color - The custom color module.
///
@mixin config($prefix: null) {
@mixin config($prefix: null, $color: null) {
@if $prefix {
variables.$prefix: $prefix;
}

@if $color {
variables.$color: $color;
}
}

0 comments on commit df81c74

Please sign in to comment.