Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmarks/Favorites themeing #4

Open
Wh0ba opened this issue Feb 13, 2019 · 1 comment
Open

Bookmarks/Favorites themeing #4

Wh0ba opened this issue Feb 13, 2019 · 1 comment

Comments

@Wh0ba
Copy link

Wh0ba commented Feb 13, 2019

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

@opa334
Copy link
Owner

opa334 commented Feb 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants