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

MathJax rendering difficult to read for dark mode #2831

Open
agkphysics opened this issue Nov 10, 2024 · 3 comments
Open

MathJax rendering difficult to read for dark mode #2831

agkphysics opened this issue Nov 10, 2024 · 3 comments
Labels
bug / fix Something isn't working documentation Improvements or additions to documentation

Comments

@agkphysics
Copy link

📚 Documentation

The MathJax equation renders using a dark foreground colour, so it is almost unreadable on a dark background:
image

It seems to be related to inheriting the PyTorch theme which has the following section:

article.pytorch-article .math {
  color: #262626;
  width: auto;
  text-align: center;
}

If you remove the color attribute using developer mode it becomes easily readable again:
image

@agkphysics agkphysics added the documentation Improvements or additions to documentation label Nov 10, 2024
Copy link

Hi! thanks for your contribution!, great first issue!

@SkafteNicki
Copy link
Member

cc: @Borda
FYI: the page from the screenshots are this page:
https://lightning.ai/docs/torchmetrics/stable/multimodal/clip_score.html

@Borda Borda added the bug / fix Something isn't working label Nov 11, 2024
@Borda
Copy link
Member

Borda commented Nov 11, 2024

wondering if the math extension supports light/dark theme :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants