From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
var color = '<!--{$color|escape:'quotes'}-->'; | var color = '<!--{$color|escape:'quotes'}-->'; | ||
var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | ||
var gridColor = '<!--{$gridColor|escape:'quotes'}-->'; | |||
if (color == "") { | if (color == "") { | ||
color = "black"; | color = "black"; | ||
} | |||
if (gridColor == "") { | |||
gridColor = "gray"; | |||
} | } | ||
Line 51: | Line 56: | ||
y: { | y: { | ||
grid: { | grid: { | ||
color: | color: gridColor | ||
}, | }, | ||
border: { | border: { | ||
color: | color: gridColor | ||
} | } | ||
}, | }, | ||
x: { | x: { | ||
grid: { | grid: { | ||
color: | color: gridColor | ||
}, | }, | ||
border: { | border: { | ||
color: | color: gridColor | ||
} | } | ||
} | } |