Added return type to methods of colors in docs (#291)

This commit is contained in:
Laurenz Stampfl 2023-03-25 13:38:32 +01:00 committed by GitHub
parent 6545620891
commit 25e8520a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,16 +153,20 @@ Lightens a color.
- amount: ratio (positional, required) - amount: ratio (positional, required)
The factor to lighten the color by. The factor to lighten the color by.
- returns: color
### darken() ### darken()
Darkens a color. Darkens a color.
- amount: ratio (positional, required) - amount: ratio (positional, required)
The factor to darken the color by. The factor to darken the color by.
- returns: color
### negate() ### negate()
Produces the negative of the color. Produces the negative of the color.
- returns: color
# Symbol # Symbol
A Unicode symbol. A Unicode symbol.