Skip to content

Commit

Permalink
Update gradient colors
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Jun 28, 2024
1 parent 575420b commit cca384f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/theme.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
)
}
Expand Down
Binary file modified tests/link/ref/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/link/ref/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cca384f

Please sign in to comment.