From 9557d84559aabaa4c0c976804a90197b92e2dbe0 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期一, 02 九月 2024 11:55:06 +0800 Subject: [PATCH] fix UI --- XQMuse/Config/Themes.swift | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/XQMuse/Config/Themes.swift b/XQMuse/Config/Themes.swift index 5fd714c..b0011b1 100644 --- a/XQMuse/Config/Themes.swift +++ b/XQMuse/Config/Themes.swift @@ -15,6 +15,11 @@ return UIFont(name: "SourceHanSansCN-Regular", size: fontSize) ?? .systemFont(ofSize: fontSize,weight: .medium) } +func Def_SourceHanSerifCN_Light(fontSize:Double)->UIFont{ + return UIFont(name: "SourceHanSerifCN-Light", size: fontSize) ?? .systemFont(ofSize: fontSize,weight: .medium) +} + + func Def_Agenda_Light(fontSize:Double)->UIFont{ return UIFont(name: "Agenda-Light", size: fontSize) ?? .systemFont(ofSize: fontSize) } -- Gitblit v1.7.1