Skip to content

Commit

Permalink
Fixed font size and image height won't apply as specific style option
Browse files Browse the repository at this point in the history
  • Loading branch information
raohmaru committed May 29, 2018
1 parent 4b695e2 commit e95738d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
- [ ] Change color of text element individually.
- [ ] Add more colors to the bg color list, or use a list of tokens.
- [ ] Allow gradients in bg.
- [ ] Bg images .mse-include
- [ ] Bg images .mse-include
- [ ] Rarity
- [ ] Card number font size
- [ ] Text box solid + border
- [ ] Value box solid + border
- [ ] Copyright text color
- [ ] Card number text color
12 changes: 6 additions & 6 deletions generic-normal.mse-style/style
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ init script:
if input == "" then default
else to_number(input) or else default
}
name_fsz := to_number_or_def@(styling.name_font_size, default: 34)
value_fsz := to_number_or_def@(styling.value_font_size, default: 30)
type_fsz := to_number_or_def@(styling.type_font_size, default: 20)
text_fsz := to_number_or_def@(styling.text_font_size, default: 24)
copyright_fsz := to_number_or_def@(styling.copyright_font_size, default: 12)
image_height := to_number_or_def@(styling.image_height, default: 450)
name_fsz := { to_number_or_def(styling.name_font_size, default: 34) }
value_fsz := { to_number_or_def(styling.value_font_size, default: 30) }
type_fsz := { to_number_or_def(styling.type_font_size, default: 20) }
text_fsz := { to_number_or_def(styling.text_font_size, default: 24) }
copyright_fsz := { to_number_or_def(styling.copyright_font_size, default: 12) }
image_height := { to_number_or_def(styling.image_height, default: 450) }

name_width := {
if card.value == "" or input == "center" then 700
Expand Down

0 comments on commit e95738d

Please sign in to comment.