Fix various template warnings (#32)

- Missing :
- Deprecated =
- Not valid color name
- Must always return statement
This commit is contained in:
GenevensiS
2024-02-11 04:37:08 +01:00
committed by GitHub
parent 1ca8a98b3e
commit b7fb27fbb5
26 changed files with 141 additions and 143 deletions

View File

@@ -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