Skip to content

Commit

Permalink
fix(youtube/theme): extend dark mode theming (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
OxrxL committed Oct 21, 2022
1 parent 49d9bbb commit 0d4028f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d4028f

Please sign in to comment.