summaryrefslogtreecommitdiff
path: root/tests/typ/visualize/gradient-presets.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/visualize/gradient-presets.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/visualize/gradient-presets.typ')
-rw-r--r--tests/typ/visualize/gradient-presets.typ33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/typ/visualize/gradient-presets.typ b/tests/typ/visualize/gradient-presets.typ
deleted file mode 100644
index ca1a7007..00000000
--- a/tests/typ/visualize/gradient-presets.typ
+++ /dev/null
@@ -1,33 +0,0 @@
-// Test all gradient presets.
-
----
-#set page(width: 200pt, height: auto, margin: 0pt)
-#set text(fill: white, size: 18pt)
-#set text(top-edge: "bounds", bottom-edge: "bounds")
-
-#let presets = (
- ("turbo", color.map.turbo),
- ("cividis", color.map.cividis),
- ("rainbow", color.map.rainbow),
- ("spectral", color.map.spectral),
- ("viridis", color.map.viridis),
- ("inferno", color.map.inferno),
- ("magma", color.map.magma),
- ("plasma", color.map.plasma),
- ("rocket", color.map.rocket),
- ("mako", color.map.mako),
- ("vlag", color.map.vlag),
- ("icefire", color.map.icefire),
- ("flare", color.map.flare),
- ("crest", color.map.crest),
-)
-
-#stack(
- spacing: 3pt,
- ..presets.map(((name, preset)) => block(
- width: 100%,
- height: 20pt,
- fill: gradient.linear(..preset),
- align(center + horizon, smallcaps(name)),
- ))
-)