From 03f2198ed5e977c37f0413483a10ad421d06d153 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Mon, 13 Jul 2020 12:06:34 +0200 Subject: [PATCH] Fixed colors in dark theme --- .../color/filter_dialog_background_dark.xml | 2 +- .../color/filter_dialog_background_light.xml | 4 ++-- .../res/color/filter_dialog_clear_dark.xml | 5 +++++ .../res/color/filter_dialog_clear_light.xml | 5 +++++ .../src/main/res/color/filter_dialog_close.xml | 5 ----- core/src/main/res/drawable/ic_filter_close.xml | 6 +++--- core/src/main/res/values/attrs.xml | 4 +--- core/src/main/res/values/colors.xml | 18 ++++-------------- core/src/main/res/values/styles.xml | 12 +++--------- 9 files changed, 24 insertions(+), 37 deletions(-) create mode 100644 core/src/main/res/color/filter_dialog_clear_dark.xml create mode 100644 core/src/main/res/color/filter_dialog_clear_light.xml delete mode 100644 core/src/main/res/color/filter_dialog_close.xml diff --git a/core/src/main/res/color/filter_dialog_background_dark.xml b/core/src/main/res/color/filter_dialog_background_dark.xml index 846bb37c9..3df2a80dc 100644 --- a/core/src/main/res/color/filter_dialog_background_dark.xml +++ b/core/src/main/res/color/filter_dialog_background_dark.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/core/src/main/res/color/filter_dialog_background_light.xml b/core/src/main/res/color/filter_dialog_background_light.xml index be3feb190..930325629 100644 --- a/core/src/main/res/color/filter_dialog_background_light.xml +++ b/core/src/main/res/color/filter_dialog_background_light.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/core/src/main/res/color/filter_dialog_clear_dark.xml b/core/src/main/res/color/filter_dialog_clear_dark.xml new file mode 100644 index 000000000..88e022d0f --- /dev/null +++ b/core/src/main/res/color/filter_dialog_clear_dark.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res/color/filter_dialog_clear_light.xml b/core/src/main/res/color/filter_dialog_clear_light.xml new file mode 100644 index 000000000..9d513f72a --- /dev/null +++ b/core/src/main/res/color/filter_dialog_clear_light.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/core/src/main/res/color/filter_dialog_close.xml b/core/src/main/res/color/filter_dialog_close.xml deleted file mode 100644 index 1b059c818..000000000 --- a/core/src/main/res/color/filter_dialog_close.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/core/src/main/res/drawable/ic_filter_close.xml b/core/src/main/res/drawable/ic_filter_close.xml index 0cfbbf3f5..9e0a26905 100644 --- a/core/src/main/res/drawable/ic_filter_close.xml +++ b/core/src/main/res/drawable/ic_filter_close.xml @@ -10,7 +10,7 @@ + android:color="?attr/filter_dialog_clear" /> @@ -28,7 +28,7 @@ + android:color="?attr/filter_dialog_clear" /> @@ -46,7 +46,7 @@ + android:color="?attr/filter_dialog_clear" /> diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index 07f7d50e6..efb44a783 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -58,10 +58,8 @@ - + - - diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index bd542a05c..a55378931 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -29,18 +29,8 @@ #191919 - #757575 - #DDDDDD - #3D8BFF - #0078C2 - - #46C6C6C6 - #43707070 - - #757575 - #46C6C6C6 - - #FFFFFF - #000000 - + #666666 + #bbbbbb + #eeeeee + #555555 diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index a5543c4dc..972174da5 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -73,10 +73,7 @@ @drawable/ic_key_black @drawable/ic_volume_adaption_black @drawable/scrollbar_thumb_light - - @color/dialog_filter_clear_active_light - @color/dialog_filter_clear_inactive_light - @color/filter_dialog_close + @color/filter_dialog_clear_light @color/filter_dialog_background_light @@ -153,11 +150,8 @@ @drawable/ic_key_white @drawable/ic_volume_adaption_white @drawable/scrollbar_thumb_dark - - @color/dialog_filter_clear_active_dark - @color/dialog_filter_clear_inactive_dark - @color/filter_dialog_close - @color/filter_dialog_background_light + @color/filter_dialog_clear_dark + @color/filter_dialog_background_dark