remove BodyLighter font and label
This commit is contained in:
parent
4240b6a2f4
commit
23f75ab2cc
@ -41,7 +41,6 @@
|
|||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
+ (nonnull MFLabel *)label NS_SWIFT_NAME(commonLabel());
|
+ (nonnull MFLabel *)label NS_SWIFT_NAME(commonLabel());
|
||||||
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale;
|
|
||||||
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale;
|
||||||
+ (nonnull MFLabel *)commonLabelHeadlineSmall:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelHeadlineSmall:(BOOL)scale;
|
||||||
+ (nonnull MFLabel *)commonLabelHeadlineWithSize:(CGFloat)size scale:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelHeadlineWithSize:(CGFloat)size scale:(BOOL)scale;
|
||||||
@ -59,7 +58,6 @@
|
|||||||
- (void)styleB2:(BOOL)scale;
|
- (void)styleB2:(BOOL)scale;
|
||||||
- (void)styleBodyWithSize:(CGFloat)size scale:(BOOL)scale;
|
- (void)styleBodyWithSize:(CGFloat)size scale:(BOOL)scale;
|
||||||
- (void)styleBodyBold:(BOOL)scale;
|
- (void)styleBodyBold:(BOOL)scale;
|
||||||
- (void)styleBodyLighter:(BOOL)scale;
|
|
||||||
- (void)styleBodyLarge:(BOOL)scale;
|
- (void)styleBodyLarge:(BOOL)scale;
|
||||||
- (void)styleH1:(BOOL)scale;
|
- (void)styleH1:(BOOL)scale;
|
||||||
- (void)styleH2:(BOOL)scale;
|
- (void)styleH2:(BOOL)scale;
|
||||||
|
|||||||
@ -116,11 +116,6 @@
|
|||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale {
|
|
||||||
MFLabel *label = [MFLabel label];
|
|
||||||
[label styleBodyLighter:scale];
|
|
||||||
return label;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale {
|
+ (nonnull MFLabel *)commonLabelBodyLarge:(BOOL)scale {
|
||||||
MFLabel *label = [MFLabel label];
|
MFLabel *label = [MFLabel label];
|
||||||
@ -314,11 +309,6 @@
|
|||||||
[self setScale:scale];
|
[self setScale:scale];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)styleBodyLighter:(BOOL)scale {
|
|
||||||
[MFStyler styleLabelBodyLighter:self genericScaling:NO];
|
|
||||||
[self setScale:scale];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)styleBodyLarge:(BOOL)scale {
|
- (void)styleBodyLarge:(BOOL)scale {
|
||||||
[MFStyler styleLabelBodyLarge:self genericScaling:NO];
|
[MFStyler styleLabelBodyLarge:self genericScaling:NO];
|
||||||
[self setScale:scale];
|
[self setScale:scale];
|
||||||
|
|||||||
@ -273,7 +273,6 @@ B3 -> Legal
|
|||||||
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label;
|
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label;
|
||||||
+ (void)styleLabelB2:(nonnull UILabel *)label;
|
+ (void)styleLabelB2:(nonnull UILabel *)label;
|
||||||
+ (void)styleLabelBodyLarge:(nonnull UILabel *)label;
|
+ (void)styleLabelBodyLarge:(nonnull UILabel *)label;
|
||||||
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label;
|
|
||||||
|
|
||||||
|
|
||||||
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label;
|
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label;
|
||||||
@ -293,8 +292,6 @@ B3 -> Legal
|
|||||||
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
+ (void)styleLabelSubheadBold:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||||
+ (void)styleLabelSubheadBoldLarge:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
+ (void)styleLabelSubheadBoldLarge:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||||
+ (void)styleLabelBodyLarge:(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)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||||
+ (void)styleFeedCardTagLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
+ (void)styleFeedCardTagLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||||
|
|||||||
@ -771,11 +771,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
|||||||
label.textColor = [UIColor blackColor];
|
label.textColor = [UIColor blackColor];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (void)styleLabelBodyLighter:(nonnull UILabel *)label {
|
|
||||||
label.font = [MFStyler fontB2];
|
|
||||||
label.textColor = [UIColor mfGrayColor];
|
|
||||||
}
|
|
||||||
|
|
||||||
+ (void)styleLabelB1:(nonnull UILabel *)label {
|
+ (void)styleLabelB1:(nonnull UILabel *)label {
|
||||||
label.font = [MFStyler fontB1];
|
label.font = [MFStyler fontB1];
|
||||||
label.textColor = [UIColor blackColor];
|
label.textColor = [UIColor blackColor];
|
||||||
@ -853,11 +848,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
|||||||
label.textColor = [UIColor blackColor];
|
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 {
|
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling {
|
||||||
label.font = [MFStyler fontForFeedCardTitle:genericScaling];
|
label.font = [MFStyler fontForFeedCardTitle:genericScaling];
|
||||||
label.textColor = [UIColor blackColor];
|
label.textColor = [UIColor blackColor];
|
||||||
|
|||||||
@ -36,7 +36,6 @@
|
|||||||
+ (nonnull UILabel *)commonLabelHeadlineFeed;
|
+ (nonnull UILabel *)commonLabelHeadlineFeed;
|
||||||
+ (nonnull UILabel *)commonLabelSubheadBold;
|
+ (nonnull UILabel *)commonLabelSubheadBold;
|
||||||
+ (nonnull UILabel *)commonLabelBodyLarge;
|
+ (nonnull UILabel *)commonLabelBodyLarge;
|
||||||
+ (nonnull UILabel *)commonLabelBodyLighter;
|
|
||||||
+ (nonnull UILabel *)commonLabelFeedTitle;
|
+ (nonnull UILabel *)commonLabelFeedTitle;
|
||||||
|
|
||||||
#pragma mark - Text Field
|
#pragma mark - Text Field
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user