Bug description
When using a light accent color with dark mode, the patch text is almost invisible. Similarly
dark accent color + light mode has readability issue for patch update button text
| Dark + light color |
Light + dark color |
 |
 |
PrimaryActionButton hardcodes onSurface as the text color. Because the button uses a semi transparent accent over primaryContainer the onSurface text loses contrast whenever custom accents change the brightness of background.
I have a fix ready using CompositionLocalProvider and LocalContentColor without changing anything else
Version of Morphe (Manager) and the app you are patching
1.17.1
Morphe logs
Acknowledgements
Bug description
When using a light accent color with dark mode, the patch text is almost invisible. Similarly
dark accent color + light mode has readability issue for patch update button text
PrimaryActionButton hardcodes onSurface as the text color. Because the button uses a semi transparent accent over primaryContainer the onSurface text loses contrast whenever custom accents change the brightness of background.
I have a fix ready using CompositionLocalProvider and LocalContentColor without changing anything else
Version of Morphe (Manager) and the app you are patching
1.17.1
Morphe logs
Acknowledgements