card_fields rewrite and magic-modules.mse-include (#21)
Overhauls the card_fields file to allow for template designers more freedom in manipulating data. Adds magic-modules.mse-include, a large scale include file for building templates in a standardized way. Applying this to existing frames will be coming in future updates.
This commit is contained in:
9
data/magic-modules.mse-include/separators/card_fields
Normal file
9
data/magic-modules.mse-include/separators/card_fields
Normal file
@@ -0,0 +1,9 @@
|
||||
card style:
|
||||
separator:
|
||||
left: { flavor_bar_left(1) + flavor_bar_offset_left_1() - flavor_bar_offset_width_1() }
|
||||
top: { flavor_bar_top(1) + flavor_bar_offset_top_1() - flavor_bar_offset_height_1() }
|
||||
width: { flavor_bar_width(1) + 2*flavor_bar_offset_width_1() }
|
||||
height: { flavor_bar_height(1) + 2*flavor_bar_offset_height_1() }
|
||||
render style: image
|
||||
image: { "/magic-modules.mse-include/separators/" + card.separator + ".png" }
|
||||
z index: 740
|
||||
Reference in New Issue
Block a user