From 5a7bb7cfcbc738bec6633d752ff18dc24e4696c7 Mon Sep 17 00:00:00 2001 From: Felix Scholze <felix@webshaped.de> Date: Sat, 26 Aug 2023 18:25:52 +0200 Subject: [PATCH] fix(generate-mixed-colors): doc block throws sassdoc error --- functions/_colors.scss | 10 +++++----- package.json | 10 +++++++++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/functions/_colors.scss b/functions/_colors.scss index 8842e94..344b681 100644 --- a/functions/_colors.scss +++ b/functions/_colors.scss @@ -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 diff --git a/package.json b/package.json index a98da83..73ddc0f 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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",