Alias Module (#162)
This commit is contained in:
@@ -79,6 +79,19 @@ init script:
|
||||
else 0
|
||||
}
|
||||
|
||||
alias_colors := {
|
||||
[
|
||||
w: rgb(255, 255, 255),
|
||||
u: rgb(6, 115, 184),
|
||||
b: rgb(39, 38, 36),
|
||||
r: rgb(236, 57, 37),
|
||||
g: rgb(6, 120, 69),
|
||||
a: rgb(239, 238, 236),
|
||||
m: rgb(243, 210, 105),
|
||||
c: rgb(173, 151, 137)
|
||||
][input]
|
||||
}
|
||||
|
||||
template_prefix :=
|
||||
[
|
||||
card: "card/",
|
||||
@@ -211,6 +224,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
|
||||
|
||||
include file: /magic-modules.mse-include/foils/card_fields
|
||||
|
||||
include file: /magic-modules.mse-include/alias/card_fields_under
|
||||
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -225,7 +240,7 @@ card style:
|
||||
top: 0
|
||||
width: { stylesheet.card_width }
|
||||
height: { stylesheet.card_height }
|
||||
z index: 200
|
||||
z index: 220
|
||||
popup style: in place
|
||||
render style: image
|
||||
image: { card_background() }
|
||||
|
||||
Reference in New Issue
Block a user