style(ui): 为应用组件统一添加自定义字体样式
This commit is contained in:
@@ -348,7 +348,8 @@ const styles = StyleSheet.create({
|
||||
fontSize: 14,
|
||||
color: '#192126',
|
||||
flex: 1,
|
||||
fontWeight: '600'
|
||||
fontWeight: '600',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
headerButtons: {
|
||||
flexDirection: 'row',
|
||||
@@ -406,6 +407,7 @@ const styles = StyleSheet.create({
|
||||
color: '#192126',
|
||||
fontSize: 14,
|
||||
fontWeight: '700',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
chartContainer: {
|
||||
width: '100%',
|
||||
@@ -424,6 +426,7 @@ const styles = StyleSheet.create({
|
||||
fontSize: 11,
|
||||
color: '#687076',
|
||||
fontWeight: '500',
|
||||
fontFamily: 'AliRegular',
|
||||
},
|
||||
infoValue: {
|
||||
fontSize: 14,
|
||||
@@ -446,6 +449,7 @@ const styles = StyleSheet.create({
|
||||
textAlign: 'center',
|
||||
marginBottom: 24,
|
||||
letterSpacing: -0.5,
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalIntroSection: {
|
||||
marginBottom: 32,
|
||||
@@ -456,6 +460,7 @@ const styles = StyleSheet.create({
|
||||
lineHeight: 24,
|
||||
textAlign: 'center',
|
||||
marginBottom: 16,
|
||||
fontFamily: 'AliRegular',
|
||||
},
|
||||
bmiModalFormulaContainer: {
|
||||
backgroundColor: '#F3F4F6',
|
||||
@@ -467,6 +472,7 @@ const styles = StyleSheet.create({
|
||||
fontSize: 14,
|
||||
fontWeight: '600',
|
||||
color: '#374151',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalSectionTitle: {
|
||||
fontSize: 20,
|
||||
@@ -474,6 +480,7 @@ const styles = StyleSheet.create({
|
||||
color: '#111827',
|
||||
marginBottom: 16,
|
||||
letterSpacing: -0.5,
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalStatsCard: {
|
||||
marginBottom: 32,
|
||||
@@ -493,14 +500,17 @@ const styles = StyleSheet.create({
|
||||
bmiModalStatTitle: {
|
||||
fontSize: 16,
|
||||
fontWeight: '700',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalStatRange: {
|
||||
fontSize: 14,
|
||||
fontWeight: '600',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalStatAdvice: {
|
||||
fontSize: 14,
|
||||
lineHeight: 20,
|
||||
fontFamily: 'AliRegular',
|
||||
},
|
||||
bmiModalHealthTips: {
|
||||
marginBottom: 32,
|
||||
@@ -520,6 +530,7 @@ const styles = StyleSheet.create({
|
||||
marginLeft: 12,
|
||||
flex: 1,
|
||||
lineHeight: 20,
|
||||
fontFamily: 'AliRegular',
|
||||
},
|
||||
bmiModalDisclaimer: {
|
||||
flexDirection: 'row',
|
||||
@@ -535,6 +546,7 @@ const styles = StyleSheet.create({
|
||||
marginLeft: 8,
|
||||
flex: 1,
|
||||
lineHeight: 18,
|
||||
fontFamily: 'AliRegular',
|
||||
},
|
||||
bmiModalBottomContainer: {
|
||||
padding: 20,
|
||||
@@ -553,6 +565,7 @@ const styles = StyleSheet.create({
|
||||
fontSize: 16,
|
||||
fontWeight: '700',
|
||||
color: '#FFFFFF',
|
||||
fontFamily: 'AliBold',
|
||||
},
|
||||
bmiModalHomeIndicator: {
|
||||
height: 5,
|
||||
|
||||
Reference in New Issue
Block a user