diff --git a/TODO.md b/TODO.md index fba47e5..5c7bc3f 100644 --- a/TODO.md +++ b/TODO.md @@ -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 \ No newline at end of file +- [ ] Bg images .mse-include +- [ ] Rarity +- [ ] Card number font size +- [ ] Text box solid + border +- [ ] Value box solid + border +- [ ] Copyright text color +- [ ] Card number text color diff --git a/generic-normal.mse-style/style b/generic-normal.mse-style/style index 0c959a7..f08a8f4 100644 --- a/generic-normal.mse-style/style +++ b/generic-normal.mse-style/style @@ -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