diff --git a/pkgdown/build.R b/pkgdown/build.R index 0b667e71..f36ba78f 100644 --- a/pkgdown/build.R +++ b/pkgdown/build.R @@ -61,7 +61,10 @@ build_version_factory <- function(repo, versions, url, destination) { # NOTE: providing an absolute path to build_site won't work: https://github.com/r-lib/pkgdown/issues/2172 withr::with_dir(build_dir, { pkgdown::build_site_github_pages( - override = list(url = sub("/$", "", url_join(url, version$href))), + override = list( + url = sub("/$", "", url_join(url, version$href)), + navbar = list(type = "light") + ), dest_dir = fs::path_join(c(destination, version$href)) ) }) diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 39656e33..8db0a9c2 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -70,9 +70,14 @@ button.btn.btn-primary.btn-copy-ex { } & > a { - background-color: hsl(240, 42.7%, 38.6%); + background-color: hsl(239.3, 40.2%, 55.3%); + color: rgba(255, 255, 255, 0.8); padding: 0.25rem 1rem; border-radius: 1rem; + + &:hover { + color: white; + } } }