封装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

@@ -75,8 +75,8 @@
- (UILabel *)noticeTitleLabel {
if (!_noticeTitleLabel) {
_noticeTitleLabel = [UILabel new];
_noticeTitleLabel.textColor = [UIColor blackColor];
_noticeTitleLabel.font = [UIFont systemFontOfSize:18 weight:UIFontWeightSemibold];
_noticeTitleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_noticeTitleLabel.font = [KBFont medium:16];
// Localizable.strings
_noticeTitleLabel.text = KBLocalized(@"Notification Setting");
}