summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-sharp.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/visualize/gradient-sharp.typ')
-rw-r--r--tests/typ/visualize/gradient-sharp.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/visualize/gradient-sharp.typ b/tests/typ/visualize/gradient-sharp.typ
index 1f090f7e..89841efd 100644
--- a/tests/typ/visualize/gradient-sharp.typ
+++ b/tests/typ/visualize/gradient-sharp.typ
@@ -9,6 +9,10 @@
size: 100pt,
fill: gradient.radial(..color.map.rainbow, space: color.hsl).sharp(10),
)
+#square(
+ size: 100pt,
+ fill: gradient.conic(..color.map.rainbow, space: color.hsl).sharp(10),
+)
---
#square(
@@ -19,3 +23,7 @@
size: 100pt,
fill: gradient.radial(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%),
)
+#square(
+ size: 100pt,
+ fill: gradient.conic(..color.map.rainbow, space: color.hsl).sharp(10, smoothness: 40%),
+)