style(ui): 为应用组件统一添加自定义字体样式

This commit is contained in:
richarjiang
2025-11-27 09:22:55 +08:00
parent 518282ecb8
commit 01388a5c4f
16 changed files with 103 additions and 11 deletions

View File

@@ -498,12 +498,14 @@ const styles = StyleSheet.create({
borderRadius: 30,
},
greeting: {
fontSize: 24,
fontSize: 20,
fontWeight: '600',
fontFamily: 'AliBold',
},
welcome: {
marginTop: 6,
fontSize: 14,
fontFamily: 'AliRegular',
},
sectionSpacing: {
gap: 16,
@@ -514,10 +516,12 @@ const styles = StyleSheet.create({
sectionTitle: {
fontSize: 16,
fontWeight: '500',
fontFamily: 'AliBold',
},
sectionHeader: {
fontSize: 20,
fontWeight: '600',
fontFamily: 'AliBold',
},
segmentedControl: {
flexDirection: 'row',
@@ -537,6 +541,7 @@ const styles = StyleSheet.create({
segmentLabel: {
fontSize: 14,
fontWeight: '600',
fontFamily: 'AliBold',
},
segmentBadge: {
minWidth: 24,
@@ -549,6 +554,7 @@ const styles = StyleSheet.create({
segmentBadgeText: {
fontSize: 12,
fontWeight: '600',
fontFamily: 'AliBold',
},
emptyState: {
alignItems: 'center',
@@ -566,11 +572,13 @@ const styles = StyleSheet.create({
textAlign: 'center',
fontSize: 18,
fontWeight: '600',
fontFamily: 'AliBold',
},
emptySubtitle: {
textAlign: 'center',
fontSize: 14,
lineHeight: 20,
fontFamily: 'AliRegular',
},
primaryButton: {
marginTop: 8,
@@ -584,6 +592,7 @@ const styles = StyleSheet.create({
primaryButtonText: {
fontSize: 16,
fontWeight: '600',
fontFamily: 'AliBold',
},
cardsWrapper: {
gap: 16,
@@ -597,5 +606,6 @@ const styles = StyleSheet.create({
},
loadingText: {
fontSize: 14,
fontFamily: 'AliRegular',
},
});