nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

MINOR / WIDGET / Color difference for mid-high BGs #1604

Closed robertrub closed 2 years ago

robertrub commented 2 years ago

AAPS doesn't use the same color on the app and widget for mid-high BGs

App

Screenshot_20220411-100433_AndroidAPS.jpg

Widget

Screenshot_20220411-100412_One UI Home.jpg

osodebailar commented 2 years ago

The color from the widget is taken from the default color.xml. This are the colors for the light mode in aaps. In the light mode yellow is not possible , because yellow on white background is hard to see. Aaps itself is in darkmode and has another color.xml table. The widget itself has no possibilities for dark or light mode. It's not implemented by google until now. Ist is more or less a design problem from google .

MilosKozak commented 2 years ago

could we create special color names for widget which would match dark mode?

osodebailar commented 2 years ago

@MilosKozak : yes, I will have a look. I will prepare a PR this evening

osodebailar commented 2 years ago

PR is ready: https://github.com/nightscout/AndroidAPS/pull/1605