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

@@ -269,6 +269,7 @@ const styles = StyleSheet.create({
fontSize: 16,
color: '#1F2355',
fontWeight: '600',
fontFamily: 'AliBold',
},
addButton: {
width: 28,
@@ -287,6 +288,7 @@ const styles = StyleSheet.create({
fontSize: 20,
color: '#7A8FFF',
marginTop: -2,
fontFamily: 'AliBold',
},
metricsRow: {
flexDirection: 'row',
@@ -310,12 +312,14 @@ const styles = StyleSheet.create({
fontSize: 24,
fontWeight: '700',
color: '#1F2355',
fontFamily: 'AliBold',
},
metricLabel: {
fontSize: 12,
color: '#4A5677',
fontWeight: '500',
marginBottom: 2,
fontFamily: 'AliRegular',
},
detailsRow: {
flexDirection: 'row',
@@ -331,14 +335,17 @@ const styles = StyleSheet.create({
fontSize: 13,
color: '#1F2355',
fontWeight: '500',
fontFamily: 'AliRegular',
},
lastWorkoutTime: {
fontSize: 12,
color: '#7C85A3',
fontFamily: 'AliRegular',
},
sourceText: {
fontSize: 11,
color: '#9AA3C0',
fontFamily: 'AliRegular',
},
badgesRow: {
flexDirection: 'row',