From f1f11aac2e0d6a388c4434af85539d433646b366 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sun, 24 Dec 2023 09:46:26 -0600 Subject: [PATCH] Implement therealFoxster Dark Theme Fix --- Source/Themes.xm | 7 +++++++ 1 file changed, 7 insertions(+) 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];