mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
LowContrastMode Improvements
This commit is contained in:
parent
29dcffb0e8
commit
bbeb521b04
1 changed files with 12 additions and 14 deletions
|
|
@ -58,6 +58,18 @@ static BOOL pinkContrastMode() {
|
|||
+ (UIColor *)quaternaryLabelColor {
|
||||
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];
|
||||
}
|
||||
+ (UIColor *)white2 {
|
||||
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];
|
||||
}
|
||||
+ (UIColor *)white3 {
|
||||
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];
|
||||
}
|
||||
+ (UIColor *)white4 {
|
||||
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];
|
||||
}
|
||||
+ (UIColor *)white5 {
|
||||
return [UIColor colorWithRed: 0.56 green: 0.56 blue: 0.56 alpha: 1.00];
|
||||
}
|
||||
%end
|
||||
%hook YTCommonColorPalette
|
||||
- (UIColor *)textPrimary {
|
||||
|
|
@ -88,20 +100,6 @@ static BOOL pinkContrastMode() {
|
|||
return self.pageStyle == 1 ? [UIColor whiteColor] : %orig;
|
||||
}
|
||||
%end
|
||||
%hook YTColor
|
||||
- (UIColor *)white2 {
|
||||
return [UIColor whiteColor];
|
||||
}
|
||||
- (UIColor *)white3 {
|
||||
return [UIColor whiteColor];
|
||||
}
|
||||
- (UIColor *)white4 {
|
||||
return [UIColor whiteColor];
|
||||
}
|
||||
- (UIColor *)white5 {
|
||||
return [UIColor whiteColor];
|
||||
}
|
||||
%end
|
||||
%hook QTMColorGroup
|
||||
- (UIColor *)tint100 {
|
||||
return [UIColor whiteColor];
|
||||
|
|
|
|||
Loading…
Reference in a new issue