diff --git a/src/theme.typ b/src/theme.typ index ad10091..0c35cdf 100644 --- a/src/theme.typ +++ b/src/theme.typ @@ -103,6 +103,12 @@ let red = rgb(255, 203, 195) let gray = rgb(239, 240, 243) let purple = rgb(230, 218, 255) + let gradient-colors = ( + (rgb("#7cd5ff"), 0%), + (rgb("#a6fbca"), 33%), + (rgb("#fff37c"), 66%), + (rgb("#ffa49d"), 100%), + ) ( // special @@ -139,8 +145,8 @@ relative: purple, // visualize - color: gradient.linear(..color.map.spectral, angle: 180deg), - gradient: gradient.linear(..color.map.spectral, angle: 180deg), + color: gradient.linear(..gradient-colors), + gradient: gradient.linear(..gradient-colors), stroke: gray, ) } diff --git a/tests/link/ref/6.png b/tests/link/ref/6.png index 3195243..8cce72d 100644 Binary files a/tests/link/ref/6.png and b/tests/link/ref/6.png differ diff --git a/tests/link/ref/7.png b/tests/link/ref/7.png index 2a86bca..17401ef 100644 Binary files a/tests/link/ref/7.png and b/tests/link/ref/7.png differ