diff --git a/Source/Themes.xm b/Source/Themes.xm index 2efb8f8..0564cf2 100644 --- a/Source/Themes.xm +++ b/Source/Themes.xm @@ -14,6 +14,13 @@ static BOOL oldDarkTheme() { } // Themes.xm - Theme Options +// Fix navigation bar showing a lighter grey with default dark mode +%hook YTCommonColorPalette +- (UIColor *)brandBackgroundSolid { + return self.pageStyle == 1 ? [UIColor colorWithRed:0.05882352941176471 green:0.05882352941176471 blue:0.05882352941176471 alpha:1.0] : %orig; +} +%end + // Old dark theme (gray) %group gOldDarkTheme UIColor *originalColor = [UIColor colorWithRed:0.129 green:0.129 blue:0.129 alpha:1.0];