Clean up git diff panel file header styles

This commit is contained in:
Mohamed Boudra
2026-03-18 21:50:09 +07:00
parent 865e25b3a9
commit 9d370a18b8
2 changed files with 1 additions and 4 deletions
@@ -479,7 +479,7 @@ const styles = StyleSheet.create((theme) => ({
borderRadius: theme.borderRadius.md, borderRadius: theme.borderRadius.md,
}, },
tabActive: { tabActive: {
backgroundColor: theme.colors.surface2, backgroundColor: theme.colors.surface1,
}, },
tabText: { tabText: {
fontSize: theme.fontSize.sm, fontSize: theme.fontSize.sm,
@@ -207,7 +207,6 @@ const DiffFileHeader = memo(function DiffFileHeader({
<View <View
style={[ style={[
styles.fileSectionHeaderContainer, styles.fileSectionHeaderContainer,
!isExpanded && styles.fileSectionBorder,
]} ]}
onLayout={(event) => { onLayout={(event) => {
layoutYRef.current = event.nativeEvent.layout.y; layoutYRef.current = event.nativeEvent.layout.y;
@@ -1192,7 +1191,6 @@ const styles = StyleSheet.create((theme) => ({
}, },
fileSectionHeaderContainer: { fileSectionHeaderContainer: {
overflow: "hidden", overflow: "hidden",
backgroundColor: theme.colors.surface1,
}, },
fileSectionBodyContainer: { fileSectionBodyContainer: {
overflow: "hidden", overflow: "hidden",
@@ -1210,7 +1208,6 @@ const styles = StyleSheet.create((theme) => ({
paddingRight: theme.spacing[2], paddingRight: theme.spacing[2],
paddingVertical: theme.spacing[2], paddingVertical: theme.spacing[2],
gap: theme.spacing[1], gap: theme.spacing[1],
backgroundColor: theme.colors.surface1,
zIndex: 2, zIndex: 2,
elevation: 2, elevation: 2,
}, },