From e6b1a72a6388d11998c8f3f3cdb59475a876c74b Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Fri, 27 Sep 2024 15:55:55 -0600 Subject: [PATCH] next --- ci/release/changelogs/next.md | 1 + lib/color/color.go | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 460e4b017..71d2d53e2 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -6,6 +6,7 @@ - Autoformat: Reserved keywords are formatted to be lowercase [#2098](https://github.com/terrastruct/d2/pull/2098) - Misc: characters in the unicode range for Latin-1 and geometric shapes are measured more accurately [#2100](https://github.com/terrastruct/d2/pull/2100) - Imports: can now import from absolute file paths [#2113](https://github.com/terrastruct/d2/pull/2113) +- Render: linear and radial gradients are now available for `fill`, `stroke` and `font-color` [#2120](https://github.com/terrastruct/d2/pull/2120) #### Improvements 🧹 diff --git a/lib/color/color.go b/lib/color/color.go index d826a2eee..cbd8971f7 100644 --- a/lib/color/color.go +++ b/lib/color/color.go @@ -9,6 +9,7 @@ import ( "github.com/lucasb-eyer/go-colorful" "github.com/mazznoer/csscolorparser" + "oss.terrastruct.com/util-go/go2" )