Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Use light/dark mode colors for image description text - #3003

Merged
connyduck merged 3 commits into
tuskyapp:developfrom
nikclayton:a11y-image-preview-color
Dec 6, 2022
Merged

Use light/dark mode colors for image description text#3003
connyduck merged 3 commits into
tuskyapp:developfrom
nikclayton:a11y-image-preview-color

Conversation

@nikclayton

Copy link
Copy Markdown
Contributor

This is an accessibility issue -- in light mode (which should have dark text on a light background) the text color was hardcoded to light grey and the background color was a semi-transparent black.

Fixes #2983.

This is an accessibility issue -- in light mode (which should have dark text
on a light background) the text color was hardcoded to light grey and the
background color was a semi-transparent black.

Fixes #2983.
Comment thread app/src/main/res/drawable/ic_drag_indicator_horiz_24dp.xml Outdated
Nik Clayton and others added 2 commits December 6, 2022 16:40
@nikclayton

Copy link
Copy Markdown
Contributor Author

Good to go I think.

I'll take a look at colours in the app separately. A very quick check suggests that not all of the Material3 colour tokens are defined, which is going to lead to weirdness down the line as more widgets are used. In this one, for example, there is a bottom sheet component / style that could be used for the drag handle (for accessibility) and the parent layout (for colours, etc).

@connyduck
connyduck merged commit 08642d7 into tuskyapp:develop Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Image descriptions are displayed as white text on dark background in light mode

3 participants