SafariPlus icon indicating copy to clipboard operation
SafariPlus copied to clipboard

Bookmarks/Favorites themeing

Open Wh0ba opened this issue 6 years ago • 1 comments
trafficstars

I have this code to do so

@interface BookmarkFavoritesCollectionView : UICollectionView
@end
@interface VibrantLabelView: UIView
@property (nonatomic, retain) UIColor* nonVibrantColor;
@end

/*
@interface BookmarkFavoriteView : UIView

//MSHookIvar<VibrantLabelView*>(self, "_titleLabel")

@end
*/


%hook BookmarkFavoritesCollectionView

- (void)layoutSubviews {
	
	%orig;
	
	
	self.backgroundColor = [UIColor blackColor];
}

%end

%hook VibrantLabelView

- (void)layoutSubviews {
	%orig;
	
	self.nonVibrantColor = [UIColor colorWithRed:1 green:0 blue:0.17 alpha:1];
}

%end

I've tried to add it but it seems to fail and all the preferences fail to load

Wh0ba avatar Feb 13 '19 10:02 Wh0ba

Might add this in version 1.7, will have to see.

opa334 avatar Feb 18 '19 20:02 opa334