changelog

This commit is contained in:
Alexander Wang 2023-02-27 12:58:21 -08:00
parent e5eacbd499
commit 9cdfd20ff9
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
2 changed files with 1 additions and 1 deletions

View file

@ -17,3 +17,4 @@
- Error reported when no actors are declared in sequence diagram. [#886](https://github.com/terrastruct/d2/pull/886) - 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) - 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) - `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)

View file

@ -11,7 +11,6 @@ import (
var themeColorRegex = regexp.MustCompile(`^(N[1-7]|B[1-6]|AA[245]|AB[45])$`) var themeColorRegex = regexp.MustCompile(`^(N[1-7]|B[1-6]|AA[245]|AB[45])$`)
func IsThemeColor(colorString string) bool { func IsThemeColor(colorString string) bool {
println("\033[1;31m--- DEBUG:", themeColorRegex.Match([]byte(colorString)), colorString, "\033[m")
return themeColorRegex.Match([]byte(colorString)) return themeColorRegex.Match([]byte(colorString))
} }