From 50260473dbb1bf4596f9f6ead4a265ca7ee4d5b3 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期五, 30 八月 2024 14:36:56 +0800 Subject: [PATCH] fix UI --- XQMuse/Config/Themes.swift | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/XQMuse/Config/Themes.swift b/XQMuse/Config/Themes.swift index f10fdc3..5fd714c 100644 --- a/XQMuse/Config/Themes.swift +++ b/XQMuse/Config/Themes.swift @@ -19,6 +19,22 @@ return UIFont(name: "Agenda-Light", size: fontSize) ?? .systemFont(ofSize: fontSize) } +func Def_FlyFlowerSong(fontSize:Double)->UIFont{ + return UIFont(name: "FlyFlowerSong", size: fontSize) ?? .systemFont(ofSize: fontSize) +} + +func Def_SourceHanSerif_Regular(fontSize:Double)->UIFont{ + return UIFont(name: "SourceHanSerifCN-Regular", size: fontSize) ?? .systemFont(ofSize: fontSize) +} + +func Def_SourceHanSerif_Semibold(fontSize:Double)->UIFont{ + return UIFont(name: "SourceHanSerifCN-Semibold", size: fontSize) ?? .systemFont(ofSize: fontSize) +} + +func Def_SourceHanSerif_Medium(fontSize:Double)->UIFont{ + return UIFont(name: "SourceHanSerifCN-Medium", size: fontSize) ?? .systemFont(ofSize: fontSize) +} + // MARK: -- Color let Def_ThemeColor:UIColor = UIColor(hexStr: "#8DA178") -- Gitblit v1.7.1