Skip to content

Conversation

@coltonb-mixpanel
Copy link
Contributor

@coltonb-mixpanel coltonb-mixpanel commented Nov 19, 2025

Removes the box shadow from this part of the table of contents when in dark mode:

Before After
Screenshot 2025-11-19 at 1 42 48 PM Screenshot 2025-11-19 at 1 43 52 PM

@coltonb-mixpanel coltonb-mixpanel requested a review from a team as a code owner November 19, 2025 18:43
@coltonb-mixpanel coltonb-mixpanel requested review from santigracia and removed request for a team November 19, 2025 18:43
@vercel
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Nov 24, 2025 8:19pm

@coltonb-mixpanel coltonb-mixpanel changed the title remove drop shadow on dark mode toc remove box shadow on dark mode toc Nov 19, 2025
Comment on lines +1874 to +1876
._shadow-\[0_12px_16px_rgb\(var\(\--nextra-bg\)\)\] {
box-shadow: unset;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hacky but:

  • This is how it's solved for light mode
  • None of the other classes on the element are particular enough to make this less fragile.

@coltonb-mixpanel coltonb-mixpanel removed the request for review from santigracia November 24, 2025 20:15
@coltonb-mixpanel coltonb-mixpanel merged commit 8bf1d23 into main Nov 24, 2025
9 checks passed
@coltonb-mixpanel coltonb-mixpanel deleted the remove-box-shadow-on-dark-mode branch November 24, 2025 20:19
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

Successfully merging this pull request may close these issues.

3 participants