From ee26d6dffd8c77115683ea242c3ab729c70f7ea6 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 22 Jul 2023 18:56:45 -0400 Subject: [PATCH] Remove some uses of color resources --- .../tachiyomi/ui/reader/ReaderActivity.kt | 14 ++++---- .../ui/reader/ReaderNavigationOverlayView.kt | 2 +- .../ui/reader/viewer/ViewerNavigation.kt | 13 ++++---- .../sc_collections_bookmark_48dp.xml | 4 +-- .../main/res/drawable-v26/sc_explore_48dp.xml | 2 +- .../main/res/drawable-v26/sc_history_48dp.xml | 2 +- .../res/drawable-v26/sc_new_releases_48dp.xml | 2 +- app/src/main/res/drawable/anim_caret_down.xml | 4 +-- app/src/main/res/drawable/ic_book_24dp.xml | 2 +- .../main/res/drawable/ic_bookmark_24dp.xml | 2 +- .../res/drawable/ic_bookmark_border_24dp.xml | 2 +- app/src/main/res/drawable/ic_check_24dp.xml | 2 +- app/src/main/res/drawable/ic_close_24dp.xml | 2 +- app/src/main/res/drawable/ic_crop_24dp.xml | 2 +- .../main/res/drawable/ic_crop_off_24dp.xml | 8 ++--- app/src/main/res/drawable/ic_delete_24dp.xml | 2 +- .../main/res/drawable/ic_done_prev_24dp.xml | 4 +-- .../main/res/drawable/ic_drag_handle_24dp.xml | 2 +- .../main/res/drawable/ic_extension_24dp.xml | 2 +- app/src/main/res/drawable/ic_folder_24dp.xml | 2 +- app/src/main/res/drawable/ic_glasses_24dp.xml | 2 +- app/src/main/res/drawable/ic_info_24dp.xml | 2 +- .../main/res/drawable/ic_offline_pin_24dp.xml | 2 +- .../main/res/drawable/ic_overflow_24dp.xml | 2 +- app/src/main/res/drawable/ic_pause_24dp.xml | 2 +- app/src/main/res/drawable/ic_photo_24dp.xml | 2 +- .../main/res/drawable/ic_play_arrow_24dp.xml | 2 +- .../ic_reader_continuous_vertical_24dp.xml | 6 ++-- .../res/drawable/ic_reader_default_24dp.xml | 4 +-- .../main/res/drawable/ic_reader_ltr_24dp.xml | 10 +++--- .../main/res/drawable/ic_reader_rtl_24dp.xml | 10 +++--- .../res/drawable/ic_reader_vertical_24dp.xml | 4 +-- .../res/drawable/ic_reader_webtoon_24dp.xml | 4 +-- app/src/main/res/drawable/ic_refresh_24dp.xml | 2 +- .../ic_screen_lock_landscape_24dp.xml | 2 +- .../drawable/ic_screen_lock_portrait_24dp.xml | 2 +- .../res/drawable/ic_screen_rotation_24dp.xml | 2 +- .../main/res/drawable/ic_settings_24dp.xml | 2 +- app/src/main/res/drawable/ic_share_24dp.xml | 2 +- .../ic_stay_current_landscape_24dp.xml | 2 +- .../ic_stay_current_portrait_24dp.xml | 2 +- .../ic_system_update_alt_white_24dp.xml | 2 +- app/src/main/res/drawable/ic_tachi.xml | 4 +-- .../res/drawable/ic_warning_white_24dp.xml | 2 +- app/src/main/res/drawable/ic_webview_24dp.xml | 2 +- .../drawable/sc_collections_bookmark_48dp.xml | 4 +-- app/src/main/res/drawable/sc_explore_48dp.xml | 2 +- app/src/main/res/drawable/sc_history_48dp.xml | 2 +- .../res/drawable/sc_new_releases_48dp.xml | 2 +- .../src/main/res/values/colors.xml | 33 ------------------- 50 files changed, 83 insertions(+), 113 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index 511226b18e..fdc22cbc95 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -936,18 +936,20 @@ class ReaderActivity : BaseActivity() { } } + private val grayBackgroundColor = Color.rgb(0x20, 0x21, 0x25) + /** * Initializes the reader subscriptions. */ init { readerPreferences.readerTheme().changes() .onEach { theme -> - binding.readerContainer.setBackgroundResource( + binding.readerContainer.setBackgroundColor( when (theme) { - 0 -> R.color.md_white_1000 - 2 -> R.color.reader_background_dark + 0 -> Color.WHITE + 2 -> grayBackgroundColor 3 -> automaticBackgroundColor() - else -> R.color.md_black_1000 + else -> Color.BLACK }, ) } @@ -1000,9 +1002,9 @@ class ReaderActivity : BaseActivity() { */ private fun automaticBackgroundColor(): Int { return if (baseContext.isNightMode()) { - R.color.reader_background_dark + grayBackgroundColor } else { - R.color.md_white_1000 + Color.WHITE } } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderNavigationOverlayView.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderNavigationOverlayView.kt index c7a2834534..9a0258ba45 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderNavigationOverlayView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderNavigationOverlayView.kt @@ -66,7 +66,7 @@ class ReaderNavigationOverlayView(context: Context, attributeSet: AttributeSet) // Scale rect from 1f,1f to screen width and height canvas.withScale(width.toFloat(), height.toFloat()) { - regionPaint.color = context.getColor(region.type.colorRes) + regionPaint.color = region.type.color drawRect(rect, regionPaint) } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ViewerNavigation.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ViewerNavigation.kt index aedfb2bbd7..67e923d3f0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ViewerNavigation.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ViewerNavigation.kt @@ -1,5 +1,6 @@ package eu.kanade.tachiyomi.ui.reader.viewer +import android.graphics.Color import android.graphics.PointF import android.graphics.RectF import androidx.annotation.StringRes @@ -9,12 +10,12 @@ import eu.kanade.tachiyomi.util.lang.invert abstract class ViewerNavigation { - sealed class NavigationRegion(@StringRes val nameRes: Int, val colorRes: Int) { - data object MENU : NavigationRegion(R.string.action_menu, R.color.navigation_menu) - data object PREV : NavigationRegion(R.string.nav_zone_prev, R.color.navigation_prev) - data object NEXT : NavigationRegion(R.string.nav_zone_next, R.color.navigation_next) - data object LEFT : NavigationRegion(R.string.nav_zone_left, R.color.navigation_left) - data object RIGHT : NavigationRegion(R.string.nav_zone_right, R.color.navigation_right) + sealed class NavigationRegion(@StringRes val nameRes: Int, val color: Int) { + data object MENU : NavigationRegion(R.string.action_menu, Color.argb(0xCC, 0x95, 0x81, 0x8D)) + data object PREV : NavigationRegion(R.string.nav_zone_prev, Color.argb(0xCC, 0xFF, 0x77, 0x33)) + data object NEXT : NavigationRegion(R.string.nav_zone_next, Color.argb(0xCC, 0x84, 0xE2, 0x96)) + data object LEFT : NavigationRegion(R.string.nav_zone_left, Color.argb(0xCC, 0x7D, 0x11, 0x28)) + data object RIGHT : NavigationRegion(R.string.nav_zone_right, Color.argb(0xCC, 0xA6, 0xCF, 0xD5)) } data class Region( diff --git a/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml b/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml index 44e525ef68..fd2784fbba 100644 --- a/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml +++ b/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml @@ -13,10 +13,10 @@ android:translateX="16" android:translateY="16"> diff --git a/app/src/main/res/drawable-v26/sc_explore_48dp.xml b/app/src/main/res/drawable-v26/sc_explore_48dp.xml index dfc58e17ab..9737e6031f 100644 --- a/app/src/main/res/drawable-v26/sc_explore_48dp.xml +++ b/app/src/main/res/drawable-v26/sc_explore_48dp.xml @@ -13,7 +13,7 @@ android:translateX="16" android:translateY="16"> diff --git a/app/src/main/res/drawable-v26/sc_history_48dp.xml b/app/src/main/res/drawable-v26/sc_history_48dp.xml index e4034f520c..f8b0ff94a0 100644 --- a/app/src/main/res/drawable-v26/sc_history_48dp.xml +++ b/app/src/main/res/drawable-v26/sc_history_48dp.xml @@ -13,7 +13,7 @@ android:translateX="16" android:translateY="16"> diff --git a/app/src/main/res/drawable-v26/sc_new_releases_48dp.xml b/app/src/main/res/drawable-v26/sc_new_releases_48dp.xml index 8b06f27cd4..256f5ff8fe 100644 --- a/app/src/main/res/drawable-v26/sc_new_releases_48dp.xml +++ b/app/src/main/res/drawable-v26/sc_new_releases_48dp.xml @@ -13,7 +13,7 @@ android:translateX="16" android:translateY="16"> diff --git a/app/src/main/res/drawable/anim_caret_down.xml b/app/src/main/res/drawable/anim_caret_down.xml index e5288406e2..eae8ba7488 100644 --- a/app/src/main/res/drawable/anim_caret_down.xml +++ b/app/src/main/res/drawable/anim_caret_down.xml @@ -24,7 +24,7 @@ android:translateY="-1.0"> @@ -40,7 +40,7 @@ android:translateY="1.0"> diff --git a/app/src/main/res/drawable/ic_book_24dp.xml b/app/src/main/res/drawable/ic_book_24dp.xml index 7d4d316941..3560020405 100644 --- a/app/src/main/res/drawable/ic_book_24dp.xml +++ b/app/src/main/res/drawable/ic_book_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_bookmark_24dp.xml b/app/src/main/res/drawable/ic_bookmark_24dp.xml index 15610e67bb..0c63a2e549 100644 --- a/app/src/main/res/drawable/ic_bookmark_24dp.xml +++ b/app/src/main/res/drawable/ic_bookmark_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_bookmark_border_24dp.xml b/app/src/main/res/drawable/ic_bookmark_border_24dp.xml index 2eefc2efc6..c3d2916eb6 100644 --- a/app/src/main/res/drawable/ic_bookmark_border_24dp.xml +++ b/app/src/main/res/drawable/ic_bookmark_border_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_check_24dp.xml b/app/src/main/res/drawable/ic_check_24dp.xml index b268959e37..6c1b167711 100644 --- a/app/src/main/res/drawable/ic_check_24dp.xml +++ b/app/src/main/res/drawable/ic_check_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24.0" android:viewportHeight="24.0"> diff --git a/app/src/main/res/drawable/ic_close_24dp.xml b/app/src/main/res/drawable/ic_close_24dp.xml index 6f6c8767dc..425ac8c0d9 100644 --- a/app/src/main/res/drawable/ic_close_24dp.xml +++ b/app/src/main/res/drawable/ic_close_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_crop_24dp.xml b/app/src/main/res/drawable/ic_crop_24dp.xml index f802c216e4..cc9409940c 100644 --- a/app/src/main/res/drawable/ic_crop_24dp.xml +++ b/app/src/main/res/drawable/ic_crop_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_crop_off_24dp.xml b/app/src/main/res/drawable/ic_crop_off_24dp.xml index 5d234a0b04..50be29bff7 100644 --- a/app/src/main/res/drawable/ic_crop_off_24dp.xml +++ b/app/src/main/res/drawable/ic_crop_off_24dp.xml @@ -4,15 +4,15 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_delete_24dp.xml b/app/src/main/res/drawable/ic_delete_24dp.xml index 8d17bb3c5e..5b42118591 100644 --- a/app/src/main/res/drawable/ic_delete_24dp.xml +++ b/app/src/main/res/drawable/ic_delete_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_done_prev_24dp.xml b/app/src/main/res/drawable/ic_done_prev_24dp.xml index 2e738222ca..a2c231ca9f 100644 --- a/app/src/main/res/drawable/ic_done_prev_24dp.xml +++ b/app/src/main/res/drawable/ic_done_prev_24dp.xml @@ -4,9 +4,9 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_drag_handle_24dp.xml b/app/src/main/res/drawable/ic_drag_handle_24dp.xml index e8d56863a7..69a19c7243 100644 --- a/app/src/main/res/drawable/ic_drag_handle_24dp.xml +++ b/app/src/main/res/drawable/ic_drag_handle_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_extension_24dp.xml b/app/src/main/res/drawable/ic_extension_24dp.xml index 1be5ca11b2..7682b25800 100644 --- a/app/src/main/res/drawable/ic_extension_24dp.xml +++ b/app/src/main/res/drawable/ic_extension_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_folder_24dp.xml b/app/src/main/res/drawable/ic_folder_24dp.xml index ab42ef1ab3..cf0f12e394 100644 --- a/app/src/main/res/drawable/ic_folder_24dp.xml +++ b/app/src/main/res/drawable/ic_folder_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_glasses_24dp.xml b/app/src/main/res/drawable/ic_glasses_24dp.xml index 3316bfde11..581a599141 100644 --- a/app/src/main/res/drawable/ic_glasses_24dp.xml +++ b/app/src/main/res/drawable/ic_glasses_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_info_24dp.xml b/app/src/main/res/drawable/ic_info_24dp.xml index 40a580d5b9..17de546879 100644 --- a/app/src/main/res/drawable/ic_info_24dp.xml +++ b/app/src/main/res/drawable/ic_info_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_offline_pin_24dp.xml b/app/src/main/res/drawable/ic_offline_pin_24dp.xml index 9a9cc213f6..f3dcb36251 100644 --- a/app/src/main/res/drawable/ic_offline_pin_24dp.xml +++ b/app/src/main/res/drawable/ic_offline_pin_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_overflow_24dp.xml b/app/src/main/res/drawable/ic_overflow_24dp.xml index 2ae4b83fb3..2ae642fa47 100644 --- a/app/src/main/res/drawable/ic_overflow_24dp.xml +++ b/app/src/main/res/drawable/ic_overflow_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_pause_24dp.xml b/app/src/main/res/drawable/ic_pause_24dp.xml index 2ffb66b3c8..e987185eaa 100644 --- a/app/src/main/res/drawable/ic_pause_24dp.xml +++ b/app/src/main/res/drawable/ic_pause_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_photo_24dp.xml b/app/src/main/res/drawable/ic_photo_24dp.xml index cffc7970d4..84dd78d749 100644 --- a/app/src/main/res/drawable/ic_photo_24dp.xml +++ b/app/src/main/res/drawable/ic_photo_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_play_arrow_24dp.xml b/app/src/main/res/drawable/ic_play_arrow_24dp.xml index 88f629175b..a568215cd3 100644 --- a/app/src/main/res/drawable/ic_play_arrow_24dp.xml +++ b/app/src/main/res/drawable/ic_play_arrow_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_continuous_vertical_24dp.xml b/app/src/main/res/drawable/ic_reader_continuous_vertical_24dp.xml index 7997bba7bb..33e4cf30cf 100644 --- a/app/src/main/res/drawable/ic_reader_continuous_vertical_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_continuous_vertical_24dp.xml @@ -4,12 +4,12 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_default_24dp.xml b/app/src/main/res/drawable/ic_reader_default_24dp.xml index 3ec2d7598e..bf8a5dbd6f 100644 --- a/app/src/main/res/drawable/ic_reader_default_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_default_24dp.xml @@ -4,9 +4,9 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_ltr_24dp.xml b/app/src/main/res/drawable/ic_reader_ltr_24dp.xml index 2c44474e90..9ba417af94 100644 --- a/app/src/main/res/drawable/ic_reader_ltr_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_ltr_24dp.xml @@ -4,18 +4,18 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_rtl_24dp.xml b/app/src/main/res/drawable/ic_reader_rtl_24dp.xml index bce2932fcf..290a31ffae 100644 --- a/app/src/main/res/drawable/ic_reader_rtl_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_rtl_24dp.xml @@ -4,18 +4,18 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_vertical_24dp.xml b/app/src/main/res/drawable/ic_reader_vertical_24dp.xml index def93b2c21..db122b7221 100644 --- a/app/src/main/res/drawable/ic_reader_vertical_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_vertical_24dp.xml @@ -4,9 +4,9 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_reader_webtoon_24dp.xml b/app/src/main/res/drawable/ic_reader_webtoon_24dp.xml index b7683822de..a9876f1471 100644 --- a/app/src/main/res/drawable/ic_reader_webtoon_24dp.xml +++ b/app/src/main/res/drawable/ic_reader_webtoon_24dp.xml @@ -4,9 +4,9 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_refresh_24dp.xml b/app/src/main/res/drawable/ic_refresh_24dp.xml index 311594eaa6..3d951426fd 100644 --- a/app/src/main/res/drawable/ic_refresh_24dp.xml +++ b/app/src/main/res/drawable/ic_refresh_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_screen_lock_landscape_24dp.xml b/app/src/main/res/drawable/ic_screen_lock_landscape_24dp.xml index f78d9a5d43..6c46c7b8a1 100644 --- a/app/src/main/res/drawable/ic_screen_lock_landscape_24dp.xml +++ b/app/src/main/res/drawable/ic_screen_lock_landscape_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_screen_lock_portrait_24dp.xml b/app/src/main/res/drawable/ic_screen_lock_portrait_24dp.xml index 718ca70baf..c7ee82f6b1 100644 --- a/app/src/main/res/drawable/ic_screen_lock_portrait_24dp.xml +++ b/app/src/main/res/drawable/ic_screen_lock_portrait_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_screen_rotation_24dp.xml b/app/src/main/res/drawable/ic_screen_rotation_24dp.xml index 3243d5a75d..04460bd85a 100644 --- a/app/src/main/res/drawable/ic_screen_rotation_24dp.xml +++ b/app/src/main/res/drawable/ic_screen_rotation_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_settings_24dp.xml b/app/src/main/res/drawable/ic_settings_24dp.xml index df54c6b13d..39195ad39c 100644 --- a/app/src/main/res/drawable/ic_settings_24dp.xml +++ b/app/src/main/res/drawable/ic_settings_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_share_24dp.xml b/app/src/main/res/drawable/ic_share_24dp.xml index 394e3effe4..9507de0d31 100644 --- a/app/src/main/res/drawable/ic_share_24dp.xml +++ b/app/src/main/res/drawable/ic_share_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_stay_current_landscape_24dp.xml b/app/src/main/res/drawable/ic_stay_current_landscape_24dp.xml index ac185cda4b..a36b366c4b 100644 --- a/app/src/main/res/drawable/ic_stay_current_landscape_24dp.xml +++ b/app/src/main/res/drawable/ic_stay_current_landscape_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_stay_current_portrait_24dp.xml b/app/src/main/res/drawable/ic_stay_current_portrait_24dp.xml index 23e9f4f263..25ce497393 100644 --- a/app/src/main/res/drawable/ic_stay_current_portrait_24dp.xml +++ b/app/src/main/res/drawable/ic_stay_current_portrait_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_system_update_alt_white_24dp.xml b/app/src/main/res/drawable/ic_system_update_alt_white_24dp.xml index f317562bec..982263ca67 100644 --- a/app/src/main/res/drawable/ic_system_update_alt_white_24dp.xml +++ b/app/src/main/res/drawable/ic_system_update_alt_white_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_tachi.xml b/app/src/main/res/drawable/ic_tachi.xml index 0065c6340d..0c988fbf1b 100644 --- a/app/src/main/res/drawable/ic_tachi.xml +++ b/app/src/main/res/drawable/ic_tachi.xml @@ -4,9 +4,9 @@ android:viewportWidth="256" android:viewportHeight="256"> diff --git a/app/src/main/res/drawable/ic_warning_white_24dp.xml b/app/src/main/res/drawable/ic_warning_white_24dp.xml index 74fcc6f747..d3a075a8ce 100644 --- a/app/src/main/res/drawable/ic_warning_white_24dp.xml +++ b/app/src/main/res/drawable/ic_warning_white_24dp.xml @@ -4,6 +4,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_webview_24dp.xml b/app/src/main/res/drawable/ic_webview_24dp.xml index cd993e203d..9400f45ed1 100644 --- a/app/src/main/res/drawable/ic_webview_24dp.xml +++ b/app/src/main/res/drawable/ic_webview_24dp.xml @@ -3,5 +3,5 @@ android:height="24dp" android:viewportWidth="24" android:viewportHeight="24"> - + diff --git a/app/src/main/res/drawable/sc_collections_bookmark_48dp.xml b/app/src/main/res/drawable/sc_collections_bookmark_48dp.xml index 6b7189f35f..d45e333f7c 100644 --- a/app/src/main/res/drawable/sc_collections_bookmark_48dp.xml +++ b/app/src/main/res/drawable/sc_collections_bookmark_48dp.xml @@ -15,10 +15,10 @@ android:translateX="12" android:translateY="12"> diff --git a/app/src/main/res/drawable/sc_explore_48dp.xml b/app/src/main/res/drawable/sc_explore_48dp.xml index 3a489bd1cd..bc97eb2592 100644 --- a/app/src/main/res/drawable/sc_explore_48dp.xml +++ b/app/src/main/res/drawable/sc_explore_48dp.xml @@ -15,7 +15,7 @@ android:translateX="12" android:translateY="12"> diff --git a/app/src/main/res/drawable/sc_history_48dp.xml b/app/src/main/res/drawable/sc_history_48dp.xml index 2988dfb89e..3ee54e497c 100644 --- a/app/src/main/res/drawable/sc_history_48dp.xml +++ b/app/src/main/res/drawable/sc_history_48dp.xml @@ -15,7 +15,7 @@ android:translateX="12" android:translateY="12"> diff --git a/app/src/main/res/drawable/sc_new_releases_48dp.xml b/app/src/main/res/drawable/sc_new_releases_48dp.xml index 31e43db8f5..20d04862c0 100644 --- a/app/src/main/res/drawable/sc_new_releases_48dp.xml +++ b/app/src/main/res/drawable/sc_new_releases_48dp.xml @@ -15,7 +15,7 @@ android:translateX="12" android:translateY="12"> diff --git a/presentation-core/src/main/res/values/colors.xml b/presentation-core/src/main/res/values/colors.xml index 281b87825c..3d66ea077d 100644 --- a/presentation-core/src/main/res/values/colors.xml +++ b/presentation-core/src/main/res/values/colors.xml @@ -19,8 +19,6 @@ #000001 #000000 - #202125 - #000000 #DE000000 @@ -39,35 +37,4 @@ #14FFFFFF #0FFFFFFF - #FAFAFA - #BFFAFAFA - #F5F5F5 - #E0E0E0 - #424242 - #212121 - #BF212121 - - #448AFF - #BF448AFF - #80448AFF - - #2979FF - #BF2979FF - #612979FF - #1F2979FF - - #263238 - #37474F - - - #CB84E296 - #CCFF7733 - #CC95818D - #CCA6CFD5 - #CC7D1128 - - - @android:color/transparent - @android:color/transparent -