RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
449 stars 78 forks source link

replace all old font awesome icons #153

Closed lz100 closed 2 years ago

lz100 commented 2 years ago

Shiny 1.7 uses the latest font awesome icons v5.15. In this version, some old names are gone and need to be replaced. For example, gears needs to be cogs.

> icon("gears")
This Font Awesome icon ('gears') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
> icon("cogs")
<i class="fa fa-cogs" role="presentation" aria-label="cogs icon"></i>

also for empty ones verify_fa = FALSE is needed

> icon("")
This Font Awesome icon ('') does not exist:
* if providing a custom `html_dependency` these `name` checks can 
  be deactivated with `verify_fa = FALSE`
> icon("", verify_fa = FALSE)
<i class="fa fa-" role="presentation" aria-label=" icon"></i>