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 511226b18..fdc22cbc9 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 c7a283453..9a0258ba4 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 aedfb2bbd..67e923d3f 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 44e525ef6..fd2784fbb 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 dfc58e17a..9737e6031 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 e4034f520..f8b0ff94a 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 8b06f27cd..256f5ff8f 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 e5288406e..eae8ba748 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 7d4d31694..356002040 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 15610e67b..0c63a2e54 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 2eefc2efc..c3d2916eb 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 b268959e3..6c1b16771 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 6f6c8767d..425ac8c0d 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 f802c216e..cc9409940 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 5d234a0b0..50be29bff 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 8d17bb3c5..5b4211859 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 2e738222c..a2c231ca9 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 e8d56863a..69a19c724 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 1be5ca11b..7682b2580 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 ab42ef1ab..cf0f12e39 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 3316bfde1..581a59914 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 40a580d5b..17de54687 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 9a9cc213f..f3dcb3625 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 2ae4b83fb..2ae642fa4 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 2ffb66b3c..e987185ea 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 cffc7970d..84dd78d74 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 88f629175..a568215cd 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 7997bba7b..33e4cf30c 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 3ec2d7598..bf8a5dbd6 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 2c44474e9..9ba417af9 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 bce2932fc..290a31ffa 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 def93b2c2..db122b722 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 b7683822d..a9876f147 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 311594eaa..3d951426f 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 f78d9a5d4..6c46c7b8a 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 718ca70ba..c7ee82f6b 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 3243d5a75..04460bd85 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 df54c6b13..39195ad39 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 394e3effe..9507de0d3 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 ac185cda4..a36b366c4 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 23e9f4f26..25ce49739 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 f317562be..982263ca6 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 0065c6340..0c988fbf1 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 74fcc6f74..d3a075a8c 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 cd993e203..9400f45ed 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 6b7189f35..d45e333f7 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 3a489bd1c..bc97eb259 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 2988dfb89..3ee54e497 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 31e43db8f..20d04862c 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 281b87825..3d66ea077 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 -