Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bslib link-color does not affect auto-links #2766

Open
aravind-j opened this issue Aug 20, 2024 · 1 comment
Open

bslib link-color does not affect auto-links #2766

aravind-j opened this issue Aug 20, 2024 · 1 comment

Comments

@aravind-j
Copy link

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 ?

@aravind-j
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant