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

Make text in the left-nav header more accessible #298

Closed
nikclayton opened this issue Dec 4, 2023 · 1 comment · Fixed by #773
Closed

Make text in the left-nav header more accessible #298

nikclayton opened this issue Dec 4, 2023 · 1 comment · Fixed by #773
Assignees

Comments

@nikclayton
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The left-nav menu has text in the header showing the current account, and a disclosure triangle to switch accounts. These follow the normal text colours.

Behind this is the user's account header image.

This is a problem if the header image is dark (in light mode) or light (in dark mode) because the text and arrow may be difficult to see.

Describe the solution you'd like

The text colour should adapt to the colours of the account header image to ensure they are legible.

@nikclayton nikclayton self-assigned this Dec 4, 2023
@nikclayton
Copy link
Contributor Author

Note to self: more difficult than I'd like, see mikepenz/MaterialDrawer#2801

nikclayton added a commit that referenced this issue Jun 22, 2024
The user might have set a profile header image that is close to the
colour of the text in the account header in the left navigation menu.
This can make the text difficult or impossible to see.

Work around this by drawing a partially transparent scrim behind the
text so it's always displayed over a background that makes the text
legible.

Fixes #298
nikclayton added a commit that referenced this issue Jun 22, 2024
The user might have set a profile header image that is close to the
colour of the text in the account header in the left navigation menu.
This can make the text difficult or impossible to see.

Work around this by drawing a partially transparent scrim behind the
text so it's always displayed over a background that makes the text
legible.

Fixes #298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant