Merge pull request #1700 from hboomsma/currentColor

style: allow current color as valid css color
This commit is contained in:
Alexander Wang 2023-11-07 14:30:37 -08:00 committed by GitHub
commit f3c5909a6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ import "regexp"
// namedColors is a list of valid CSS colors // namedColors is a list of valid CSS colors
var namedColors = []string{ var namedColors = []string{
"currentcolor",
"transparent", "transparent",
"aliceblue", "aliceblue",
"antiquewhite", "antiquewhite",