Fix various template warnings (#32)
- Missing : - Deprecated = - Not valid color name - Must always return statement
This commit is contained in:
@@ -140,8 +140,8 @@ card style:
|
||||
name: MatrixBoldSmallCaps
|
||||
size: 18
|
||||
color:
|
||||
{ if styling.font_color = "white" then rgb(255,255,255)
|
||||
else if styling.font_color = "black" then rgb(0,0,0)
|
||||
{ if styling.font_color == "white" then rgb(255,255,255)
|
||||
else if styling.font_color == "black" then rgb(0,0,0)
|
||||
else rgb(0,0,0) }
|
||||
casting cost:
|
||||
left: 325
|
||||
@@ -187,8 +187,8 @@ card style:
|
||||
name: Matrix
|
||||
size: 16
|
||||
color:
|
||||
{ if styling.font_color = "white" then rgb(255,255,255)
|
||||
else if styling.font_color = "black" then rgb(0,0,0)
|
||||
{ if styling.font_color == "white" then rgb(255,255,255)
|
||||
else if styling.font_color == "black" then rgb(0,0,0)
|
||||
else rgb(0,0,0) }
|
||||
scale down to: 6
|
||||
separator color: rgb(128,128,128)
|
||||
@@ -287,8 +287,8 @@ card style:
|
||||
size: 8
|
||||
weight: bold
|
||||
color:
|
||||
{ if styling.font_color = "white" then rgb(255,255,255)
|
||||
else if styling.font_color = "black" then rgb(0,0,0)
|
||||
{ if styling.font_color == "white" then rgb(255,255,255)
|
||||
else if styling.font_color == "black" then rgb(0,0,0)
|
||||
else rgb(0,0,0) }
|
||||
copyright line:
|
||||
left: 28
|
||||
|
||||
Reference in New Issue
Block a user