diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRevancifyBluePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRevancifyBluePatch.kt new file mode 100644 index 000000000..f86b48455 --- /dev/null +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/etc/branding/icon/patch/CustomBrandingIconRevancifyBluePatch.kt @@ -0,0 +1,31 @@ +package app.revanced.patches.youtube.layout.etc.branding.icon.patch + +import app.revanced.patcher.annotation.Description +import app.revanced.patcher.annotation.Name +import app.revanced.patcher.annotation.Version +import app.revanced.patcher.data.ResourceContext +import app.revanced.patcher.patch.PatchResult +import app.revanced.patcher.patch.PatchResultSuccess +import app.revanced.patcher.patch.ResourcePatch +import app.revanced.patcher.patch.annotations.DependsOn +import app.revanced.patcher.patch.annotations.Patch +import app.revanced.patches.shared.annotation.YouTubeCompatibility +import app.revanced.patches.youtube.misc.settings.resource.patch.SettingsPatch +import app.revanced.util.resources.IconHelper.customIcon +import app.revanced.util.resources.ResourceHelper.updatePatchStatusIcon + +@Patch(false) +@Name("custom-branding-icon-revancify-blue") +@Description("Changes the YouTube launcher icon to Revancify Blue.") +@DependsOn([SettingsPatch::class]) +@YouTubeCompatibility +@Version("0.0.1") +class CustomBrandingIconRevancifyBluePatch : ResourcePatch { + override fun execute(context: ResourceContext): PatchResult { + + context.customIcon("revancify-blue") + context.updatePatchStatusIcon("revancify_blue") + + return PatchResultSuccess() + } +} diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png new file mode 100644 index 000000000..a5e35c4aa Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_background_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png new file mode 100644 index 000000000..17b75dcf5 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/adaptiveproduct_youtube_foreground_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher.png new file mode 100644 index 000000000..8a6466ef1 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher_round.png new file mode 100644 index 000000000..8a6466ef1 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/hdpi/ic_launcher_round.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png new file mode 100644 index 000000000..367e2d1a5 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_background_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png new file mode 100644 index 000000000..aa200d9f7 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/adaptiveproduct_youtube_foreground_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher.png new file mode 100644 index 000000000..93a01ff33 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher_round.png new file mode 100644 index 000000000..93a01ff33 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/mdpi/ic_launcher_round.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png new file mode 100644 index 000000000..196398e3e Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_background_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png new file mode 100644 index 000000000..991abb959 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/adaptiveproduct_youtube_foreground_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher.png new file mode 100644 index 000000000..99cf2f886 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher_round.png new file mode 100644 index 000000000..99cf2f886 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xhdpi/ic_launcher_round.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png new file mode 100644 index 000000000..dfb79d7ad Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_background_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png new file mode 100644 index 000000000..e78114682 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/adaptiveproduct_youtube_foreground_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher.png new file mode 100644 index 000000000..53d516e7b Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..53d516e7b Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxhdpi/ic_launcher_round.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png new file mode 100644 index 000000000..ceec7611e Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_background_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png new file mode 100644 index 000000000..4d9981540 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/adaptiveproduct_youtube_foreground_color_108.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..eb16b1460 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher_round.png b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..eb16b1460 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/launchericon/xxxhdpi/ic_launcher_round.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml b/src/main/resources/youtube/branding/revancify-blue/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml new file mode 100644 index 000000000..d922e6263 --- /dev/null +++ b/src/main/resources/youtube/branding/revancify-blue/monochromeicon/drawable/adaptive_monochrome_ic_youtube_launcher.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_144.png new file mode 100644 index 000000000..227009b22 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_144.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_192.png new file mode 100644 index 000000000..9e37503de Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_192.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_24.png new file mode 100644 index 000000000..e4fedf047 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_24.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_36.png new file mode 100644 index 000000000..5fe4644e1 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/hdpi/product_logo_youtube_color_36.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_144.png new file mode 100644 index 000000000..0f469244c Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_144.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_192.png new file mode 100644 index 000000000..615947f02 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_192.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_24.png new file mode 100644 index 000000000..fa8fc8093 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_24.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_36.png new file mode 100644 index 000000000..efb94a491 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/mdpi/product_logo_youtube_color_36.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_144.png new file mode 100644 index 000000000..8a2677610 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_144.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_192.png new file mode 100644 index 000000000..2d68b097a Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_192.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_24.png new file mode 100644 index 000000000..f1aaf5920 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_24.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_36.png new file mode 100644 index 000000000..55174ae9e Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xhdpi/product_logo_youtube_color_36.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_144.png new file mode 100644 index 000000000..4d336bc48 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_144.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_192.png new file mode 100644 index 000000000..01dbf5efd Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_192.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_24.png new file mode 100644 index 000000000..a133eb16b Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_24.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_36.png new file mode 100644 index 000000000..a36efc654 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxhdpi/product_logo_youtube_color_36.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_144.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_144.png new file mode 100644 index 000000000..8c9e511a0 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_144.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_192.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_192.png new file mode 100644 index 000000000..f3f68baba Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_192.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_24.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_24.png new file mode 100644 index 000000000..99cf2f886 Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_24.png differ diff --git a/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_36.png b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_36.png new file mode 100644 index 000000000..53d516e7b Binary files /dev/null and b/src/main/resources/youtube/branding/revancify-blue/splashicon/xxxhdpi/product_logo_youtube_color_36.png differ diff --git a/src/main/resources/youtube/settings/values-v21/strings.xml b/src/main/resources/youtube/settings/values-v21/strings.xml index 2dd157c1b..bcb99aebb 100644 --- a/src/main/resources/youtube/settings/values-v21/strings.xml +++ b/src/main/resources/youtube/settings/values-v21/strings.xml @@ -52,6 +52,7 @@ stock custom mmt + revancify / blue revancify / red stock Excluded