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

Contrast Issue with expand toggles #26

Open
jxc876 opened this issue Jul 26, 2024 · 0 comments
Open

Contrast Issue with expand toggles #26

jxc876 opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working needs-triage pending

Comments

@jxc876
Copy link

jxc876 commented Jul 26, 2024

Hey Nice theme 🧛

Describe the bug

Noticed a tiny issue: when sections are expandable it's REALLY hard to see them in black theme.

  • It's due to the contrast between the toggle icons and the background
image

Expected Behavior

I should be able to easily tell that the section is expandable:

image

Current Behavior

See screenshots above

Reproduction Steps

See screenshots above, just nagivate to https://dracula.github.io/mkdocs/

Possible Solution

Replacing this line in mkdocs.css#L455-L457 with a different stroke color (ex: rgba(248,248,242,1) seems to do the trick:

[data-bs-theme="dark"] .btn-toggle::after {
  content: url( ..... stroke='rgba(248,248,242,1)' ...)
}

Additional Information/Context

No response

SDK version used

visible on currently deployed gitpage

Environment details (OS name and version, etc.)

MacOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage pending
Development

No branches or pull requests

2 participants