Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add render_icon macro #99

Merged
merged 4 commits into from
Aug 29, 2020
Merged

Add render_icon macro #99

merged 4 commits into from
Aug 29, 2020

Conversation

greyli
Copy link
Member

@greyli greyli commented Aug 29, 2020

Example usage:

{% from 'bootstrap/utils.html' import render_icon %}

{{ render_icon('heart') }}
{{ render_icon('heart', 32) }}
{{ render_icon('heart', 32, 'success') }}

New configuration variables:

  • BOOTSTRAP_ICON_SIZE
  • BOOTSTRAP_ICON_COLOR

close #48

@greyli greyli merged commit 60fa146 into master Aug 29, 2020
@greyli greyli deleted the add-render-icon-macro branch August 29, 2020 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Bootstrap icons
1 participant