mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-09 15:08:04 -05:00
Update bootstrap-accessibility plugin (#3259)
* Copy from installed bslib location, no relative file path * Adopt the fix from https://github.com/rstudio/bslib/pull/241 Co-authored-by: Carson <cpsievert1@gmail.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -3,9 +3,10 @@
|
||||
# that obtain and patch in https://github.com/rstudio/bslib
|
||||
library(rprojroot)
|
||||
library(sass)
|
||||
library(htmltools)
|
||||
|
||||
src <- find_package_root_file("../bslib/inst/lib/bs-a11y-p/")
|
||||
if (packageVersion("bslib") < "0.2.4") stop ("`bslib >= 0.2.4` is required to update a11y plugin")
|
||||
|
||||
src <- system.file("lib/bs-a11y-p/", package = "bslib")
|
||||
target <- find_package_root_file("inst/www/shared/bootstrap/accessibility/")
|
||||
|
||||
# bslib makes hover/focus outlines transparent by default, which is what we want to do
|
||||
|
||||
Reference in New Issue
Block a user