You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Support more extreme customization and configuration - allow more flexible templating and styling.
Describe the solution you'd like
In order to allow more customization and nuanced styles the badge class should be able to be subclassed, or maybe separate out aspects of the style into a separate class (BadgeStyle). The style class could be responsible for calculations, allowing the main badge package to deal with the macro aspects of generation.
Describe alternatives you've considered
Could use Jinja2 templates (which support math functions)
Additional context
Ideas originating from discussion with @miff2000 in #51.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Support more extreme customization and configuration - allow more flexible templating and styling.
Describe the solution you'd like
In order to allow more customization and nuanced styles the badge class should be able to be subclassed, or maybe separate out aspects of the style into a separate class (
BadgeStyle
). The style class could be responsible for calculations, allowing the main badge package to deal with the macro aspects of generation.Describe alternatives you've considered
Could use Jinja2 templates (which support math functions)
Additional context
Ideas originating from discussion with @miff2000 in #51.
The text was updated successfully, but these errors were encountered: