Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: Little contrast in documentation accordion cards #60921

Copy link
Copy link
Closed
@Cladis

Description

@Cladis
Issue body actions

Pandas version checks

  • 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

Documentation problem

Originally I reported upstream to the pydata-sphinx-theme issue tracker: pydata/pydata-sphinx-theme#2110

On the pandas Getting started page, https://pandas.pydata.org/docs/getting_started/index.html, I saw following when using dark theme in Firefox 134.0 (64-bit) on Ubuntu:

Image

I could not really read the text of the spoiler names under Intro to pandas as they are virtually black on black, so I am forced to switch to light mode instead. (Looking at the code what I am looking at seems to be called tutorial accordion cards, but I might be wrong).

The theme developers in the upstream issue noted that the component used seems to be a custom one built by the Pandas team, so reporting this here.

BUT as I was in the process of reporting it here the checkbox at the top of the form had asked me to check whether the issue still persists in the dev version of the documentation. Funny thing is that it doesn't. But it became worse. Now instead of the spoiler title being unreadable the spoiler body isn't:

Image

Suggested fix for documentation

The component in question or its application should be fixed so that text is readable in both dark and light themes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.