diff options
Diffstat (limited to 'tests/typ/visualize/gradient-sharp.typ')
| -rw-r--r-- | tests/typ/visualize/gradient-sharp.typ | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/typ/visualize/gradient-sharp.typ b/tests/typ/visualize/gradient-sharp.typ index e19df58f..424beb8b 100644 --- a/tests/typ/visualize/gradient-sharp.typ +++ b/tests/typ/visualize/gradient-sharp.typ @@ -1,4 +1,13 @@ // Test sharp gradients. --- -#square(size: 100pt, fill: gradient.linear(..color.map.rainbow).sharp(10)) +#square( + size: 100pt, + fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10), +) + +--- +#square( + size: 100pt, + fill: gradient.linear(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%), +) |
