Skip to content

Commit cca384f

Browse files
committed
Update gradient colors
1 parent 575420b commit cca384f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/theme.typ

+8-2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
let red = rgb(255, 203, 195)
104104
let gray = rgb(239, 240, 243)
105105
let purple = rgb(230, 218, 255)
106+
let gradient-colors = (
107+
(rgb("#7cd5ff"), 0%),
108+
(rgb("#a6fbca"), 33%),
109+
(rgb("#fff37c"), 66%),
110+
(rgb("#ffa49d"), 100%),
111+
)
106112

107113
(
108114
// special
@@ -139,8 +145,8 @@
139145
relative: purple,
140146

141147
// visualize
142-
color: gradient.linear(..color.map.spectral, angle: 180deg),
143-
gradient: gradient.linear(..color.map.spectral, angle: 180deg),
148+
color: gradient.linear(..gradient-colors),
149+
gradient: gradient.linear(..gradient-colors),
144150
stroke: gray,
145151
)
146152
}

tests/link/ref/6.png

-86 Bytes
Loading

tests/link/ref/7.png

-164 Bytes
Loading

0 commit comments

Comments
 (0)