Mejoras en el mapa (satélite, ubicación), configuración de relación de aspecto en cámara y correcciones de estabilidad

This commit is contained in:
2026-07-31 12:52:36 +02:00
parent 603a03946b
commit 80e4657b15
74 changed files with 1525 additions and 202 deletions
+9 -9
View File
@@ -60,8 +60,8 @@ export function PrimaryButton({
variant?: 'primary' | 'danger' | 'ghost';
}) {
const bg =
variant === 'danger' ? COLORS.danger : variant === 'ghost' ? 'transparent' : COLORS.primary;
const fg = variant === 'ghost' ? COLORS.primary : '#fff';
variant === 'danger' ? '#b00020' : variant === 'ghost' ? 'transparent' : '#1f6f43';
const fg = variant === 'ghost' ? '#1f6f43' : '#fff';
return (
<TouchableOpacity
style={[
@@ -155,21 +155,21 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'center',
},
buttonGhost: { borderWidth: 1, borderColor: COLORS.primary },
buttonGhost: { borderWidth: 1, borderColor: '#1f6f43' },
buttonDisabled: { opacity: 0.5 },
buttonText: { fontSize: 15, fontWeight: '700' },
card: {
backgroundColor: COLORS.bg,
backgroundColor: '#f4f4f4',
borderRadius: 10,
padding: 12,
},
sectionTitle: { fontSize: 16, fontWeight: '700', marginTop: 8, marginBottom: 4 },
empty: { color: '#888', textAlign: 'center', marginTop: 24 },
field: { marginBottom: 12 },
fieldLabel: { fontSize: 13, color: COLORS.muted, marginBottom: 4, fontWeight: '600' },
fieldLabel: { fontSize: 13, color: '#666', marginBottom: 4, fontWeight: '600' },
input: {
borderWidth: 1,
borderColor: COLORS.border,
borderColor: '#ddd',
borderRadius: 8,
paddingHorizontal: 12,
paddingVertical: 10,
@@ -182,10 +182,10 @@ const styles = StyleSheet.create({
paddingVertical: 6,
borderRadius: 16,
borderWidth: 1,
borderColor: COLORS.border,
borderColor: '#ddd',
backgroundColor: '#fff',
},
chipActive: { backgroundColor: COLORS.primary, borderColor: COLORS.primary },
chipText: { fontSize: 13, color: COLORS.muted },
chipActive: { backgroundColor: '#1f6f43', borderColor: '#1f6f43' },
chipText: { fontSize: 13, color: '#666' },
chipTextActive: { color: '#fff', fontWeight: '700' },
});