andyngo / conversable-for-scriptable

Conversable is a simple contacts widget for Scriptable.
193 stars 41 forks source link

Text in Light Mode is not Visible #6

Closed wild-a closed 2 years ago

wild-a commented 3 years ago

Text in light mode is black on a dark background (so not visible), but works fine in dark mode (white text on dark background). 85544FAE-E5D8-430D-A6F7-67DBF8ACF35D

wild-a commented 3 years ago

Setting background using Color.dynamic allows for setting separate dark mode and light mode background colors.

Edit: remove line 37. Add the following to line 171 (line 170 if you remove line 37):

w.backgroundColor = Color.dynamic(Color.white(), new Color("1B1B1D"));

The first color there will be for light mode, second color will be for dark mode.

kevonfernando commented 3 years ago

I have made a pull request #7 that fixes this issue like you did with support for settings.