mkdocs icon indicating copy to clipboard operation
mkdocs copied to clipboard

Contrast Issue with expand toggles

Open jxc876 opened this issue 7 months ago • 0 comments

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

jxc876 avatar Jul 26 '24 01:07 jxc876