summaryrefslogtreecommitdiff
path: root/docs/src/reference
diff options
context:
space:
mode:
authorLaurenz Stampfl <47084093+LaurenzV@users.noreply.github.com>2023-03-25 13:38:32 +0100
committerGitHub <noreply@github.com>2023-03-25 13:38:32 +0100
commit25e8520a4e58d4d91052b956b42127b677a50fcf (patch)
tree15430b586edb53521e64a3b415e04a6812a425f1 /docs/src/reference
parent65456208916451c165efb8e3d6ac5870a04cac4e (diff)
Added return type to methods of colors in docs (#291)
Diffstat (limited to 'docs/src/reference')
-rw-r--r--docs/src/reference/types.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md
index 31b41598..aabe8851 100644
--- a/docs/src/reference/types.md
+++ b/docs/src/reference/types.md
@@ -153,16 +153,20 @@ Lightens a color.
- amount: ratio (positional, required)
The factor to lighten the color by.
+- returns: color
### darken()
Darkens a color.
- amount: ratio (positional, required)
The factor to darken the color by.
+- returns: color
### negate()
Produces the negative of the color.
+- returns: color
+
# Symbol
A Unicode symbol.