pkgdown: customize version number color and search bar color?

Is there a way to customize the font color of the version number in the navbar of a pkgdown website? Ideally I'd like white.
Also, can I change the color of the search bar (it's so dark)?

Here's what I"ve got in my _pkgdown.yml

template:
  bootstrap: 5
  bootswatch: simplex
  bslib:
    primary: "#468c6c"
    base_font: {google: "Atkinson Hyperlegible"}
    heading_font: {google: "Atkinson Hyperlegible"}

navbar:
  bg: primary
  structure:
    left:  [intro, reference, articles, tutorials, news]
    right: [search, github]

Link to pkgdown site: What the Package Does (One Line, Title Case) • my.pkg

Link to GitHub Repo my.pkg/_pkgdown.yml at master · ddsjoberg/my.pkg · GitHub

Thank you!

I looked at the source code in the browser but the text is "muted"

Removing the text-muted solved the problem

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.