Skip to content

Commit

Permalink
fix(generate-mixed-colors): doc block throws sassdoc error
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Aug 26, 2023
1 parent 214dcf3 commit 5a7bb7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 5 additions & 5 deletions functions/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ $is-test: false !default;
}

/// Generate a map of colors that are mixed between three colors with a peak point for color2.
/// @param $color1 - The first color.
/// @param $color2 - The second color.
/// @param $color3 - The third color.
/// @param $steps - The number of steps to generate.
/// @param $color2-peak - The peak point for color2.
/// @param {Color} $color1 - The first color.
/// @param {Color} $color2 - The second color.
/// @param {Color} $color3 - The third color.
/// @param {Number} $steps [20] - The number of steps to generate.
/// @param {Number} $color2-peak [11] - The peak point for color2.
/// @return {Map} - The map of colors.
/// @group Color
/// @author https://github.com/red-freak
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
"url": "https://webshaped.de"
},
"funding": [
{
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/felix-berlin"
},
{
"type": "Ko-fi",
"url": "https://ko-fi.com/felixberlin"
},
{
"type": "PayPal",
"url": "https://paypal.me/FelixScholze"
Expand All @@ -30,7 +38,7 @@
"node": ">=12"
},
"scripts": {
"sassDoc": "sassdoc mixins/ functions/",
"sassDoc": "sassdoc -v mixins/ functions/",
"lint": "stylelint \"**/*.{sass,scss}\"",
"lint:fix": "stylelint \"**/*.{sass,scss}\" --fix",
"test": "jest",
Expand Down

0 comments on commit 5a7bb7c

Please sign in to comment.