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

@@ -207,6 +207,7 @@ const styles = StyleSheet.create({
fontWeight: '600',
color: '#192126',
marginBottom: 16,
fontFamily: 'AliBold',
},
measurementsContainer: {
flexDirection: 'row',
@@ -221,6 +222,7 @@ const styles = StyleSheet.create({
color: '#888',
marginBottom: 8,
textAlign: 'center',
fontFamily: 'AliRegular',
},
valueContainer: {
backgroundColor: '#F5F5F7',
@@ -236,6 +238,7 @@ const styles = StyleSheet.create({
fontWeight: '600',
color: '#192126',
textAlign: 'center',
fontFamily: 'AliBold',
},
});

View File

@@ -72,6 +72,7 @@ const styles = StyleSheet.create({
fontSize: 14,
color: '#192126',
fontWeight: '600',
fontFamily: 'AliBold',
},
valueContainer: {
flexDirection: 'row',
@@ -81,6 +82,7 @@ const styles = StyleSheet.create({
fontSize: 16,
fontWeight: '600',
color: '#192126',
fontFamily: 'AliBold',
},
unit: {
fontSize: 12,
@@ -88,6 +90,7 @@ const styles = StyleSheet.create({
marginLeft: 4,
marginBottom: 2,
fontWeight: '500',
fontFamily: 'AliRegular',
},
});

View File

@@ -127,12 +127,14 @@ const styles = StyleSheet.create({
fontSize: 14,
color: '#192126',
fontWeight: '600',
fontFamily: 'AliBold',
},
sleepValue: {
fontSize: 16,
color: '#1E40AF',
fontWeight: '700',
marginTop: 8,
fontFamily: 'AliBold',
},
});