This commit is contained in:
Alexander Wang 2023-04-27 11:58:42 -07:00
parent 595fafc4c8
commit 72b0f62bf0
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
3 changed files with 286 additions and 286 deletions

View file

@ -482,7 +482,7 @@ func (c *compiler) compileStyle(attrs *d2graph.Attributes, m *d2ir.Map) {
}
func (c *compiler) compileStyleField(attrs *d2graph.Attributes, f *d2ir.Field) {
if _, ok := d2graph.StyleKeywords[f.Name]; !ok {
if _, ok := d2graph.StyleKeywords[strings.ToLower(f.Name)]; !ok {
c.errorf(f.LastRef().AST(), `invalid style keyword: "%s"`, f.Name)
return
}

View file

@ -244,7 +244,7 @@ Android: {
web -> twitter fe
timeline scorer: "Timeline\nScorer" {
style.fill "#ffdef1"
style.fill: "#ffdef1"
}
home ranker: Home Ranker
@ -283,7 +283,7 @@ prediction service2: Prediction Service {
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
}
home scorer: Home Scorer {
style.fill "#ffdef1"
style.fill: "#ffdef1"
}
manhattan: Manhattan
memcache: Memcache {
@ -766,7 +766,7 @@ Android: {
web -> twitter fe
timeline scorer: "Timeline\nScorer" {
style.fill "#ffdef1"
style.fill: "#ffdef1"
}
home ranker: Home Ranker
@ -805,7 +805,7 @@ prediction service2: Prediction Service {
icon: https://cdn-icons-png.flaticon.com/512/6461/6461819.png
}
home scorer: Home Scorer {
style.fill "#ffdef1"
style.fill: "#ffdef1"
}
manhattan: Manhattan
memcache: Memcache {

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 201 KiB

After

Width:  |  Height:  |  Size: 201 KiB