summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-sharp.typ
diff options
context:
space:
mode:
authorSébastien d'Herbais de Thun <sebastien.d.herbais@gmail.com>2023-10-10 11:29:05 +0200
committerGitHub <noreply@github.com>2023-10-10 11:29:05 +0200
commitcef2d3afcae87230dbe361ef48ecb5dad50ad0a5 (patch)
treee7016794152f799d08f792a67f6547c807a8dcd0 /tests/typ/visualize/gradient-sharp.typ
parent877ee39a8c7634b85e2652e8a335be4020468dfd (diff)
Gradient Part 4 - Conic gradients (#2325)
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%),
+)