Alias Module (#162)
This commit is contained in:
@@ -155,6 +155,19 @@ init script:
|
||||
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else if styling.border == "only copyright" then 957 else 595 }
|
||||
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
|
||||
|
||||
alias_colors := {
|
||||
[
|
||||
w: rgb(216, 218, 195),
|
||||
u: rgb(0, 161, 207),
|
||||
b: rgb(95, 97, 99),
|
||||
r: rgb(240, 46, 32),
|
||||
g: rgb(66, 175, 88),
|
||||
a: rgb(140, 159, 191),
|
||||
m: rgb(245, 206, 66),
|
||||
c: rgb(100, 74, 37)
|
||||
][input]
|
||||
}
|
||||
alias_offset_width_1 := {-6}
|
||||
############################################################## Extra style options
|
||||
|
||||
styling field:
|
||||
@@ -228,6 +241,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:
|
||||
|
||||
Reference in New Issue
Block a user