Implement therealFoxster Dark Theme Fix

This commit is contained in:
arichornlover 2023-12-24 09:46:26 -06:00 committed by GitHub
parent a2d7d2df34
commit f1f11aac2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];