From 6d803c5386e1f6f6fb6a7fa0a9f0bb81ee1022ac Mon Sep 17 00:00:00 2001 From: OxrxL <108184954+OxrxL@users.noreply.github.com> Date: Fri, 21 Oct 2022 15:14:24 +0200 Subject: [PATCH] fix(youtube/theme): extend dark mode theming (#827) --- .../revanced/patches/youtube/layout/theme/patch/ThemePatch.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt index ede466659..1f5cdb6d7 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/theme/patch/ThemePatch.kt @@ -30,7 +30,8 @@ class ThemePatch : ResourcePatch { node.textContent = when (node.getAttribute("name")) { "yt_black1", "yt_black1_opacity95", "yt_black1_opacity98", "yt_black2", "yt_black3", "yt_black4", - "yt_status_bar_background_dark" -> darkThemeBackgroundColor + "yt_status_bar_background_dark", "material_grey_100", "material_grey_50", "material_grey_600", + "material_grey_800", "material_grey_850", "material_grey_900", "material_grey_white_1000" -> darkThemeBackgroundColor "yt_white1", "yt_white1_opacity95", "yt_white1_opacity98", "yt_white2", "yt_white3", "yt_white4" -> lightThemeBackgroundColor