diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 57e5b1145..e6f26b305 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -17,3 +17,4 @@ - Error reported when no actors are declared in sequence diagram. [#886](https://github.com/terrastruct/d2/pull/886) - Fixed img bundling on image shapes. [#889](https://github.com/terrastruct/d2/issues/889) - `class` shape as sequence diagram actors had wrong colors. [#899](https://github.com/terrastruct/d2/issues/899) +- Fix regression in last release where some hex codes were not working. [#922](https://github.com/terrastruct/d2/pull/922) diff --git a/lib/color/color.go b/lib/color/color.go index bf82c9fc2..811c1f2b6 100644 --- a/lib/color/color.go +++ b/lib/color/color.go @@ -11,7 +11,6 @@ import ( var themeColorRegex = regexp.MustCompile(`^(N[1-7]|B[1-6]|AA[245]|AB[45])$`) func IsThemeColor(colorString string) bool { - println("\033[1;31m--- DEBUG:", themeColorRegex.Match([]byte(colorString)), colorString, "\033[m") return themeColorRegex.Match([]byte(colorString)) }