From b8744f6cdf5f3e650bc30f8914fcf5c472c6af0a Mon Sep 17 00:00:00 2001 From: osodebailar Date: Thu, 31 Mar 2022 18:04:40 +0200 Subject: [PATCH] overview and action dialog icons , colors for light theme --- .../drawable/ic_actions_cancelextbolus.xml | 8 ++-- app/src/main/res/drawable/ic_cancelbasal.xml | 7 +-- .../main/res/drawable/ic_loop_disabled.xml | 6 +-- .../res/drawable/ic_loop_disconnected.xml | 4 +- app/src/main/res/drawable/ic_loop_lgs.xml | 12 ++--- app/src/main/res/drawable/ic_loop_open.xml | 14 +++--- app/src/main/res/drawable/ic_loop_paused.xml | 6 +-- .../main/res/drawable/ic_loop_reconnect.xml | 4 +- app/src/main/res/drawable/ic_loop_resume.xml | 4 +- .../main/res/drawable/ic_loop_superbolus.xml | 4 +- .../main/res/drawable/ic_target_activity.xml | 16 +++---- .../main/res/drawable/ic_target_cancel.xml | 14 +++--- .../res/drawable/ic_target_eatingsoon.xml | 12 ++--- app/src/main/res/drawable/ic_target_hypo.xml | 10 ++-- .../res/drawable/ic_actions_startextbolus.xml | 5 +- .../main/res/drawable/ic_cp_announcement.xml | 10 ++-- core/src/main/res/drawable/ic_cp_bgcheck.xml | 6 +-- .../main/res/drawable/ic_cp_cgm_insert.xml | 4 +- core/src/main/res/drawable/ic_cp_exercise.xml | 4 +- core/src/main/res/drawable/ic_cp_note.xml | 2 +- .../main/res/drawable/ic_cp_pump_battery.xml | 4 +- .../main/res/drawable/ic_cp_pump_canula.xml | 2 +- core/src/main/res/drawable/ic_cp_question.xml | 4 +- core/src/main/res/drawable/ic_loop_closed.xml | 2 +- .../src/main/res/drawable/ic_pump_history.xml | 4 +- .../main/res/drawable/ic_temptarget_high.xml | 4 +- core/src/main/res/values-night/colors.xml | 10 ++++ core/src/main/res/values-night/styles.xml | 39 +++++++++++++--- core/src/main/res/values/attrs.xml | 29 ++++++++++++ core/src/main/res/values/colors.xml | 22 ++++++--- core/src/main/res/values/styles.xml | 46 +++++++++++++++---- 31 files changed, 213 insertions(+), 105 deletions(-) diff --git a/app/src/main/res/drawable/ic_actions_cancelextbolus.xml b/app/src/main/res/drawable/ic_actions_cancelextbolus.xml index 913b1b9aeb..92998ff78e 100644 --- a/app/src/main/res/drawable/ic_actions_cancelextbolus.xml +++ b/app/src/main/res/drawable/ic_actions_cancelextbolus.xml @@ -5,14 +5,14 @@ android:viewportHeight="24"> + android:fillColor="?attr/extBolusStopColor"/> + android:fillColor="?attr/extBolusStopColor"/> + android:fillColor="?attr/extBolusStopColor"/> + android:fillColor="?attr/extBolusStopColor"/> diff --git a/app/src/main/res/drawable/ic_cancelbasal.xml b/app/src/main/res/drawable/ic_cancelbasal.xml index 76640a4534..dcc01452e3 100644 --- a/app/src/main/res/drawable/ic_cancelbasal.xml +++ b/app/src/main/res/drawable/ic_cancelbasal.xml @@ -4,7 +4,8 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - - - + + + diff --git a/app/src/main/res/drawable/ic_loop_disabled.xml b/app/src/main/res/drawable/ic_loop_disabled.xml index 685118b92d..e8004f78fe 100644 --- a/app/src/main/res/drawable/ic_loop_disabled.xml +++ b/app/src/main/res/drawable/ic_loop_disabled.xml @@ -5,11 +5,11 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopDisabled"/> + android:fillColor="?attr/loopDisabled"/> + android:fillColor="?attr/loopDisabled"/> diff --git a/app/src/main/res/drawable/ic_loop_disconnected.xml b/app/src/main/res/drawable/ic_loop_disconnected.xml index ea2cd137f4..3753c6a451 100644 --- a/app/src/main/res/drawable/ic_loop_disconnected.xml +++ b/app/src/main/res/drawable/ic_loop_disconnected.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopDisconnected"/> + android:fillColor="?attr/loopDisconnected"/> diff --git a/app/src/main/res/drawable/ic_loop_lgs.xml b/app/src/main/res/drawable/ic_loop_lgs.xml index c570403dbf..23a4ddf300 100644 --- a/app/src/main/res/drawable/ic_loop_lgs.xml +++ b/app/src/main/res/drawable/ic_loop_lgs.xml @@ -5,20 +5,20 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> diff --git a/app/src/main/res/drawable/ic_loop_open.xml b/app/src/main/res/drawable/ic_loop_open.xml index 6f97953808..c7b4f00e3b 100644 --- a/app/src/main/res/drawable/ic_loop_open.xml +++ b/app/src/main/res/drawable/ic_loop_open.xml @@ -5,23 +5,23 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> + android:fillColor="?attr/loopOpened"/> diff --git a/app/src/main/res/drawable/ic_loop_paused.xml b/app/src/main/res/drawable/ic_loop_paused.xml index c49d3084c3..372b6a7d61 100644 --- a/app/src/main/res/drawable/ic_loop_paused.xml +++ b/app/src/main/res/drawable/ic_loop_paused.xml @@ -5,11 +5,11 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopDisabled"/> + android:fillColor="?attr/loopDisabled"/> + android:fillColor="?attr/loopDisabled"/> diff --git a/app/src/main/res/drawable/ic_loop_reconnect.xml b/app/src/main/res/drawable/ic_loop_reconnect.xml index f61d0f97b1..ca8e54fa6c 100644 --- a/app/src/main/res/drawable/ic_loop_reconnect.xml +++ b/app/src/main/res/drawable/ic_loop_reconnect.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> diff --git a/app/src/main/res/drawable/ic_loop_resume.xml b/app/src/main/res/drawable/ic_loop_resume.xml index ade6ba2f8d..cf80f79567 100644 --- a/app/src/main/res/drawable/ic_loop_resume.xml +++ b/app/src/main/res/drawable/ic_loop_resume.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopClosed"/> + android:fillColor="?attr/loopClosed"/> diff --git a/app/src/main/res/drawable/ic_loop_superbolus.xml b/app/src/main/res/drawable/ic_loop_superbolus.xml index 2f94edf2c4..fd9223c587 100644 --- a/app/src/main/res/drawable/ic_loop_superbolus.xml +++ b/app/src/main/res/drawable/ic_loop_superbolus.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopSuperBolus"/> + android:fillColor="?attr/loopSuperBolus"/> diff --git a/app/src/main/res/drawable/ic_target_activity.xml b/app/src/main/res/drawable/ic_target_activity.xml index 4439597b75..4873b388cc 100644 --- a/app/src/main/res/drawable/ic_target_activity.xml +++ b/app/src/main/res/drawable/ic_target_activity.xml @@ -5,14 +5,14 @@ android:viewportHeight="24"> + android:fillColor="?attr/exerciseColor"/> - - + android:fillColor="?attr/exerciseColor"/> + + diff --git a/app/src/main/res/drawable/ic_target_cancel.xml b/app/src/main/res/drawable/ic_target_cancel.xml index 50d7304662..c00ad238f7 100644 --- a/app/src/main/res/drawable/ic_target_cancel.xml +++ b/app/src/main/res/drawable/ic_target_cancel.xml @@ -5,11 +5,11 @@ android:viewportHeight="24"> - - + android:fillColor="?attr/tempTargetConfirmation"/> + + diff --git a/app/src/main/res/drawable/ic_target_eatingsoon.xml b/app/src/main/res/drawable/ic_target_eatingsoon.xml index ec35d67c48..70d0ab72d4 100644 --- a/app/src/main/res/drawable/ic_target_eatingsoon.xml +++ b/app/src/main/res/drawable/ic_target_eatingsoon.xml @@ -12,10 +12,10 @@ - - + + diff --git a/app/src/main/res/drawable/ic_target_hypo.xml b/app/src/main/res/drawable/ic_target_hypo.xml index 30721cbf14..eab6df8e3f 100644 --- a/app/src/main/res/drawable/ic_target_hypo.xml +++ b/app/src/main/res/drawable/ic_target_hypo.xml @@ -5,17 +5,17 @@ android:viewportHeight="24"> + android:fillColor="?attr/lowColor"/> + android:fillColor="?attr/lowColor"/> + android:fillColor="?attr/lowColor"/> + android:fillColor="?attr/bgInRange"/> + android:fillColor="?attr/tempTargetConfirmation"/> diff --git a/core/src/main/res/drawable/ic_actions_startextbolus.xml b/core/src/main/res/drawable/ic_actions_startextbolus.xml index 35aa4cfb27..8d7f5bc3db 100644 --- a/core/src/main/res/drawable/ic_actions_startextbolus.xml +++ b/core/src/main/res/drawable/ic_actions_startextbolus.xml @@ -4,6 +4,7 @@ android:viewportHeight="24" android:viewportWidth="24" xmlns:android="http://schemas.android.com/apk/res/android"> - - + + diff --git a/core/src/main/res/drawable/ic_cp_announcement.xml b/core/src/main/res/drawable/ic_cp_announcement.xml index 3799ad551c..1488a6e33a 100644 --- a/core/src/main/res/drawable/ic_cp_announcement.xml +++ b/core/src/main/res/drawable/ic_cp_announcement.xml @@ -5,17 +5,17 @@ android:viewportHeight="24"> + android:fillColor="?attr/announcementColor"/> + android:fillColor="?attr/announcementColor"/> + android:fillColor="?attr/announcementColor"/> + android:fillColor="?attr/announcementColor"/> + android:fillColor="?attr/announcementColor"/> diff --git a/core/src/main/res/drawable/ic_cp_bgcheck.xml b/core/src/main/res/drawable/ic_cp_bgcheck.xml index 76a9bbe22f..9448450909 100644 --- a/core/src/main/res/drawable/ic_cp_bgcheck.xml +++ b/core/src/main/res/drawable/ic_cp_bgcheck.xml @@ -5,11 +5,11 @@ android:viewportHeight="24"> + android:fillColor="?attr/calibrationButtonColor"/> + android:fillColor="?attr/calibrationButtonColor"/> + android:fillColor="?attr/calibrationButtonColor"/> diff --git a/core/src/main/res/drawable/ic_cp_cgm_insert.xml b/core/src/main/res/drawable/ic_cp_cgm_insert.xml index 30107ac8fe..20e16e9b7d 100644 --- a/core/src/main/res/drawable/ic_cp_cgm_insert.xml +++ b/core/src/main/res/drawable/ic_cp_cgm_insert.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/cgmInsertColor"/> + android:fillColor="?attr/cgmInsertColor"/> diff --git a/core/src/main/res/drawable/ic_cp_exercise.xml b/core/src/main/res/drawable/ic_cp_exercise.xml index de04c4ecce..60b246221d 100644 --- a/core/src/main/res/drawable/ic_cp_exercise.xml +++ b/core/src/main/res/drawable/ic_cp_exercise.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/exerciseColor"/> + android:fillColor="?attr/exerciseColor"/> diff --git a/core/src/main/res/drawable/ic_cp_note.xml b/core/src/main/res/drawable/ic_cp_note.xml index 8308aabedf..9b0459d1bb 100644 --- a/core/src/main/res/drawable/ic_cp_note.xml +++ b/core/src/main/res/drawable/ic_cp_note.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:fillColor="?attr/noteColor"/> diff --git a/core/src/main/res/drawable/ic_cp_pump_battery.xml b/core/src/main/res/drawable/ic_cp_pump_battery.xml index e83067fded..f83d3289c1 100644 --- a/core/src/main/res/drawable/ic_cp_pump_battery.xml +++ b/core/src/main/res/drawable/ic_cp_pump_battery.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/pumpBatteryColor"/> + android:fillColor="?attr/pumpBatteryColor"/> diff --git a/core/src/main/res/drawable/ic_cp_pump_canula.xml b/core/src/main/res/drawable/ic_cp_pump_canula.xml index b43de7ceaa..7e8bce4d17 100644 --- a/core/src/main/res/drawable/ic_cp_pump_canula.xml +++ b/core/src/main/res/drawable/ic_cp_pump_canula.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:fillColor="?attr/pumpCanulaColor"/> diff --git a/core/src/main/res/drawable/ic_cp_question.xml b/core/src/main/res/drawable/ic_cp_question.xml index fc6d14c656..11e4f2cff6 100644 --- a/core/src/main/res/drawable/ic_cp_question.xml +++ b/core/src/main/res/drawable/ic_cp_question.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/questionColor"/> + android:fillColor="?attr/questionColor"/> diff --git a/core/src/main/res/drawable/ic_loop_closed.xml b/core/src/main/res/drawable/ic_loop_closed.xml index 9bddec63b6..110a3537ee 100644 --- a/core/src/main/res/drawable/ic_loop_closed.xml +++ b/core/src/main/res/drawable/ic_loop_closed.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:fillColor="?attr/loopClosed"/> diff --git a/core/src/main/res/drawable/ic_pump_history.xml b/core/src/main/res/drawable/ic_pump_history.xml index d4ef6ac5f0..fbd047a23a 100644 --- a/core/src/main/res/drawable/ic_pump_history.xml +++ b/core/src/main/res/drawable/ic_pump_history.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/pumpHistoryColor"/> + android:fillColor="?attr/pumpHistoryColor"/> diff --git a/core/src/main/res/drawable/ic_temptarget_high.xml b/core/src/main/res/drawable/ic_temptarget_high.xml index 9fbfe2eb08..ae0e9799ca 100644 --- a/core/src/main/res/drawable/ic_temptarget_high.xml +++ b/core/src/main/res/drawable/ic_temptarget_high.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:fillColor="?attr/bgInRange"/> + android:fillColor="?attr/tempTargetConfirmation"/> diff --git a/core/src/main/res/values-night/colors.xml b/core/src/main/res/values-night/colors.xml index 407645b3d1..ba771afa38 100644 --- a/core/src/main/res/values-night/colors.xml +++ b/core/src/main/res/values-night/colors.xml @@ -204,6 +204,16 @@ #000000 + #FEAF05 + #CF8BFE + #67dfe8 + #67dfe8 + #36FF00 + #FEAF05 + #CF8BFE + #FEAF05 + #67DFE8 + #323232 #424242 diff --git a/core/src/main/res/values-night/styles.xml b/core/src/main/res/values-night/styles.xml index 2d60869111..b55dc56cb4 100644 --- a/core/src/main/res/values-night/styles.xml +++ b/core/src/main/res/values-night/styles.xml @@ -29,7 +29,6 @@ @color/notificationLow @color/notificationInfo @color/notificationAnnouncement - @drawable/ic_close @color/bolus @@ -47,14 +46,10 @@ @color/colorSetTempButton @color/cardColorBackground - - @color/carbs @color/exercise @color/low - - @color/tempTargetConfirmation @color/colorSetExtendedButton @color/colorActive @@ -154,7 +149,6 @@ @color/omni_yellow @color/alarm - @color/mdtp_line_dark @color/ribbonDefault @@ -176,6 +170,39 @@ @color/colorQuickWizardButton @color/colorCalibrationButton @color/colorTreatmentButton + + @color/iob + + @color/basal + + @color/carbs + + @color/tempTargetConfirmation + + + @color/loopSuspended + + @color/loopClosed + + @color/loopDisabled + + @color/loopDisconnected + + @color/loopOpened + + @color/carbs + + @color/extendedBolus + @color/extBolusStop + @color/actionBasal + @color/actionBasal + @color/pumpCanula + @color/cgmInsert + @color/pumpBattery + @color/note + @color/announcement + @color/question + @color/pumpHistory