-
Notifications
You must be signed in to change notification settings - Fork 660
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
Improve contrast documentation for readability #9128
Comments
Hey @imme-emosol, can you reproduce the issue on https://psalm.dev ? |
Screenshot is after scrolling up from https://psalm.dev/docs/running_psalm/configuration/#projectfiles . |
I believe it can be fixed in https://github.com/psalm/psalm.dev/blob/master/assets/sass/mkdocs_material_extra.scss, feel free to submit a PR to that repo. |
Okay, thanks. |
Setting var `--md-typeset-color` to `initial` should make https://github.com/squidfunk/mkdocs-material/blob/6119df5d56fcdc90e25c5b1a47f7d2eba77f589e/src/assets/stylesheets/main/_typeset.scss#L43 use the color that was set by the user-agent/browser. This does not seem like an ideal fix to me but it does fix a possible lack of contrast, as mentioned by me in: vimeo/psalm#9128 .
My browser is set to use different background-color & color.
Psalm's documentation seems to set a foreground-/text-color but not a background-color.
An example of what my browser shows:
The text was updated successfully, but these errors were encountered: