feat(gynecology): apply green accordion UI tone to disease pattern cards

This commit is contained in:
ShivaniKhaire 2026-11-05 15:29:09 +05:30
parent 39a88d8deb
commit 82e6bb0314
3 changed files with 11 additions and 11 deletions

View File

@ -582,7 +582,7 @@ const styles = StyleSheet.create({
backgroundColor: "#FFFFFF",
borderRadius: moderateScale(16),
borderWidth: 1,
borderColor: "#E2EAE5",
borderColor: "#D7E9DE",
padding: moderateScale(16),
marginTop: verticalScale(12),
},

View File

@ -195,7 +195,7 @@ export function PatternAccordionCardRenderer({
<Ionicons
name={expanded ? "chevron-up" : "chevron-down"}
size={18}
color={expanded ? greenTone.accent : "#829B8E"}
color={greenTone.accent}
/>
</View>
</Pressable>
@ -430,24 +430,24 @@ const accordionStyles = StyleSheet.create({
width: "100%",
},
headerRow: {
minHeight: verticalScale(56),
minHeight: verticalScale(54),
flexDirection: "row",
alignItems: "center",
paddingHorizontal: moderateScale(16),
paddingVertical: verticalScale(14),
backgroundColor: "#FFFFFF",
paddingHorizontal: moderateScale(14),
paddingVertical: verticalScale(12),
backgroundColor: greenTone.soft,
gap: moderateScale(10),
},
headerRowExpanded: {
backgroundColor: greenTone.soft,
borderBottomWidth: StyleSheet.hairlineWidth,
borderBottomColor: greenTone.border,
},
accentBar: {
width: moderateScale(4),
height: verticalScale(22),
alignSelf: "stretch",
minHeight: verticalScale(26),
borderRadius: moderateScale(999),
backgroundColor: "transparent",
backgroundColor: greenTone.accent,
},
accentBarExpanded: {
backgroundColor: greenTone.accent,
@ -460,7 +460,7 @@ const accordionStyles = StyleSheet.create({
fontSize: moderateScale(15),
lineHeight: moderateScale(21),
fontWeight: "700",
color: "#1E293B",
color: greenTone.title,
letterSpacing: 0.1,
},
titleExpanded: {

View File

@ -95,7 +95,7 @@ const styles = StyleSheet.create({
backgroundColor: "#FFFFFF",
borderRadius: moderateScale(18),
borderWidth: 1,
borderColor: "#E2EAE5",
borderColor: "#D7E9DE",
overflow: "hidden",
},
separator: {