remove BodyLighter font and label

This commit is contained in:
panxi 2019-03-27 16:52:14 -04:00
parent 4240b6a2f4
commit 23f75ab2cc
5 changed files with 0 additions and 26 deletions

View File

@ -41,7 +41,6 @@
// Getters
+ (nonnull MFLabel *)label NS_SWIFT_NAME(commonLabel());
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale;
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale;
+ (nonnull MFLabel *)commonLabelHeadlineSmall:(BOOL)scale;
+ (nonnull MFLabel *)commonLabelHeadlineWithSize:(CGFloat)size scale:(BOOL)scale;
@ -59,7 +58,6 @@
- (void)styleB2:(BOOL)scale;
- (void)styleBodyWithSize:(CGFloat)size scale:(BOOL)scale;
- (void)styleBodyBold:(BOOL)scale;
- (void)styleBodyLighter:(BOOL)scale;
- (void)styleBodyLarge:(BOOL)scale;
- (void)styleH1:(BOOL)scale;
- (void)styleH2:(BOOL)scale;

View File

@ -116,11 +116,6 @@
return label;
}
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale {
MFLabel *label = [MFLabel label];
[label styleBodyLighter:scale];
return label;
}
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale {
MFLabel *label = [MFLabel label];
@ -314,11 +309,6 @@
[self setScale:scale];
}
- (void)styleBodyLighter:(BOOL)scale {
[MFStyler styleLabelBodyLighter:self genericScaling:NO];
[self setScale:scale];
}
- (void)styleBodyLarge:(BOOL)scale {
[MFStyler styleLabelBodyLarge:self genericScaling:NO];
[self setScale:scale];

View File

@ -273,7 +273,6 @@ B3 -> Legal
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label;
+ (void)styleLabelB2:(nonnull UILabel *)label;
+ (void)styleLabelBodyLarge:(nonnull UILabel *)label;
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label;
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label;
@ -293,8 +292,6 @@ B3 -> Legal
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
+ (void)styleLabelSubheadBoldLarge:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
+ (void)styleLabelBodyLarge:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
+ (void)styleFeedCardTagLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;

View File

@ -771,11 +771,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
label.textColor = [UIColor blackColor];
}
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label {
label.font = [MFStyler fontB2];
label.textColor = [UIColor mfGrayColor];
}
+ (void)styleLabelB1:(nonnull UILabel *)label {
label.font = [MFStyler fontB1];
label.textColor = [UIColor blackColor];
@ -853,11 +848,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
label.textColor = [UIColor blackColor];
}
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling {
label.font = [MFStyler fontB2:genericScaling];
label.textColor = [UIColor mfGrayColor];
}
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling {
label.font = [MFStyler fontForFeedCardTitle:genericScaling];
label.textColor = [UIColor blackColor];

View File

@ -36,7 +36,6 @@
+ (nonnull UILabel *)commonLabelHeadlineFeed;
+ (nonnull UILabel *)commonLabelSubheadBold;
+ (nonnull UILabel *)commonLabelBodyLarge;
+ (nonnull UILabel *)commonLabelBodyLighter;
+ (nonnull UILabel *)commonLabelFeedTitle;
#pragma mark - Text Field