Merged
Conversation
bf17817 to
5dad062
Compare
5dad062 to
5061578
Compare
tcbegley
added a commit
that referenced
this pull request
Sep 5, 2021
* Added icon CDNs to py, jl and R * Added icon documentation * Changed to use new icon module * Added exampel of icon use in alert * Added new icon files for R and JL build * Format * Update fontawesome version * Move alert with icon doc example to icon page Co-authored-by: tcbegley <tomcbegley@gmail.com>
Merged
Merged
tcbegley
added a commit
that referenced
this pull request
Oct 19, 2021
* Added icon CDNs to py, jl and R * Added icon documentation * Changed to use new icon module * Added exampel of icon use in alert * Added new icon files for R and JL build * Format * Update fontawesome version * Move alert with icon doc example to icon page Co-authored-by: tcbegley <tomcbegley@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per #651 I have added a page to explain how to add the Bootstrap icons (as well as font awesome as these are recommended by Bootstrap. I looked at adding Feather and Octicons from their list too, but their usage didn't seem to align very well with how Dash works (but that could easily be my inexperience with them).
Bootstrap and Font Awesome icons are available via
dbc.icons.BOOTSTRAPanddbc.icons.FONT_AWESOME. I've added some details on this to theicons.mdpage, but this is likely to need additional detail and explanation.Finally, I included an example (as suggested in the original issue) where the alerts make use of the bootstrap icons.