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

Match Sphinx toggle button and Sphinx Design hover and focus styles #2061

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

gabalafou
Copy link
Collaborator

@gabalafou gabalafou commented Nov 29, 2024

This PR makes the hover and focus styles more consistent for the various collapsible admonitions we support (Sphinx Design and Sphinx Toggle Button).

It also makes the focus rings better match the design system.

Screenshot of the admonition focus rings from the design system:

Screenshots from my local git branch, for comparison:
image

image

@gabalafou
Copy link
Collaborator Author

@smeragoel whenever you have a chance could you take a look at the hover and focus styles (light/dark) for the collapsible admonitions on the following two pages:

Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

@gabalafou gabalafou added the kind: enhancement New feature or request label Dec 3, 2024
@trallard trallard merged commit 85aba79 into pydata:main Dec 6, 2024
25 checks passed
@gabalafou gabalafou deleted the match-toggle-button branch December 10, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants