diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-14 16:52:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 16:52:59 +0200 |
commit | 92033f8373cd9dedbf2d961cf064e4878e225346 (patch) | |
tree | e2f8a0c9256574b4b226a5bbab303b7acc1111e5 /core | |
parent | c2c6364826ecab642b27375579145d46fa5d3080 (diff) | |
parent | 735fc51bc6a66f6c3cb79c063d07bc1cdfc6c0b0 (diff) | |
download | AntennaPod-92033f8373cd9dedbf2d961cf064e4878e225346.zip |
Merge pull request #4138 from ByteHamster/theme-darker
Made dark theme darker
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/res/values/attrs.xml | 1 | ||||
-rw-r--r-- | core/src/main/res/values/colors.xml | 12 | ||||
-rw-r--r-- | core/src/main/res/values/styles.xml | 3 |
3 files changed, 11 insertions, 5 deletions
diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index f8b545ac0..2d8cbb4cb 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -56,6 +56,7 @@ <attr name="batch_edit_fab_icon" format="reference"/> <attr name="action_icon_color" format="color"/> <attr name="scrollbar_thumb" format="reference"/> + <attr name="background_elevated" format="color"/> <declare-styleable name="SquareImageView"> <attr name="direction" format="enum"> diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml index cc04db2dd..a86d61eba 100644 --- a/core/src/main/res/values/colors.xml +++ b/core/src/main/res/values/colors.xml @@ -13,14 +13,16 @@ <!-- Theme colors --> <color name="background_light">#FFFFFF</color> - <color name="background_darktheme">#303030</color> - <color name="highlight_light">#DDDDDD</color> - <color name="highlight_dark">#414141</color> - <color name="highlight_trueblack">#414141</color> + <color name="background_elevated_light">#EFEEEE</color> + <color name="background_darktheme">#21272b</color> + <color name="background_elevated_darktheme">#2D3337</color> + <color name="highlight_light">#46C6C6C6</color> + <color name="highlight_dark">#43707070</color> + <color name="highlight_trueblack">#43707070</color> <color name="non_square_icon_background">#22777777</color> <color name="accent_light">#0078C2</color> - <color name="accent_dark">#5C9DFF</color> + <color name="accent_dark">#3D8BFF</color> <color name="ic_launcher_background">#008AB8</color> <color name="master_switch_background_light">#DDDDDD</color> diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index 2b7be1713..c72cd3e53 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -14,6 +14,7 @@ <item name="colorPrimaryDark">@color/accent_light</item> <item name="android:windowBackground">@color/background_light</item> <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Light</item> + <item name="background_elevated">@color/background_elevated_light</item> <item name="master_switch_background">@color/master_switch_background_light</item> <item name="currently_playing_background">@color/highlight_light</item> <item name="action_icon_color">@color/black</item> @@ -85,6 +86,7 @@ <item name="colorPrimaryDark">@color/background_darktheme</item> <item name="android:windowBackground">@color/background_darktheme</item> <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Dark</item> + <item name="background_elevated">@color/background_elevated_darktheme</item> <item name="colorControlNormal">@color/white</item> <item name="progressBarTheme">@style/ProgressBarDark</item> <item name="drawer_activated_color">@color/highlight_dark</item> @@ -159,6 +161,7 @@ <item name="android:colorBackground">@color/black</item> <item name="android:windowBackground">@color/black</item> <item name="android:actionBarStyle">@color/black</item> + <item name="background_elevated">@color/black</item> </style> <style name="Theme.AntennaPod.Light.NoTitle" parent="Theme.AntennaPod.Light"> |