Pandas version checks

  • [x] I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/getting_started/index.html#intro-to-pandas

Documentation problem

In dark mode, the text within the tutorial navigation boxes under "Intro to pandas" has low contrast against the background, making it difficult to read.

Image

Suggested fix for documentation

Lighten the font color to #CED6DD which matches the color of other texts in dark mode.

Comment From: yuting1008

If possible, I would like to take this issue myself. I'm new to open source, please let me know if there is any suggestion or guidance!

Comment From: chilin0525

@yuting1008 Thanks for raising the issue. This appears to be a duplicate of https://github.com/pandas-dev/pandas/issues/60041 and https://github.com/pandas-dev/pandas/issues/60024. The issue addressed by https://github.com/pandas-dev/pandas/pull/61379, but since that PR was merged into main and not backported to 2.3.x, it’s still not working in dark mode on 2.3.0.

You can confirm the fix works by switching the documentation version to dev instead of 2.3.0: Image

Comment From: yuting1008

@chilin0525 Noted! Thank you for your reminder. I didn't notice the difference between versions. I will close this issue then. Thanks again!