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: Fix dark mode text visibility in Getting Started accordion (#60024) #61379

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

Merged

Conversation

danielpintosalazar
Copy link
Contributor

@danielpintosalazar danielpintosalazar commented Apr 29, 2025

📄 Description

This pull request fixes the issue described in #61377, where the text in the accordion content of the Getting Started tutorial section was not visible in dark mode.

Although #61377 is a duplicate, the underlying problem was originally reported in #60024, and later duplicated in #60041 and #60921. This PR addresses the root cause described in those issues.

Changes Made

Added CSS variables to ensure that text and background colors are consistent with the active theme:

.tutorial-card .card-header {
  --bs-card-cap-color: var(--pst-color-text-base);
  color: var(--pst-color-text-base);
  cursor: pointer;
  background-color: var(--pst-color-surface);
  border: 1px solid var(--pst-color-border);
}

.tutorial-card .card-body {
  background-color: var(--pst-color-on-background);
  color: var(--pst-color-text-base);
}

@danielpintosalazar danielpintosalazar changed the title Fix: text color for accordion content in getting started (#61377) DOC: Fix dark mode text visibility in Getting Started accordion (#60024) Apr 30, 2025
@mroeschke
Copy link
Member

/preview

Copy link
Contributor

Website preview of this PR available at: https://pandas.pydata.org/preview/pandas-dev/pandas/61379/

@mroeschke mroeschke added the Docs label Apr 30, 2025
@mroeschke mroeschke added this to the 3.0 milestone Apr 30, 2025
@mroeschke mroeschke merged commit e55d907 into pandas-dev:main Apr 30, 2025
10 checks passed
@mroeschke
Copy link
Member

Thanks @danielpintosalazar

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

Successfully merging this pull request may close these issues.

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