Skip to content

Commit

Permalink
FontAwesome 5.1.0 update and fix to flexdashboard (rstudio#1388)
Browse files Browse the repository at this point in the history
* Modify the included FontAwesome files

* Update `html_dependency_font_awesome()`
  • Loading branch information
rich-iannone authored and yihui committed Apr 1, 2019
1 parent 1895cb5 commit 6ab59cb
Show file tree
Hide file tree
Showing 21 changed files with 6,004 additions and 361 deletions.
10 changes: 4 additions & 6 deletions R/html_dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,14 @@ html_dependency_navigation <- function(code_menu, source_embed) {
html_dependency_font_awesome <- function() {
htmlDependency(
"font-awesome",
"5.0.13",
"5.1.0",
src = rmarkdown_system_file("rmd/h/fontawesome"),
script = c(
"js/fontawesome-all.min.js",
"js/fa-v4-shims.min.js"),
stylesheet = "css/fa-svg-with-js.css"
stylesheet = c(
"css/all.css",
"css/v4-shims.css")
)
}


# Create an HTML dependency for ionicons
#' @rdname html-dependencies
#' @export
Expand Down
5 changes: 5 additions & 0 deletions inst/rmd/h/fontawesome/css/all.css

Large diffs are not rendered by default.

345 changes: 0 additions & 345 deletions inst/rmd/h/fontawesome/css/fa-svg-with-js.css

This file was deleted.

Loading

0 comments on commit 6ab59cb

Please sign in to comment.