Skip to content

Commit

Permalink
Don't override the default selection colours (#2479)
Browse files Browse the repository at this point in the history
Fixes #2139
  • Loading branch information
hadley authored Apr 23, 2024
1 parent 9850459 commit 62e9945
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pkgdown (development version)

* pkgdown no longer overrides the default selection colours. This improves accessibility for users who have set their own colours in their browser settings (#2139, @glin).
* `build_article()` now escapes html characters in the title (#2286).
* `build_article()` no longer generates the wrong source link when you build your site outside of the root directory (#2172).
* `build_reference()` matches usage for S3 and S4 methods to the style used by R 4.0.0 and later (#2187).
Expand Down
4 changes: 0 additions & 4 deletions inst/BS5/assets/pkgdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,6 @@ body > .container .row {

/* General typography ======================================================= */

::selection {
background-color: mix($primary, $body-bg, 20%);
}

// Ensure in-page images don't run outside their container
main img {
max-width: 100%;
Expand Down

0 comments on commit 62e9945

Please sign in to comment.