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

View File

@@ -598,7 +598,7 @@ const styles = StyleSheet.create({
fontSize: 16, fontSize: 16,
fontWeight: '700', fontWeight: '700',
color: '#192126', color: '#192126',
fontFamily: 'AliRegular' fontFamily: 'AliBold'
}, },
debugButtonsContainer: { debugButtonsContainer: {
flexDirection: 'row', flexDirection: 'row',
@@ -625,6 +625,7 @@ const styles = StyleSheet.create({
}, },
debugButtonText: { debugButtonText: {
fontSize: 12, fontSize: 12,
fontFamily: 'AliRegular',
}, },
metricsRow: { metricsRow: {
flexDirection: 'row', flexDirection: 'row',
@@ -658,13 +659,15 @@ const styles = StyleSheet.create({
fontSize: 18, fontSize: 18,
lineHeight: 18, lineHeight: 18,
fontWeight: '600', fontWeight: '600',
textAlignVertical: 'bottom' textAlignVertical: 'bottom',
fontFamily: 'AliBold'
}, },
caloriesUnit: { caloriesUnit: {
color: '#515558ff', color: '#515558ff',
fontSize: 12, fontSize: 12,
marginLeft: 4, marginLeft: 4,
lineHeight: 18, lineHeight: 18,
fontFamily: 'AliRegular',
}, },
trainingContent: { trainingContent: {
marginTop: 8, marginTop: 8,
@@ -698,6 +701,7 @@ const styles = StyleSheet.create({
fontSize: 18, fontSize: 18,
fontWeight: '800', fontWeight: '800',
color: '#8B74F3', color: '#8B74F3',
fontFamily: 'AliBold',
}, },
cyclingHeader: { cyclingHeader: {
flexDirection: 'row', flexDirection: 'row',
@@ -717,6 +721,7 @@ const styles = StyleSheet.create({
color: '#FFFFFF', color: '#FFFFFF',
fontSize: 20, fontSize: 20,
fontWeight: '800', fontWeight: '800',
fontFamily: 'AliBold',
}, },
mapArea: { mapArea: {
backgroundColor: 'rgba(255,255,255,0.08)', backgroundColor: 'rgba(255,255,255,0.08)',
@@ -756,6 +761,7 @@ const styles = StyleSheet.create({
cardTitle: { cardTitle: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
heartCard: { heartCard: {
backgroundColor: '#FFE5E5', backgroundColor: '#FFE5E5',
@@ -776,12 +782,14 @@ const styles = StyleSheet.create({
alignSelf: 'flex-end', alignSelf: 'flex-end',
color: '#5B5B5B', color: '#5B5B5B',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
stepsValue: { stepsValue: {
fontSize: 14, fontSize: 14,
color: '#7A6A42', color: '#7A6A42',
fontWeight: '700', fontWeight: '700',
marginBottom: 8, marginBottom: 8,
fontFamily: 'AliBold',
}, },
errorContainer: { errorContainer: {
flexDirection: 'row', flexDirection: 'row',
@@ -797,6 +805,7 @@ const styles = StyleSheet.create({
fontWeight: '600', fontWeight: '600',
marginLeft: 8, marginLeft: 8,
flex: 1, flex: 1,
fontFamily: 'AliRegular',
}, },
retryButton: { retryButton: {
padding: 4, padding: 4,
@@ -811,11 +820,13 @@ const styles = StyleSheet.create({
viewMoreText: { viewMoreText: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontFamily: 'AliRegular',
}, },
viewMoreIcon: { viewMoreIcon: {
fontSize: 16, fontSize: 16,
color: '#192126', color: '#192126',
marginLeft: 4, marginLeft: 4,
fontFamily: 'AliRegular',
}, },
stressCardRow: { stressCardRow: {
flexDirection: 'row', flexDirection: 'row',
@@ -886,6 +897,7 @@ const styles = StyleSheet.create({
color: '#0369A1', color: '#0369A1',
fontWeight: '800', fontWeight: '800',
marginTop: 8, marginTop: 8,
fontFamily: 'AliBold',
}, },
addWeightButton: { addWeightButton: {
position: 'absolute', position: 'absolute',
@@ -906,6 +918,7 @@ const styles = StyleSheet.create({
fontWeight: '700', fontWeight: '700',
color: '#192126', color: '#192126',
textAlign: 'left', textAlign: 'left',
fontFamily: 'AliBold',
}, },

View File

@@ -242,6 +242,7 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
color: '#0F172A', color: '#0F172A',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
titleIcon: { titleIcon: {
width: 16, width: 16,
@@ -256,6 +257,7 @@ const styles = StyleSheet.create({
statusText: { statusText: {
fontSize: 11, fontSize: 11,
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
valueSection: { valueSection: {
flexDirection: 'row', flexDirection: 'row',
@@ -267,10 +269,12 @@ const styles = StyleSheet.create({
fontWeight: '600', fontWeight: '600',
color: '#0F172A', color: '#0F172A',
lineHeight: 28, lineHeight: 28,
fontFamily: 'AliBold',
}, },
unit: { unit: {
fontSize: 12, fontSize: 12,
color: '#64748B', color: '#64748B',
marginLeft: 6, marginLeft: 6,
fontFamily: 'AliRegular',
}, },
}); });

View File

@@ -464,6 +464,7 @@ const styles = StyleSheet.create({
fontWeight: '800', fontWeight: '800',
color: '#1a1a1a', color: '#1a1a1a',
letterSpacing: -0.5, letterSpacing: -0.5,
fontFamily: 'AliBold',
}, },
calendarIconButton: { calendarIconButton: {
padding: 4, padding: 4,
@@ -493,6 +494,7 @@ const styles = StyleSheet.create({
fontWeight: '700', fontWeight: '700',
color: '#7c3aed', color: '#7c3aed',
letterSpacing: 0.2, letterSpacing: 0.2,
fontFamily: 'AliBold',
}, },
daysContainer: { daysContainer: {
paddingBottom: 8, paddingBottom: 8,
@@ -537,10 +539,12 @@ const styles = StyleSheet.create({
color: '#8e8e93', color: '#8e8e93',
marginBottom: 2, marginBottom: 2,
letterSpacing: 0.1, letterSpacing: 0.1,
fontFamily: 'AliBold',
}, },
dayLabelSelected: { dayLabelSelected: {
color: '#1a1a1a', color: '#1a1a1a',
fontWeight: '800', fontWeight: '800',
fontFamily: 'AliBold',
}, },
dayLabelDisabled: { dayLabelDisabled: {
color: '#c7c7cc', color: '#c7c7cc',
@@ -550,10 +554,12 @@ const styles = StyleSheet.create({
fontWeight: '700', fontWeight: '700',
color: '#8e8e93', color: '#8e8e93',
letterSpacing: -0.2, letterSpacing: -0.2,
fontFamily: 'AliBold',
}, },
dayDateSelected: { dayDateSelected: {
color: '#1a1a1a', color: '#1a1a1a',
fontWeight: '800', fontWeight: '800',
fontFamily: 'AliBold',
}, },
dayDateDisabled: { dayDateDisabled: {
color: '#c7c7cc', color: '#c7c7cc',
@@ -607,11 +613,13 @@ const styles = StyleSheet.create({
fontWeight: '700', fontWeight: '700',
fontSize: 14, fontSize: 14,
letterSpacing: 0.1, letterSpacing: 0.1,
fontFamily: 'AliBold',
}, },
modalBtnTextPrimary: { modalBtnTextPrimary: {
color: '#FFFFFF', color: '#FFFFFF',
fontWeight: '700', fontWeight: '700',
fontSize: 14, fontSize: 14,
letterSpacing: 0.1, letterSpacing: 0.1,
fontFamily: 'AliBold',
}, },
}); });

View File

@@ -285,6 +285,7 @@ const styles = StyleSheet.create({
fontSize: 12, fontSize: 12,
fontWeight: '700', fontWeight: '700',
flex: 1, flex: 1,
fontFamily: 'AliBold',
}, },
dataValue: { dataValue: {
color: '#192126', color: '#192126',
@@ -298,5 +299,6 @@ const styles = StyleSheet.create({
fontWeight: '500', fontWeight: '500',
minWidth: 25, minWidth: 25,
textAlign: 'right', textAlign: 'right',
fontFamily: 'AliRegular',
}, },
}); });

View File

@@ -82,7 +82,8 @@ const styles = StyleSheet.create({
cardTitle: { cardTitle: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontWeight: '600' fontWeight: '600',
fontFamily: 'AliBold',
}, },
lottieAnimation: { lottieAnimation: {
@@ -100,21 +101,25 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
color: '#059669', color: '#059669',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
moodPreviewTime: { moodPreviewTime: {
fontSize: 12, fontSize: 12,
color: '#6B7280', color: '#6B7280',
fontFamily: 'AliRegular',
}, },
moodEmptyText: { moodEmptyText: {
fontSize: 12, fontSize: 12,
color: '#9CA3AF', color: '#9CA3AF',
fontStyle: 'italic', fontStyle: 'italic',
marginTop: 22, marginTop: 22,
fontFamily: 'AliRegular',
}, },
moodLoadingText: { moodLoadingText: {
fontSize: 12, fontSize: 12,
color: '#9CA3AF', color: '#9CA3AF',
fontStyle: 'italic', fontStyle: 'italic',
marginTop: 22, marginTop: 22,
fontFamily: 'AliRegular',
}, },
}); });

View File

@@ -82,10 +82,10 @@ const SimpleRingProgress = ({
/> />
</Svg> </Svg>
<View style={{ position: 'absolute', alignItems: 'center', justifyContent: 'center', top: 0, left: 0, right: 0, bottom: 0 }}> <View style={{ position: 'absolute', alignItems: 'center', justifyContent: 'center', top: 0, left: 0, right: 0, bottom: 0 }}>
<Text style={{ fontSize: 12, fontWeight: '600', color: '#192126' }}> <Text style={{ fontSize: 12, fontWeight: '600', color: '#192126', fontFamily: 'AliBold' }}>
{Math.round(remainingCalories)} {Math.round(remainingCalories)}
</Text> </Text>
<Text style={{ fontSize: 8, color: '#9AA3AE' }}>{t('statistics.components.diet.remaining')}</Text> <Text style={{ fontSize: 8, color: '#9AA3AE', fontFamily: 'AliRegular' }}>{t('statistics.components.diet.remaining')}</Text>
</View> </View>
</View> </View>
); );
@@ -361,12 +361,14 @@ const styles = StyleSheet.create({
cardTitle: { cardTitle: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontWeight: '600' fontWeight: '600',
fontFamily: 'AliBold',
}, },
cardSubtitle: { cardSubtitle: {
fontSize: 10, fontSize: 10,
color: '#9AA3AE', color: '#9AA3AE',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliRegular',
}, },
contentContainer: { contentContainer: {
flexDirection: 'row', flexDirection: 'row',
@@ -419,11 +421,13 @@ const styles = StyleSheet.create({
fontSize: 10, fontSize: 10,
color: '#9AA3AE', color: '#9AA3AE',
flex: 1, flex: 1,
fontFamily: 'AliRegular',
}, },
statValue: { statValue: {
fontSize: 12, fontSize: 12,
color: '#192126', color: '#192126',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
// 卡路里相关样式 // 卡路里相关样式
calorieSection: { calorieSection: {
@@ -442,6 +446,7 @@ const styles = StyleSheet.create({
fontSize: 16, fontSize: 16,
fontWeight: '800', fontWeight: '800',
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
calorieContent: { calorieContent: {
}, },
@@ -450,6 +455,7 @@ const styles = StyleSheet.create({
color: '#64748B', color: '#64748B',
fontWeight: '600', fontWeight: '600',
marginRight: 4, marginRight: 4,
fontFamily: 'AliRegular',
}, },
calculationRow: { calculationRow: {
flexDirection: 'row', flexDirection: 'row',
@@ -461,11 +467,13 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
fontWeight: '600', fontWeight: '600',
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
calculationText: { calculationText: {
fontSize: 10, fontSize: 10,
fontWeight: '600', fontWeight: '600',
color: '#64748B', color: '#64748B',
fontFamily: 'AliRegular',
}, },
calculationItem: { calculationItem: {
flexDirection: 'row', flexDirection: 'row',
@@ -476,11 +484,13 @@ const styles = StyleSheet.create({
fontSize: 9, fontSize: 9,
color: '#64748B', color: '#64748B',
fontWeight: '500', fontWeight: '500',
fontFamily: 'AliRegular',
}, },
calculationValue: { calculationValue: {
fontSize: 11, fontSize: 11,
fontWeight: '700', fontWeight: '700',
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
remainingCaloriesContainer: { remainingCaloriesContainer: {
flexDirection: 'row', flexDirection: 'row',
@@ -491,6 +501,7 @@ const styles = StyleSheet.create({
fontSize: 10, fontSize: 10,
color: '#64748B', color: '#64748B',
fontWeight: '500', fontWeight: '500',
fontFamily: 'AliRegular',
}, },
mealsContainer: { mealsContainer: {
flexDirection: 'row', flexDirection: 'row',
@@ -514,6 +525,7 @@ const styles = StyleSheet.create({
fontSize: 10, fontSize: 10,
color: '#64748B', color: '#64748B',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliRegular',
}, },
// 食物选项样式 // 食物选项样式
foodOptionsContainer: { foodOptionsContainer: {
@@ -559,5 +571,6 @@ const styles = StyleSheet.create({
fontWeight: '500', fontWeight: '500',
color: '#192126', color: '#192126',
textAlign: 'center', textAlign: 'center',
fontFamily: 'AliRegular',
}, },
}); });

View File

@@ -244,7 +244,8 @@ const styles = StyleSheet.create({
title: { title: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontWeight: '600' fontWeight: '600',
fontFamily: 'AliBold',
}, },
footprintIcons: { footprintIcons: {
flexDirection: 'row', flexDirection: 'row',
@@ -290,6 +291,7 @@ const styles = StyleSheet.create({
fontSize: 18, fontSize: 18,
fontWeight: '600', fontWeight: '600',
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
}); });

View File

@@ -158,7 +158,8 @@ const styles = StyleSheet.create({
title: { title: {
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontWeight: '600' fontWeight: '600',
fontFamily: 'AliBold',
}, },
valueSection: { valueSection: {
flexDirection: 'row', flexDirection: 'row',
@@ -171,12 +172,14 @@ const styles = StyleSheet.create({
color: '#192126', color: '#192126',
lineHeight: 20, lineHeight: 20,
marginTop: 2, marginTop: 2,
fontFamily: 'AliBold',
}, },
unit: { unit: {
fontSize: 12, fontSize: 12,
fontWeight: '500', fontWeight: '500',
color: '#9AA3AE', color: '#9AA3AE',
marginLeft: 4, marginLeft: 4,
fontFamily: 'AliRegular',
}, },
progressContainer: { progressContainer: {
height: 6, height: 6,

View File

@@ -309,6 +309,7 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
addButton: { addButton: {
borderRadius: 16, borderRadius: 16,
@@ -323,6 +324,7 @@ const styles = StyleSheet.create({
color: '#6366F1', color: '#6366F1',
fontWeight: '700', fontWeight: '700',
lineHeight: 10, lineHeight: 10,
fontFamily: 'AliBold',
}, },
chartContainer: { chartContainer: {
flex: 1, flex: 1,
@@ -363,11 +365,13 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
fontWeight: '600', fontWeight: '600',
color: '#192126', color: '#192126',
fontFamily: 'AliBold',
}, },
targetIntake: { targetIntake: {
fontSize: 12, fontSize: 12,
color: '#6B7280', color: '#6B7280',
marginLeft: 4, marginLeft: 4,
fontFamily: 'AliRegular',
}, },
}); });

View File

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

View File

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

View File

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

View File

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

View File

@@ -348,7 +348,8 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
color: '#192126', color: '#192126',
flex: 1, flex: 1,
fontWeight: '600' fontWeight: '600',
fontFamily: 'AliBold',
}, },
headerButtons: { headerButtons: {
flexDirection: 'row', flexDirection: 'row',
@@ -406,6 +407,7 @@ const styles = StyleSheet.create({
color: '#192126', color: '#192126',
fontSize: 14, fontSize: 14,
fontWeight: '700', fontWeight: '700',
fontFamily: 'AliBold',
}, },
chartContainer: { chartContainer: {
width: '100%', width: '100%',
@@ -424,6 +426,7 @@ const styles = StyleSheet.create({
fontSize: 11, fontSize: 11,
color: '#687076', color: '#687076',
fontWeight: '500', fontWeight: '500',
fontFamily: 'AliRegular',
}, },
infoValue: { infoValue: {
fontSize: 14, fontSize: 14,
@@ -446,6 +449,7 @@ const styles = StyleSheet.create({
textAlign: 'center', textAlign: 'center',
marginBottom: 24, marginBottom: 24,
letterSpacing: -0.5, letterSpacing: -0.5,
fontFamily: 'AliBold',
}, },
bmiModalIntroSection: { bmiModalIntroSection: {
marginBottom: 32, marginBottom: 32,
@@ -456,6 +460,7 @@ const styles = StyleSheet.create({
lineHeight: 24, lineHeight: 24,
textAlign: 'center', textAlign: 'center',
marginBottom: 16, marginBottom: 16,
fontFamily: 'AliRegular',
}, },
bmiModalFormulaContainer: { bmiModalFormulaContainer: {
backgroundColor: '#F3F4F6', backgroundColor: '#F3F4F6',
@@ -467,6 +472,7 @@ const styles = StyleSheet.create({
fontSize: 14, fontSize: 14,
fontWeight: '600', fontWeight: '600',
color: '#374151', color: '#374151',
fontFamily: 'AliBold',
}, },
bmiModalSectionTitle: { bmiModalSectionTitle: {
fontSize: 20, fontSize: 20,
@@ -474,6 +480,7 @@ const styles = StyleSheet.create({
color: '#111827', color: '#111827',
marginBottom: 16, marginBottom: 16,
letterSpacing: -0.5, letterSpacing: -0.5,
fontFamily: 'AliBold',
}, },
bmiModalStatsCard: { bmiModalStatsCard: {
marginBottom: 32, marginBottom: 32,
@@ -493,14 +500,17 @@ const styles = StyleSheet.create({
bmiModalStatTitle: { bmiModalStatTitle: {
fontSize: 16, fontSize: 16,
fontWeight: '700', fontWeight: '700',
fontFamily: 'AliBold',
}, },
bmiModalStatRange: { bmiModalStatRange: {
fontSize: 14, fontSize: 14,
fontWeight: '600', fontWeight: '600',
fontFamily: 'AliBold',
}, },
bmiModalStatAdvice: { bmiModalStatAdvice: {
fontSize: 14, fontSize: 14,
lineHeight: 20, lineHeight: 20,
fontFamily: 'AliRegular',
}, },
bmiModalHealthTips: { bmiModalHealthTips: {
marginBottom: 32, marginBottom: 32,
@@ -520,6 +530,7 @@ const styles = StyleSheet.create({
marginLeft: 12, marginLeft: 12,
flex: 1, flex: 1,
lineHeight: 20, lineHeight: 20,
fontFamily: 'AliRegular',
}, },
bmiModalDisclaimer: { bmiModalDisclaimer: {
flexDirection: 'row', flexDirection: 'row',
@@ -535,6 +546,7 @@ const styles = StyleSheet.create({
marginLeft: 8, marginLeft: 8,
flex: 1, flex: 1,
lineHeight: 18, lineHeight: 18,
fontFamily: 'AliRegular',
}, },
bmiModalBottomContainer: { bmiModalBottomContainer: {
padding: 20, padding: 20,
@@ -553,6 +565,7 @@ const styles = StyleSheet.create({
fontSize: 16, fontSize: 16,
fontWeight: '700', fontWeight: '700',
color: '#FFFFFF', color: '#FFFFFF',
fontFamily: 'AliBold',
}, },
bmiModalHomeIndicator: { bmiModalHomeIndicator: {
height: 5, height: 5,

View File

@@ -27,7 +27,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.1.1</string> <string>1.1.2</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>