Skip to content

Commit

Permalink
include brand icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ufundo committed Jul 31, 2024
1 parent ce08c6d commit 83c51eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/crm-i.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ is loaded before fontawesome.css so that .fa-XXX classes can modify it. */
.crm-container .replace-plain:before,
.crm-i {
display: var(--fa-display, inline-block);
font-family: var(--fa-style-family, "Font Awesome 6 Free");
font-family: var(--fa-style-family, "Font Awesome 6 Free", "Font Awesome 6 Brands");
font-weight: var(--fa-style, 900);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down
2 changes: 1 addition & 1 deletion js/jquery/jquery.crmIconPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
loaded = $.Deferred();
CRM.$.get(CRM.config.resourceBase + 'bower_components/font-awesome/css/all.css').done(function(data) {
var match,
regex = /\.(fa-[-a-zA-Z0-9]+)::before {/g;
regex = /\.(fa-[-a-zA-Z0-9]+):{1,2}before {/g;
while((match = regex.exec(data)) !== null) {
icons.push(match[1]);
}
Expand Down

0 comments on commit 83c51eb

Please sign in to comment.