Skip to content

Commit

Permalink
Merge pull request #1700 from hboomsma/currentColor
Browse files Browse the repository at this point in the history
style: allow current color as valid css color
  • Loading branch information
alixander authored Nov 7, 2023
2 parents 768ffee + 15b7bdb commit f3c5909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions d2graph/color_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "regexp"

// namedColors is a list of valid CSS colors
var namedColors = []string{
"currentcolor",
"transparent",
"aliceblue",
"antiquewhite",
Expand Down

0 comments on commit f3c5909

Please sign in to comment.