Colota - Android GPS Location tracker
Refactor/UI consistency (#231)
Max Dietriche4f28c3142b5
diff --git a/apps/docs/docs/guides/tile-server.md b/apps/docs/docs/guides/tile-server.mdindex 3295f6e4..eb848025 100644--- a/apps/docs/docs/guides/tile-server.md+++ b/apps/docs/docs/guides/tile-server.md@@ -22,13 +22,17 @@ Free to use. Normal usage means map tiles loading as you pan and zoom within theIf the default server is unavailable or you run into issues, you can either configure a custom tile server (see below) or open an issue on [GitHub](https://github.com/dietrichmax/colota/issues).-:::tip Support the server If you find Colota useful and want to help keep the default server running, contributions are welcome - the hosting runs at 17,94€/month. [mxd.codes/support](https://mxd.codes/support)+:::tip Support the server++If you find Colota useful and want to help keep the default server running, contributions are welcome - the hosting runs at 17,94€/month. [mxd.codes/support](https://mxd.codes/support):::## Using a Custom Server-:::note Offline maps Offline map packs are downloaded from whichever tile server is configured at the time. Switching to a custom server won't affect packs you've already downloaded, but new downloads will come from the new server.+:::note Offline maps++Offline map packs are downloaded from whichever tile server is configured at the time. Switching to a custom server won't affect packs you've already downloaded, but new downloads will come from the new server.:::@@ -39,18 +43,18 @@ If the default server is unavailable or you run into issues, you can either confAny [MapLibre GL style](https://maplibre.org/maplibre-style-spec/) endpoint works. If you only have one style, use the same URL in both fields.-:::note attribution+:::note Attribution-when using the default server, the map shows mxd.codes · OpenMapTiles · OpenStreetMap attribution. when a custom server is configured, attribution is read automatically from the style JSON served by your tile server.+When using the default server, the map shows **© OpenMapTiles · © OpenStreetMap contributors · © maps.mxd.codes** attribution. When a custom server is configured, attribution is read automatically from the style JSON served by your tile server.:::-**self-hosting options**+**Self-hosting options**- [tileserver-gl](https://tileserver.readthedocs.io) - serves MapLibre styles from `.mbtiles` files.- [PMTiles](https://docs.protomaps.com/pmtiles/) - a single static file format that can be served from any object storage (S3, Cloudflare R2, etc.) with no server process required.-**free hosted alternatives**+**Free hosted alternatives**[OpenFreeMap](https://openfreemap.org) is a good free alternative. Available styles:diff --git a/apps/docs/src/css/custom.css b/apps/docs/src/css/custom.cssindex a0bbc416..de832f3d 100644--- a/apps/docs/src/css/custom.css+++ b/apps/docs/src/css/custom.css@@ -44,6 +44,12 @@--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);}+/* Admonitions */+[class*='admonitionHeading'] {+ text-transform: none;+ font-weight: 600;+}+/* Sidebar */.theme-doc-sidebar-menu .menu__list-item-collapsible > .menu__link {font-weight: 600;diff --git a/apps/mobile/src/components/features/dashboard/ConnectionStatus.tsx b/apps/mobile/src/components/features/dashboard/ConnectionStatus.tsxindex c20d5d5b..a2cacbc2 100644--- a/apps/mobile/src/components/features/dashboard/ConnectionStatus.tsx+++ b/apps/mobile/src/components/features/dashboard/ConnectionStatus.tsx@@ -123,7 +123,7 @@ export function ConnectionStatus({ endpoint, navigation }: ConnectionStatusPropsstyle={({ pressed }) => [styles.container,{ backgroundColor: colors.card, borderColor: colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><View style={[styles.dot, { backgroundColor: config.color }]} />diff --git a/apps/mobile/src/components/features/dashboard/QuickAccess.tsx b/apps/mobile/src/components/features/dashboard/QuickAccess.tsxindex 6b4f947a..192b9b9e 100644--- a/apps/mobile/src/components/features/dashboard/QuickAccess.tsx+++ b/apps/mobile/src/components/features/dashboard/QuickAccess.tsx@@ -75,7 +75,7 @@ export function QuickAccess({ navigation }: QuickAccessProps) {backgroundColor: colors.card,borderColor: colors.border},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={item.onPress}>diff --git a/apps/mobile/src/components/features/dashboard/WelcomeCard.tsx b/apps/mobile/src/components/features/dashboard/WelcomeCard.tsxindex f9d72829..b595e807 100644--- a/apps/mobile/src/components/features/dashboard/WelcomeCard.tsx+++ b/apps/mobile/src/components/features/dashboard/WelcomeCard.tsx@@ -58,7 +58,7 @@ function ChecklistItem({ label, completed, colors, onPress }: ChecklistItemPropsif (onPress && !completed) {return (- <Pressable onPress={onPress} style={({ pressed }) => pressed && { opacity: 0.6 }}>+ <Pressable onPress={onPress} style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}>{content}</Pressable>)@@ -101,17 +101,27 @@ export function WelcomeCard({<View style={styles.linkRow}>{!isOfflineMode && (- <Pressable onPress={onNavigateToApiConfig} style={({ pressed }) => pressed && { opacity: 0.6 }}>+ <Pressable+ onPress={onNavigateToApiConfig}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}+ ><Text style={[styles.link, { color: colors.primaryDark }]}>API field mapping</Text></Pressable>)}- <Pressable onPress={onNavigateToSettings} style={({ pressed }) => pressed && { opacity: 0.6 }}>+ <Pressable+ onPress={onNavigateToSettings}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}+ ><Text style={[styles.link, { color: colors.primaryDark }]}>Tracking presets</Text></Pressable></View><Pressable- style={({ pressed }) => [styles.dismissButton, { borderColor: colors.border }, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [+ styles.dismissButton,+ { borderColor: colors.border },+ pressed && { opacity: colors.pressedOpacity }+ ]}onPress={onDismiss}><Text style={[styles.dismissText, { color: colors.textSecondary }]}>Got it</Text>diff --git a/apps/mobile/src/components/features/inspector/CalendarPicker.tsx b/apps/mobile/src/components/features/inspector/CalendarPicker.tsxindex a634b57f..f14965ac 100644--- a/apps/mobile/src/components/features/inspector/CalendarPicker.tsx+++ b/apps/mobile/src/components/features/inspector/CalendarPicker.tsx@@ -150,13 +150,16 @@ export function CalendarPicker({<View style={[styles.container, { borderBottomColor: colors.border }]}>{/* Compact header row */}<View style={styles.row}>- <Pressable onPress={goBack} style={({ pressed }) => [styles.navBtn, pressed && { opacity: 0.6 }]}>+ <Pressable+ onPress={goBack}+ style={({ pressed }) => [styles.navBtn, pressed && { opacity: colors.pressedOpacity }]}+ ><ChevronLeft size={22} color={colors.primary} /></Pressable><PressableonPress={toggleExpanded}- style={({ pressed }) => [styles.dateContainer, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.dateContainer, pressed && { opacity: colors.pressedOpacity }]}><View style={styles.dateLabelRow}><Text style={[styles.dateText, { color: colors.text }]}>{formatted}</Text>@@ -175,7 +178,7 @@ export function CalendarPicker({<PressableonPress={goForward}- style={({ pressed }) => [styles.navBtn, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.navBtn, pressed && { opacity: colors.pressedOpacity }]}disabled={isToday}><ChevronRight size={22} color={isToday ? colors.textDisabled : colors.primary} />@@ -188,7 +191,7 @@ export function CalendarPicker({style={({ pressed }) => [styles.todayBtn,{ backgroundColor: colors.primary + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.todayText, { color: colors.primary }]}>Today</Text>@@ -202,14 +205,14 @@ export function CalendarPicker({<View style={styles.monthRow}><PressableonPress={() => navigateMonth(-1)}- style={({ pressed }) => [styles.monthNav, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.monthNav, pressed && { opacity: colors.pressedOpacity }]}><ChevronLeft size={18} color={colors.primary} /></Pressable><Text style={[styles.monthLabel, { color: colors.text }]}>{monthLabel}</Text><PressableonPress={() => navigateMonth(1)}- style={({ pressed }) => [styles.monthNav, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.monthNav, pressed && { opacity: colors.pressedOpacity }]}disabled={isFutureMonth}><ChevronRight size={18} color={isFutureMonth ? colors.textDisabled : colors.primary} />diff --git a/apps/mobile/src/components/features/inspector/TrackMap.tsx b/apps/mobile/src/components/features/inspector/TrackMap.tsxindex 3a9c2f62..ba31a4df 100644--- a/apps/mobile/src/components/features/inspector/TrackMap.tsx+++ b/apps/mobile/src/components/features/inspector/TrackMap.tsx@@ -265,7 +265,7 @@ export function TrackMap({ locations, selectedPoint, colors, trips, fitVersion }<PressableonPress={() => setPopup(null)}hitSlop={{ top: 8, right: 8, bottom: 8, left: 8 }}- style={({ pressed }) => pressed && { opacity: 0.7 }}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}><X size={16} color={colors.textSecondary} /></Pressable>diff --git a/apps/mobile/src/components/features/inspector/TripList.tsx b/apps/mobile/src/components/features/inspector/TripList.tsxindex 45197f12..e143dd22 100644--- a/apps/mobile/src/components/features/inspector/TripList.tsx+++ b/apps/mobile/src/components/features/inspector/TripList.tsx@@ -66,7 +66,7 @@ export function TripList({ trips, colors, onTripSelect, selectedTripIndex, onExp<PressableonPress={() => setExportingTripIndex((prev) => (prev === item.index ? null : item.index))}hitSlop={{ top: 6, right: 6, bottom: 6, left: 6 }}- style={({ pressed }) => pressed && { opacity: 0.6 }}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}><Share size={14} color={showTripExport ? colors.primary : colors.textSecondary} /></Pressable>@@ -86,7 +86,7 @@ export function TripList({ trips, colors, onTripSelect, selectedTripIndex, onExpstyle={({ pressed }) => [styles.exportChip,{ backgroundColor: colors.primary + "12", borderColor: colors.primary + "30" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.exportChipText, { color: colors.primary }]}>{EXPORT_FORMATS[fmt].label}</Text>@@ -148,7 +148,7 @@ export function TripList({ trips, colors, onTripSelect, selectedTripIndex, onExp{onExport && (<PressableonPress={() => setShowExport((prev) => !prev)}- style={({ pressed }) => [styles.exportAllBtn, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.exportAllBtn, pressed && { opacity: colors.pressedOpacity }]}><Share size={14} color={showExport ? colors.primary : colors.textSecondary} /><Text style={[styles.exportAllLabel, { color: showExport ? colors.primary : colors.textSecondary }]}>@@ -169,7 +169,7 @@ export function TripList({ trips, colors, onTripSelect, selectedTripIndex, onExpstyle={({ pressed }) => [styles.exportChip,{ backgroundColor: colors.primary + "12", borderColor: colors.primary + "30" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.exportChipText, { color: colors.primary }]}>{EXPORT_FORMATS[fmt].label}</Text>diff --git a/apps/mobile/src/components/features/map/ColotaMapView.tsx b/apps/mobile/src/components/features/map/ColotaMapView.tsxindex 58119991..0893e3e2 100644--- a/apps/mobile/src/components/features/map/ColotaMapView.tsx+++ b/apps/mobile/src/components/features/map/ColotaMapView.tsx@@ -16,9 +16,9 @@ import { fonts } from "../../../styles/typography"import NativeLocationService from "../../../services/NativeLocationService"const DEFAULT_ATTRIBUTION_LINKS = [- { url: "https://mxd.codes", label: "mxd.codes" },{ url: "https://openmaptiles.org/", label: "© OpenMapTiles" },- { url: "https://www.openstreetmap.org/copyright", label: "© OpenStreetMap contributors" }+ { url: "https://www.openstreetmap.org/copyright", label: "© OpenStreetMap contributors" },+ { url: "https://maps.mxd.codes/", label: "© maps.mxd.codes" }]export interface ColotaMapRef {@@ -143,7 +143,7 @@ export const ColotaMapView = forwardRef<ColotaMapRef, Props>(function ColotaMapVstyle={({ pressed }) => [styles.compassButton,{ backgroundColor: colors.card, borderColor: colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={handleCompassPress}>@@ -159,7 +159,10 @@ export const ColotaMapView = forwardRef<ColotaMapRef, Props>(function ColotaMapV{DEFAULT_ATTRIBUTION_LINKS.map((link, i) => (<React.Fragment key={link.url}>{i > 0 && <Text style={[styles.attributionText, { color: colors.textLight }, fonts.regular]}> · </Text>}- <Pressable onPress={() => Linking.openURL(link.url)} style={({ pressed }) => pressed && { opacity: 0.7 }}>+ <Pressable+ onPress={() => Linking.openURL(link.url)}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}+ ><Text style={[styles.attributionText, { color: colors.link }, fonts.regular]}>{link.label}</Text></Pressable></React.Fragment>diff --git a/apps/mobile/src/components/features/map/MapCenterButton.tsx b/apps/mobile/src/components/features/map/MapCenterButton.tsxindex 89a40339..4ca9ff95 100644--- a/apps/mobile/src/components/features/map/MapCenterButton.tsx+++ b/apps/mobile/src/components/features/map/MapCenterButton.tsx@@ -25,7 +25,7 @@ export const MapCenterButton: React.FC<Props> = ({ onPress, visible, style }) =>styles.centerButton,{ backgroundColor: colors.card, borderColor: colors.border },style,- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={onPress}>diff --git a/apps/mobile/src/components/features/settings/ConnectionSettings.tsx b/apps/mobile/src/components/features/settings/ConnectionSettings.tsxindex 41701399..214648f9 100644--- a/apps/mobile/src/components/features/settings/ConnectionSettings.tsx+++ b/apps/mobile/src/components/features/settings/ConnectionSettings.tsx@@ -289,7 +289,7 @@ export function ConnectionSettings({<Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Auth Settings")}><View style={styles.linkContent}>diff --git a/apps/mobile/src/components/features/settings/PresetOption.tsx b/apps/mobile/src/components/features/settings/PresetOption.tsxindex 9ece8fda..2fa3c80f 100644--- a/apps/mobile/src/components/features/settings/PresetOption.tsx+++ b/apps/mobile/src/components/features/settings/PresetOption.tsx@@ -42,7 +42,7 @@ export function PresetOption({ preset, isSelected, isOfflineMode, onSelect }: Prreturn (<Pressable- style={({ pressed }) => [pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [pressed && { opacity: colors.pressedOpacity }]}onPress={() => onSelect(preset)}accessibilityRole="radio"accessibilityState={{ checked: isSelected }}@@ -86,7 +86,7 @@ const styles = StyleSheet.create({content: {flexDirection: "row",alignItems: "center",- padding: 12+ paddingVertical: 12},leftContent: {flex: 1diff --git a/apps/mobile/src/components/features/settings/StatsCard.tsx b/apps/mobile/src/components/features/settings/StatsCard.tsxindex 3d3e6b25..94397351 100644--- a/apps/mobile/src/components/features/settings/StatsCard.tsx+++ b/apps/mobile/src/components/features/settings/StatsCard.tsx@@ -58,9 +58,9 @@ export function StatsCard({ queueCount, sentCount, todayCount, interval, onManagconst getBackgroundGradient = () => {switch (warningLevel) {case "critical":- return colors.error + "08"+ return colors.error + "12"case "warning":- return colors.warning + "08"+ return colors.warning + "12"default:return "transparent"}@@ -135,7 +135,7 @@ export function StatsCard({ queueCount, sentCount, todayCount, interval, onManagbackgroundColor: accent + "15",borderColor: accent + "40"},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}}onPress={onManageClick}diff --git a/apps/mobile/src/components/features/settings/SyncStrategySettings.tsx b/apps/mobile/src/components/features/settings/SyncStrategySettings.tsxindex 46945249..28c63d81 100644--- a/apps/mobile/src/components/features/settings/SyncStrategySettings.tsx+++ b/apps/mobile/src/components/features/settings/SyncStrategySettings.tsx@@ -134,7 +134,7 @@ export function SyncStrategySettings({<Divider /><Pressable- style={({ pressed }) => [styles.advancedToggle, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.advancedToggle, pressed && { opacity: colors.pressedOpacity }]}onPress={() => setShowAdvanced(!showAdvanced)}><Text style={[styles.advancedText, { color: colors.text }]}>Advanced Settings</Text>@@ -147,8 +147,6 @@ export function SyncStrategySettings({{showAdvanced && (<View style={styles.advancedPanel}>- <Divider />-{settings.syncPreset === "custom" && (<Viewstyle={[@@ -239,7 +237,7 @@ export function SyncStrategySettings({borderColor: colors.primary,backgroundColor: colors.primary + "20"},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => handleGridSelect("syncInterval", sec)}>@@ -260,7 +258,7 @@ export function SyncStrategySettings({borderColor: colors.primary,backgroundColor: colors.primary + "20"},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => {if (!isCustomSyncInterval) {diff --git a/apps/mobile/src/components/ui/AppModal.tsx b/apps/mobile/src/components/ui/AppModal.tsxindex c82667a9..1a5cd052 100644--- a/apps/mobile/src/components/ui/AppModal.tsx+++ b/apps/mobile/src/components/ui/AppModal.tsx@@ -81,7 +81,7 @@ export function AppModal() {styles.button,current.buttons.length > 2 && styles.buttonFullWidth,btnStyles.container,- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => handlePress(i)}>diff --git a/apps/mobile/src/components/ui/Button.tsx b/apps/mobile/src/components/ui/Button.tsxindex b4e8d8bd..90f8df6d 100644--- a/apps/mobile/src/components/ui/Button.tsx+++ b/apps/mobile/src/components/ui/Button.tsx@@ -110,7 +110,7 @@ export function Button({borderColor: v.borderColor,borderWidth: v.borderWidth,borderRadius: colors.borderRadius,- opacity: pressed ? (activeOpacity ?? 0.7) : 1+ opacity: pressed ? (activeOpacity ?? colors.pressedOpacity) : 1}]}onPress={onPress}diff --git a/apps/mobile/src/components/ui/Card.tsx b/apps/mobile/src/components/ui/Card.tsxindex e1f01b50..7a8e7093 100644--- a/apps/mobile/src/components/ui/Card.tsx+++ b/apps/mobile/src/components/ui/Card.tsx@@ -23,7 +23,7 @@ export function Card({ children, style, danger = false, variant = "default", onPconst getVariantStyles = (): ViewStyle => {if (danger) {return {- backgroundColor: colors.error + "10",+ backgroundColor: colors.error + "12",borderColor: colors.error,borderWidth: 2}@@ -66,7 +66,7 @@ export function Card({ children, style, danger = false, variant = "default", onPif (variant === "interactive" && onPress) {return (- <Pressable onPress={onPress} style={({ pressed }) => ({ opacity: pressed ? 0.7 : 1 })}>+ <Pressable onPress={onPress} style={({ pressed }) => ({ opacity: pressed ? colors.pressedOpacity : 1 })}>{cardView}</Pressable>)diff --git a/apps/mobile/src/components/ui/ChipGroup.tsx b/apps/mobile/src/components/ui/ChipGroup.tsxindex 090b363c..564c9969 100644--- a/apps/mobile/src/components/ui/ChipGroup.tsx+++ b/apps/mobile/src/components/ui/ChipGroup.tsx@@ -27,7 +27,7 @@ export function ChipGroup<T extends string>({ options, selected, onSelect, colorstyles.chip,{ borderColor: colors.border, backgroundColor: colors.background },isSelected && { borderColor: colors.primary, backgroundColor: colors.primary + "20" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => onSelect(value)}>diff --git a/apps/mobile/src/components/ui/DisclosureModal.tsx b/apps/mobile/src/components/ui/DisclosureModal.tsxindex 6a6159ac..39777e37 100644--- a/apps/mobile/src/components/ui/DisclosureModal.tsx+++ b/apps/mobile/src/components/ui/DisclosureModal.tsx@@ -81,7 +81,7 @@ export function DisclosureModal({ icon, title, paragraphs, confirmLabel, registestyles.button,styles.secondaryButton,{ borderColor: colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={handleNotNow}>@@ -93,7 +93,7 @@ export function DisclosureModal({ icon, title, paragraphs, confirmLabel, registestyles.button,styles.primaryButton,{ backgroundColor: colors.primary },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={handleConfirm}>diff --git a/apps/mobile/src/components/ui/ErrorBoundary.tsx b/apps/mobile/src/components/ui/ErrorBoundary.tsxindex c802ef39..af32a8b4 100644--- a/apps/mobile/src/components/ui/ErrorBoundary.tsx+++ b/apps/mobile/src/components/ui/ErrorBoundary.tsx@@ -51,7 +51,7 @@ class ErrorBoundaryInternal extends Component<ErrorBoundaryInternalProps, ErrorBstyle={({ pressed }) => [styles.errorButton,{ backgroundColor: colors.primary },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={this.handleReset}>diff --git a/apps/mobile/src/components/ui/FormatOption.tsx b/apps/mobile/src/components/ui/FormatOption.tsxindex 332caba1..2ec4dd3b 100644--- a/apps/mobile/src/components/ui/FormatOption.tsx+++ b/apps/mobile/src/components/ui/FormatOption.tsx@@ -31,7 +31,7 @@ export const FormatOption = ({return (<Pressable- style={({ pressed }) => [styles.formatOption, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.formatOption, pressed && { opacity: colors.pressedOpacity }]}onPress={onPress}accessibilityRole="radio"accessibilityState={{ checked: selected }}@@ -54,7 +54,7 @@ export const FormatOption = ({styles.extensionBadge,{backgroundColor: selected ? colors.primary + "20" : colors.primary + "15",- borderColor: selected ? colors.primary + "60" : colors.primary + "30"+ borderColor: selected ? colors.primary + "40" : colors.primary + "30"}]}>@@ -74,8 +74,7 @@ export const FormatOption = ({const styles = StyleSheet.create({formatOption: {- paddingVertical: 8,- paddingHorizontal: 12+ paddingVertical: 8},formatContent: {flexDirection: "row",diff --git a/apps/mobile/src/screens/AboutScreen.tsx b/apps/mobile/src/screens/AboutScreen.tsxindex 00b3bb30..44b5490d 100644--- a/apps/mobile/src/screens/AboutScreen.tsx+++ b/apps/mobile/src/screens/AboutScreen.tsx@@ -63,7 +63,10 @@ const LinkRow = ({colors: ThemeColorsonOpenURL: (url: string) => void}) => (- <Pressable style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.7 }]} onPress={() => onOpenURL(url)}>+ <Pressable+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}+ onPress={() => onOpenURL(url)}+ ><Icon size={20} color={colors.primaryDark} /><View style={styles.linkTextContainer}><Text style={[styles.linkTitle, { color: colors.text }]}>{title}</Text>@@ -327,7 +330,7 @@ export function AboutScreen({}: ScreenProps) {style={({ pressed }) => [styles.debugBadge,{ backgroundColor: colors.warning + "20" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Bug size={14} color={colors.warning} />@@ -380,7 +383,7 @@ export function AboutScreen({}: ScreenProps) {<SectionTitle>Map Data</SectionTitle><Card><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => handleOpenURL(TILE_SERVER_DOCS_URL)}><View style={styles.linkTextContainer}>@@ -393,7 +396,7 @@ export function AboutScreen({}: ScreenProps) {</Pressable><Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => handleOpenURL("https://www.openstreetmap.org/copyright")}><View style={styles.linkTextContainer}>@@ -427,7 +430,7 @@ export function AboutScreen({}: ScreenProps) {style={({ pressed }) => [styles.copyButton,{ borderColor: colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={handleCopyDebugInfo}>@@ -441,7 +444,7 @@ export function AboutScreen({}: ScreenProps) {style={({ pressed }) => [styles.copyButton,{ borderColor: colors.border },- pressed && { opacity: 0.7 },+ pressed && { opacity: colors.pressedOpacity },exportingLogs && { opacity: 0.5 }]}onPress={handleExportLogs}diff --git a/apps/mobile/src/screens/ApiSettingsScreen.tsx b/apps/mobile/src/screens/ApiSettingsScreen.tsxindex ab628289..0aa8d106 100644--- a/apps/mobile/src/screens/ApiSettingsScreen.tsx+++ b/apps/mobile/src/screens/ApiSettingsScreen.tsx@@ -392,7 +392,7 @@ export function ApiSettingsScreen({}: ScreenProps) {{hasModifications && (<PressableonPress={handleResetAll}- style={({ pressed }) => [styles.resetAllButton, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.resetAllButton, pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.resetAllText, { color: colors.primaryDark }]}>RESET ALL</Text></Pressable>@@ -452,7 +452,7 @@ export function ApiSettingsScreen({}: ScreenProps) {style={({ pressed }) => [styles.resetButton,{ backgroundColor: colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.resetIcon, { color: colors.textSecondary }]}>↺</Text>@@ -523,7 +523,7 @@ export function ApiSettingsScreen({}: ScreenProps) {style={({ pressed }) => [styles.removeButton,{ backgroundColor: colors.error + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.removeButtonText, { color: colors.error }]}>X</Text>@@ -537,7 +537,11 @@ export function ApiSettingsScreen({}: ScreenProps) {<PressableonPress={handleAddCustomField}- style={({ pressed }) => [styles.addButton, { borderColor: colors.border }, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [+ styles.addButton,+ { borderColor: colors.border },+ pressed && { opacity: colors.pressedOpacity }+ ]}><Text style={[styles.addButtonText, { color: colors.primaryDark }]}>+ Add Field</Text></Pressable>@@ -570,7 +574,7 @@ export function ApiSettingsScreen({}: ScreenProps) {<Text style={[styles.exampleCode, { color: colors.textSecondary }]}>{examplePayload}</Text><PressableonPress={handleCopyPayload}- style={({ pressed }) => [styles.copyButton, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.copyButton, pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.copyButtonText, { color: copied ? colors.success : colors.primaryDark }]}>{copied ? "COPIED!" : "COPY"}diff --git a/apps/mobile/src/screens/AuthSettingsScreen.tsx b/apps/mobile/src/screens/AuthSettingsScreen.tsxindex fd0716c8..4e45b134 100644--- a/apps/mobile/src/screens/AuthSettingsScreen.tsx+++ b/apps/mobile/src/screens/AuthSettingsScreen.tsx@@ -296,7 +296,7 @@ export function AuthSettingsScreen({}: ScreenProps) {style={({ pressed }) => [styles.removeButton,{ backgroundColor: colors.error + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.removeButtonText, { color: colors.error }]}>X</Text>@@ -310,7 +310,11 @@ export function AuthSettingsScreen({}: ScreenProps) {{localHeaders.length > 0 && <Divider />}<Pressable- style={({ pressed }) => [styles.addButton, { borderColor: colors.primary }, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [+ styles.addButton,+ { borderColor: colors.primary },+ pressed && { opacity: colors.pressedOpacity }+ ]}onPress={addHeader}><Text style={[styles.addButtonText, { color: colors.primaryDark }]}>+ Add Header</Text>diff --git a/apps/mobile/src/screens/AutoExportScreen.tsx b/apps/mobile/src/screens/AutoExportScreen.tsxindex 775dbcb8..f934c9dd 100644--- a/apps/mobile/src/screens/AutoExportScreen.tsx+++ b/apps/mobile/src/screens/AutoExportScreen.tsx@@ -320,7 +320,7 @@ export function AutoExportScreen(_props: ScreenProps) {<SectionTitle>Export Directory</SectionTitle><Card><Pressable- style={({ pressed }) => [styles.directoryRow, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.directoryRow, pressed && { opacity: colors.pressedOpacity }]}onPress={handlePickDirectory}><FolderOpen size={22} color={colors.primary} />@@ -363,7 +363,7 @@ export function AutoExportScreen(_props: ScreenProps) {<View key={option.key}>{i > 0 && <Divider />}<Pressable- style={({ pressed }) => [styles.modeRow, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.modeRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => handleModeChange(option.key)}><View style={styles.modeContent}>diff --git a/apps/mobile/src/screens/ExportDataScreen.tsx b/apps/mobile/src/screens/ExportDataScreen.tsxindex 931e818b..560d60c4 100644--- a/apps/mobile/src/screens/ExportDataScreen.tsx+++ b/apps/mobile/src/screens/ExportDataScreen.tsx@@ -152,7 +152,7 @@ export function ExportDataScreen({ navigation }: ScreenProps) {<SectionTitle>Scheduled Export</SectionTitle><Card><Pressable- style={({ pressed }) => [styles.autoExportRow, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.autoExportRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Auto-Export")}><Clock size={22} color={autoExportEnabled ? colors.primary : colors.textLight} />diff --git a/apps/mobile/src/screens/GeofenceScreen.tsx b/apps/mobile/src/screens/GeofenceScreen.tsxindex a9cd12be..a5de19ea 100644--- a/apps/mobile/src/screens/GeofenceScreen.tsx+++ b/apps/mobile/src/screens/GeofenceScreen.tsx@@ -238,7 +238,8 @@ export function GeofenceScreen({}: ScreenProps) {<Card style={styles.card}><View style={styles.row}><Pressable- style={({ pressed }) => [styles.info, pressed && { opacity: 0.7 }]}+ testID={`geofence-info-${item.id}`}+ style={({ pressed }) => [styles.info, pressed && { opacity: colors.pressedOpacity }]}onPress={() => handleZoomToGeofence(item)}><Text style={[styles.name, { color: colors.text }]}>{item.name}</Text>@@ -251,6 +252,7 @@ export function GeofenceScreen({}: ScreenProps) {<View style={styles.pauseSwitch}><Text style={[styles.pauseLabel, { color: colors.textSecondary }]}>Pause</Text><Switch+ testID={`pause-geofence-${item.id}`}value={item.pauseTracking}onValueChange={(val) => togglePause(item.id!, val)}trackColor={{@@ -262,11 +264,12 @@ export function GeofenceScreen({}: ScreenProps) {</View><Pressable+ testID={`delete-geofence-${item.id}`}onPress={() => handleDelete(item)}style={({ pressed }) => [styles.deleteBtn,{ backgroundColor: colors.error + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><X size={16} color={colors.error} />@@ -319,6 +322,7 @@ export function GeofenceScreen({}: ScreenProps) {<View style={[styles.inputGroup, styles.inputGroupName]}><Text style={[styles.label, { color: colors.textSecondary }]}>Name</Text><TextInput+ testID="geofence-name-input"style={[styles.input,{@@ -337,6 +341,7 @@ export function GeofenceScreen({}: ScreenProps) {<View style={[styles.inputGroup, styles.inputGroupRadius]}><Text style={[styles.label, { color: colors.textSecondary }]}>Radius ({shortDistanceUnit()})</Text><TextInput+ testID="geofence-radius-input"style={[styles.input,styles.inputCentered,@@ -356,10 +361,11 @@ export function GeofenceScreen({}: ScreenProps) {</View><Pressable+ testID="place-geofence-btn"style={({ pressed }) => [styles.placeBtn,{ backgroundColor: colors.primary },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={startPlacingGeofence}disabled={placingGeofence}@@ -417,7 +423,7 @@ const styles = StyleSheet.create({},placeBtn: { padding: 16, borderRadius: 12, alignItems: "center" },placeBtnText: { fontSize: 15, ...fonts.semiBold },- card: { marginBottom: 12, padding: 14 },+ card: { marginBottom: 12 },row: {flexDirection: "row",alignItems: "center",diff --git a/apps/mobile/src/screens/LocationInspectorScreen.tsx b/apps/mobile/src/screens/LocationInspectorScreen.tsxindex 071a1fa4..81f6312d 100644--- a/apps/mobile/src/screens/LocationInspectorScreen.tsx+++ b/apps/mobile/src/screens/LocationInspectorScreen.tsx@@ -64,7 +64,7 @@ export function LocationHistoryScreen({ navigation, route }: { navigation: any;() => (<PressableonPress={() => navigation.navigate("Location Summary")}- style={({ pressed }) => [styles.headerBtn, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.headerBtn, pressed && { opacity: colors.pressedOpacity }]}><BarChart2 size={20} color={colors.text} /></Pressable>@@ -226,7 +226,7 @@ export function LocationHistoryScreen({ navigation, route }: { navigation: any;style={({ pressed }) => [styles.floatingPill,{ backgroundColor: colors.primary, borderRadius: colors.borderRadius },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.floatingPillText, { color: colors.textOnPrimary }]}>@@ -268,7 +268,7 @@ const Tab = ({ label, active, onPress, colors }: TabProps) => {return (<PressableonPress={onPress}- style={({ pressed }) => [styles.tab, { borderBottomColor }, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.tab, { borderBottomColor }, pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.tabText, active ? styles.tabTextActive : styles.tabTextInactive, { color: textColor }]}>{label}diff --git a/apps/mobile/src/screens/LocationSummaryScreen.tsx b/apps/mobile/src/screens/LocationSummaryScreen.tsxindex ae3dec45..6067c10e 100644--- a/apps/mobile/src/screens/LocationSummaryScreen.tsx+++ b/apps/mobile/src/screens/LocationSummaryScreen.tsx@@ -151,7 +151,10 @@ export function LocationSummaryScreen({ navigation }: { navigation: any }) {const renderDailyStat = useCallback(({ item }: { item: DailyStat }) => (- <Pressable onPress={() => handleDayPress(item.day)} style={({ pressed }) => pressed && { opacity: 0.7 }}>+ <Pressable+ onPress={() => handleDayPress(item.day)}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}+ ><Card style={styles.dayCard}><View style={styles.dayHeader}><Text style={[styles.dayLabel, { color: colors.text }]}>{formatDayLabel(item.day)}</Text>@@ -248,7 +251,9 @@ export function LocationSummaryScreen({ navigation }: { navigation: any }) {}ListHeaderComponent={summaryHeader}ListEmptyComponent={- <Text style={[styles.emptyText, { color: colors.textSecondary }]}>No data for this period</Text>+ <View style={styles.empty}>+ <Text style={[styles.emptyText, { color: colors.textSecondary }]}>No data for this period</Text>+ </View>}/>)}@@ -326,10 +331,6 @@ const styles = StyleSheet.create({fontSize: 12,...fonts.regular},- emptyText: {- textAlign: "center",- marginTop: 40,- fontSize: 14,- ...fonts.regular- }+ empty: { alignItems: "center", paddingVertical: 40 },+ emptyText: { fontSize: 15, ...fonts.semiBold }})diff --git a/apps/mobile/src/screens/OfflineMapsScreen.tsx b/apps/mobile/src/screens/OfflineMapsScreen.tsxindex d672ce98..290293c7 100644--- a/apps/mobile/src/screens/OfflineMapsScreen.tsx+++ b/apps/mobile/src/screens/OfflineMapsScreen.tsx@@ -150,8 +150,8 @@ const DownloadForm = memo(onPress={onCancelDownload}style={({ pressed }) => [styles.cancelBtn,- { borderColor: colors.error + "60" },- pressed && { opacity: 0.7 }+ { borderColor: colors.error + "40" },+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.cancelBtnText, { color: colors.error }]}>Cancel Download</Text>@@ -163,7 +163,7 @@ const DownloadForm = memo(style={({ pressed }) => [styles.downloadBtn,{ backgroundColor: estimatedSizeLabel ? colors.primary : colors.border },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={onDownload}disabled={!estimatedSizeLabel}@@ -656,7 +656,7 @@ export function OfflineMapsScreen({}: ScreenProps) {<Card style={styles.card}><View style={styles.row}><Pressable- style={({ pressed }) => [styles.info, pressed && { opacity: 0.6 }]}+ style={({ pressed }) => [styles.info, pressed && { opacity: colors.pressedOpacity }]}onPress={() => fitToArea(item.name)}disabled={item.isActive}>@@ -687,7 +687,7 @@ export function OfflineMapsScreen({}: ScreenProps) {style={({ pressed }) => [styles.cancelAreaBtn,{ backgroundColor: colors.error + "15", borderColor: colors.error + "40" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}>{isCanceling ? (@@ -706,7 +706,7 @@ export function OfflineMapsScreen({}: ScreenProps) {style={({ pressed }) => [styles.actionBtn,{ backgroundColor: colors.primary + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}>{isRefreshing ? (@@ -723,7 +723,7 @@ export function OfflineMapsScreen({}: ScreenProps) {style={({ pressed }) => [styles.actionBtn,{ backgroundColor: colors.error + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}>{isDeleting ? (@@ -860,7 +860,7 @@ const styles = StyleSheet.create({input: { padding: 14, borderWidth: 1.5, borderRadius: 10, fontSize: 15 },sizeEstimate: { fontSize: 12, ...fonts.regular, marginBottom: 12 },downloadBtn: { padding: 16, borderRadius: 12, alignItems: "center" },- downloadBtnText: { fontSize: 15, ...fonts.semiBold },+ downloadBtnText: { fontSize: 16, ...fonts.semiBold },progressContainer: { gap: 10 },progressHeader: { flexDirection: "row", alignItems: "center", gap: 10 },progressLabel: { fontSize: 14, ...fonts.semiBold },@@ -876,7 +876,7 @@ const styles = StyleSheet.create({},cancelBtnText: { fontSize: 14, ...fonts.semiBold },errorText: { fontSize: 13, ...fonts.regular, marginTop: 10 },- card: { marginBottom: 12, padding: 14 },+ card: { marginBottom: 12 },row: { flexDirection: "row", alignItems: "center", justifyContent: "space-between" },info: { flex: 1, marginRight: 12 },nameRow: { flexDirection: "row", alignItems: "center", gap: 6, marginBottom: 2 },diff --git a/apps/mobile/src/screens/ProfileEditorScreen.tsx b/apps/mobile/src/screens/ProfileEditorScreen.tsxindex a50778e0..fd0b49b7 100644--- a/apps/mobile/src/screens/ProfileEditorScreen.tsx+++ b/apps/mobile/src/screens/ProfileEditorScreen.tsx@@ -217,7 +217,7 @@ export function ProfileEditorScreen({ navigation, route }: any) {backgroundColor: selected ? colors.primary + "15" : colors.background,borderColor: selected ? colors.primary : colors.border},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => setConditionType(opt.type)}>@@ -311,7 +311,7 @@ export function ProfileEditorScreen({ navigation, route }: any) {backgroundColor: isSelected ? colors.primary + "15" : colors.background,borderColor: isSelected ? colors.primary : colors.border},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => setProfile((prev) => ({ ...prev, syncInterval: sec }))}>@@ -328,7 +328,7 @@ export function ProfileEditorScreen({ navigation, route }: any) {backgroundColor: isCustomSyncInterval ? colors.primary + "15" : colors.background,borderColor: isCustomSyncInterval ? colors.primary : colors.border},- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => {if (!isCustomSyncInterval) {@@ -403,7 +403,7 @@ export function ProfileEditorScreen({ navigation, route }: any) {styles.saveBtn,{ backgroundColor: colors.primary },saving && styles.saveBtnDisabled,- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={handleSave}disabled={saving}diff --git a/apps/mobile/src/screens/SettingsScreen.tsx b/apps/mobile/src/screens/SettingsScreen.tsxindex a93ab5c4..2dde303f 100644--- a/apps/mobile/src/screens/SettingsScreen.tsx+++ b/apps/mobile/src/screens/SettingsScreen.tsx@@ -202,6 +202,7 @@ export function SettingsScreen({ navigation }: ScreenProps) {<Card><SettingRow label="Dark Mode"><Switch+ testID="dark-mode-switch"value={mode === "dark"}onValueChange={toggleTheme}trackColor={{@@ -221,6 +222,7 @@ export function SettingsScreen({ navigation }: ScreenProps) {return (<Pressablekey={unit}+ testID={`unit-${unit}`}style={[styles.chip,{@@ -248,6 +250,7 @@ export function SettingsScreen({ navigation }: ScreenProps) {return (<Pressablekey={fmt}+ testID={`time-format-${fmt}`}style={[styles.chip,{@@ -267,10 +270,16 @@ export function SettingsScreen({ navigation }: ScreenProps) {<Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ testID="map-tile-server-toggle"+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => setShowMapTileServer(!showMapTileServer)}>- <Text style={[styles.linkLabel, { color: colors.text }]}>Map Tile Server</Text>+ <View style={styles.linkContent}>+ <Text style={[styles.linkLabel, { color: colors.text }]}>Map Tile Server</Text>+ <Text style={[styles.linkSub, { color: colors.textSecondary }]}>+ Override the default map tile source+ </Text>+ </View>{showMapTileServer ? (<ChevronUp size={20} color={colors.textLight} />) : (@@ -280,11 +289,11 @@ export function SettingsScreen({ navigation }: ScreenProps) {{showMapTileServer && (<View style={styles.mapTilePanel}>- <Divider /><Text style={[styles.mapStyleSub, styles.mapStyleSubFirst, { color: colors.textSecondary }]}>Light style URL</Text><TextInput+ testID="map-style-url-light"style={[styles.mapStyleInput,{ borderColor: colors.border, color: colors.text, backgroundColor: colors.background }@@ -302,6 +311,7 @@ export function SettingsScreen({ navigation }: ScreenProps) {Dark style URL</Text><TextInput+ testID="map-style-url-dark"style={[styles.mapStyleInput,{ borderColor: colors.border, color: colors.text, backgroundColor: colors.background }@@ -318,7 +328,10 @@ export function SettingsScreen({ navigation }: ScreenProps) {<View style={styles.mapStyleFooter}><Text style={[styles.mapStyleHint, { color: colors.textLight }]}>Leave empty to use the default</Text>{mapStyleUrlLight.trim() || mapStyleUrlDark.trim() ? (- <Pressable onPress={resetMapStyle} style={({ pressed }) => pressed && { opacity: 0.6 }}>+ <Pressable+ onPress={resetMapStyle}+ style={({ pressed }) => pressed && { opacity: colors.pressedOpacity }}+ ><Text style={[styles.mapStyleHint, { color: colors.primary }]}>Reset to default</Text></Pressable>) : null}@@ -333,7 +346,8 @@ export function SettingsScreen({ navigation }: ScreenProps) {<SectionTitle>Advanced</SectionTitle><Card><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ testID="nav-tracking-profiles"+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Tracking Profiles")}><View style={styles.linkContent}>@@ -348,7 +362,8 @@ export function SettingsScreen({ navigation }: ScreenProps) {<Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ testID="nav-offline-maps"+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Offline Maps")}><View style={styles.linkContent}>@@ -363,7 +378,8 @@ export function SettingsScreen({ navigation }: ScreenProps) {<Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ testID="nav-data-management"+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Data Management")}><View style={styles.linkContent}>@@ -378,7 +394,8 @@ export function SettingsScreen({ navigation }: ScreenProps) {<Divider /><Pressable- style={({ pressed }) => [styles.linkRow, pressed && { opacity: 0.6 }]}+ testID="nav-api-config"+ style={({ pressed }) => [styles.linkRow, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("API Config")}><View style={styles.linkContent}>diff --git a/apps/mobile/src/screens/TrackingProfilesScreen.tsx b/apps/mobile/src/screens/TrackingProfilesScreen.tsxindex 27fdf004..f729866f 100644--- a/apps/mobile/src/screens/TrackingProfilesScreen.tsx+++ b/apps/mobile/src/screens/TrackingProfilesScreen.tsx@@ -103,7 +103,7 @@ export function TrackingProfilesScreen({ navigation }: ScreenProps) {return (<Card style={[styles.card, isActive && styles.activeCard, isActive && { borderColor: colors.primary }]}><Pressable- style={({ pressed }) => [styles.row, pressed && { opacity: 0.7 }]}+ style={({ pressed }) => [styles.row, pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Profile Editor", { profileId: item.id })}><View style={[styles.iconWrap, { backgroundColor: colors.primary + "15" }]}>@@ -143,7 +143,7 @@ export function TrackingProfilesScreen({ navigation }: ScreenProps) {style={({ pressed }) => [styles.deleteBtn,{ backgroundColor: colors.error + "15" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><X size={16} color={colors.error} />@@ -176,7 +176,7 @@ export function TrackingProfilesScreen({ navigation }: ScreenProps) {style={({ pressed }) => [styles.createBtn,{ backgroundColor: colors.primary },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}onPress={() => navigation.navigate("Profile Editor", {})}>@@ -217,7 +217,7 @@ const styles = StyleSheet.create({marginBottom: 24},createBtnText: { fontSize: 15, ...fonts.semiBold },- card: { marginBottom: 12, padding: 14 },+ card: { marginBottom: 12 },activeCard: { borderWidth: 2 },row: { flexDirection: "row", alignItems: "center" },iconWrap: {diff --git a/apps/mobile/src/screens/TripDetailScreen.tsx b/apps/mobile/src/screens/TripDetailScreen.tsxindex 8d35eebd..7b32336f 100644--- a/apps/mobile/src/screens/TripDetailScreen.tsx+++ b/apps/mobile/src/screens/TripDetailScreen.tsx@@ -226,7 +226,7 @@ export function TripDetailScreen({ route }: { navigation: any; route: any }) {style={({ pressed }) => [styles.exportChip,{ backgroundColor: colors.primary + "12", borderColor: colors.primary + "30" },- pressed && { opacity: 0.7 }+ pressed && { opacity: colors.pressedOpacity }]}><Text style={[styles.exportChipText, { color: colors.primary }]}>{EXPORT_FORMATS[fmt].label}</Text>diff --git a/packages/shared/src/colors.ts b/packages/shared/src/colors.tsindex b8c2f5d6..f987ecd5 100644--- a/packages/shared/src/colors.ts+++ b/packages/shared/src/colors.ts@@ -60,6 +60,7 @@ export interface ThemeColors {overlay: stringshadow: stringtransparent: string+ pressedOpacity: numberborderRadius: numbertextOnPrimary: string}@@ -114,6 +115,7 @@ export const lightColors: ThemeColors = {// Specialtransparent: "transparent",+ pressedOpacity: 0.7,borderRadius: 8,textOnPrimary: "#FFFFFF"}@@ -168,6 +170,7 @@ export const darkColors: ThemeColors = {// Specialtransparent: "transparent",+ pressedOpacity: 0.7,borderRadius: 8,textOnPrimary: "#121212"}