封装KBFont,适配字体

This commit is contained in:
2025-11-25 15:36:16 +08:00
parent 71423df1c0
commit 1eb73f5257
40 changed files with 224 additions and 101 deletions

View File

@@ -195,7 +195,7 @@
_titleLabel = [[UILabel alloc] init];
_titleLabel.text = @"Become a member of LOVE KEY";
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_titleLabel.font = [UIFont systemFontOfSize:25 weight:UIFontWeightBold];
_titleLabel.font = [KBFont bold:18];
}
return _titleLabel;
}
@@ -204,7 +204,7 @@
_desLabel = [[UILabel alloc] init];
_desLabel.text = @"Unlock all functions";
_desLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_desLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightBold];
_desLabel.font = [KBFont medium:14];
}
return _desLabel;
}