pkgdown
pkgdown copied to clipboard
bslib link-color does not affect auto-links
I am trying to customise a pkgdown site with bslib variables (https://aravind-j.github.io/rpcss/). I am able to successfully change the link colour using the variable link-color.
bslib:
link-color: "#ff0f0f"
But none of the auto-links in the site are modified. Is this the expected behaviour ?
I was able to change the colours of the auto-links with the following scss modifiers in extra.scss.
code a {
color: $link-color !important;
}
But now in dark-mode, it seems that link-color is modified for better contrast (via shift-color ?), but is not inherited when using scss modifiers.