Skip to content

Conversation

@AshesITR
Copy link
Contributor

New FontAwesome icons aren't guaranteed to have class fa anymore. Brands have fab, solid (normal) icons can have fas, regular icons (some are free, most are FontAwesome Pro only) have class far and light icons (FontAwesome Pro only) have fal as "primary" class.

See rstudio/shiny#2260

New FontAwesome icons aren't guaranteed to have class `fa` anymore. Brands have `fab`, solid (normal) icons can have `fas`, regular icons (some are free, most are FontAwesome Pro only) have class `far` and light icons (FontAwesome Pro only) have `fal` as "primary" class.

See rstudio/shiny#2260
@jcheng5
Copy link
Member

jcheng5 commented Nov 21, 2018

Thanks for this patch! If you haven't contributed a patch to an RStudio repository before, can I get you to sign an individual or corporate contributor agreement? You can send the signed copy to jj@rstudio.com.

@xhdong-umd
Copy link

@AshesITR Any update on this PR?

@AshesITR
Copy link
Contributor Author

AshesITR commented Feb 2, 2019

@jcheng5 The PR should be good to merge?

@AshesITR
Copy link
Contributor Author

bump?

@dracodoc
Copy link

Checking again and found this is still not merged. I just made a temporary workaround in case there is other people needing this before the PR is merged.

Below will force the icon to be v4.7 and there will not be a problem.

  icon_g <- icon("github")
  icon_g[["attribs"]][["class"]] <- "fa fa-github"

@jcheng5 jcheng5 merged commit dc1e15b into rstudio:master Feb 22, 2020
@jcheng5
Copy link
Member

jcheng5 commented Feb 22, 2020

Gosh, sorry everyone who was waiting for this!

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.

4 participants