From 6e5fa601085c658dfc6ed4dabdbb4f71128e9314 Mon Sep 17 00:00:00 2001 From: l2uler <335852737+CodePhrex@users.noreply.github.com> Date: Sun, 25 Oct 2026 16:19:25 -0700 Subject: [PATCH] Create Modern Professional Command Center theme --- app/(tabs)/index.tsx | 96 ++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index bab4ff1..cea5e04 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -40,25 +40,25 @@ export default function CommandCenterScreen() { const coveragePct = Math.round((observed / totalChecks) * 100); return ( - + - DROID COMMANDER // LOCAL MODE + DROID COMMANDER // DEVICE OVERVIEW Droid Commander - OFFLINE READY + LOCAL MODE - Evidence before action. + Clear signals.\nConfident decisions. A consent-first field instrument for learning how device posture can be measured and improved. @@ -68,7 +68,7 @@ export default function CommandCenterScreen() { - HOST COVERAGE + DEVICE POSTURE {running ? "READING…" : report ? (cached ? "CACHED" : "LIVE") : "NOT ASSESSED"} @@ -137,7 +137,7 @@ export default function CommandCenterScreen() { - Signal review + Assessment signals {checks.length ? `${checks.length} CHECKS` : "—"} @@ -185,7 +185,7 @@ export default function CommandCenterScreen() { })} - Transport readiness + Connection readiness USB / ADB @@ -315,12 +315,12 @@ const styles = StyleSheet.create({ scrollContent: { paddingHorizontal: 20, paddingTop: 18, paddingBottom: 34 }, headerRow: { flexDirection: "row", justifyContent: "space-between", alignItems: "flex-start" }, kicker: { color: palette.orange, fontSize: 10, fontWeight: "800", letterSpacing: 1.2 }, - wordmark: { color: palette.ink, fontSize: 21, fontWeight: "800", letterSpacing: -0.5, marginTop: 4 }, + wordmark: { color: "#172B4D", fontSize: 21, fontWeight: "800", letterSpacing: -0.5, marginTop: 4 }, offlinePill: { flexDirection: "row", alignItems: "center", borderWidth: 1, - borderColor: palette.line, + borderColor: "#DCE5EF", borderRadius: 20, paddingHorizontal: 9, paddingVertical: 7, @@ -335,17 +335,17 @@ const styles = StyleSheet.create({ marginBottom: 18, }, introCopy: { flex: 1, paddingRight: 18 }, - title: { color: palette.ink, fontSize: 30, fontWeight: "800", letterSpacing: -1.1, lineHeight: 34 }, - subtitle: { color: palette.muted, fontSize: 14, lineHeight: 20, marginTop: 8 }, + title: { color: "#172B4D", fontSize: 30, fontWeight: "800", letterSpacing: -1.1, lineHeight: 34 }, + subtitle: { color: "#62748A", fontSize: 14, lineHeight: 20, marginTop: 8 }, buildTag: { - color: palette.muted, + color: "#62748A", fontSize: 9, lineHeight: 13, fontWeight: "800", letterSpacing: 1, textAlign: "right", }, - postureCard: { backgroundColor: palette.navy, borderRadius: 22, padding: 20, marginBottom: 12 }, + postureCard: { backgroundColor: "#173B6C", borderRadius: 22, padding: 20, marginBottom: 12 }, postureTopRow: { flexDirection: "row", justifyContent: "space-between", alignItems: "center" }, postureLabel: { color: palette.navyMuted, fontSize: 10, fontWeight: "800", letterSpacing: 1.1 }, postureStamp: { color: palette.orange, fontSize: 9, fontWeight: "800", letterSpacing: 0.8 }, @@ -356,7 +356,7 @@ const styles = StyleSheet.create({ scoreCopy: { flex: 1, paddingBottom: 5 }, scoreTitle: { color: "#FFFFFF", fontSize: 16, fontWeight: "800" }, scoreDetail: { color: palette.navyMuted, fontSize: 12, lineHeight: 17, marginTop: 4 }, - scoreBarTrack: { height: 6, borderRadius: 4, backgroundColor: "#274556", marginTop: 18, overflow: "hidden" }, + scoreBarTrack: { height: 6, borderRadius: 4, backgroundColor: "#C8D9EE", marginTop: 18, overflow: "hidden" }, scoreBarFill: { height: 6, backgroundColor: palette.orange, borderRadius: 4 }, scoreMetaRow: { flexDirection: "row", justifyContent: "space-between", marginTop: 10 }, scoreMeta: { color: palette.navyMuted, fontSize: 10, fontWeight: "700" }, @@ -381,7 +381,7 @@ const styles = StyleSheet.create({ primaryButtonIconText: { color: "#FFFFFF", fontSize: 22, fontWeight: "500", lineHeight: 24 }, primaryButtonCopy: { flex: 1, marginLeft: 11 }, primaryButtonTitle: { color: "#FFFFFF", fontSize: 15, fontWeight: "800" }, - primaryButtonDetail: { color: "#FFE6D9", fontSize: 11, marginTop: 3 }, + primaryButtonDetail: { color: "#F0F6FF", fontSize: 11, marginTop: 3 }, primaryArrow: { color: "#FFFFFF", fontSize: 27, fontWeight: "300", paddingHorizontal: 4 }, pressed: { opacity: 0.82 }, alertText: { color: palette.red, fontSize: 12, lineHeight: 17, marginBottom: 10 }, @@ -392,13 +392,13 @@ const styles = StyleSheet.create({ marginBottom: 10, marginTop: 12, }, - sectionTitle: { color: palette.ink, fontSize: 17, fontWeight: "800" }, - sectionMeta: { color: palette.muted, fontSize: 9, fontWeight: "800", letterSpacing: 1 }, + sectionTitle: { color: "#172B4D", fontSize: 17, fontWeight: "800" }, + sectionMeta: { color: "#62748A", fontSize: 9, fontWeight: "800", letterSpacing: 1 }, findingCard: { flexDirection: "row", - backgroundColor: palette.paper, + backgroundColor: "#FFFFFF", borderWidth: 1, - borderColor: palette.line, + borderColor: "#DCE5EF", borderRadius: 15, padding: 13, marginBottom: 9, @@ -407,7 +407,7 @@ const styles = StyleSheet.create({ width: 27, height: 27, borderRadius: 9, - backgroundColor: palette.orangeSoft, + backgroundColor: "#E6F0FF", alignItems: "center", justifyContent: "center", marginRight: 10, @@ -415,16 +415,16 @@ const styles = StyleSheet.create({ findingIndexText: { color: palette.orange, fontSize: 10, fontWeight: "900" }, findingBody: { flex: 1 }, findingTopRow: { flexDirection: "row", alignItems: "center", justifyContent: "space-between" }, - findingTitle: { color: palette.ink, fontSize: 14, fontWeight: "800", flex: 1, paddingRight: 7 }, + findingTitle: { color: "#172B4D", fontSize: 14, fontWeight: "800", flex: 1, paddingRight: 7 }, statusPill: { borderRadius: 5, paddingHorizontal: 6, paddingVertical: 4 }, statusText: { fontSize: 8, fontWeight: "900", letterSpacing: 0.7 }, - findingDetail: { color: palette.muted, fontSize: 12, lineHeight: 17, marginTop: 8 }, - collapsedValue: { color: palette.muted, fontSize: 9, fontWeight: "900", letterSpacing: 0.7, marginTop: 7 }, + findingDetail: { color: "#62748A", fontSize: 12, lineHeight: 17, marginTop: 8 }, + collapsedValue: { color: "#62748A", fontSize: 9, fontWeight: "900", letterSpacing: 0.7, marginTop: 7 }, findingAction: { color: palette.orange, fontSize: 11, fontWeight: "800", marginTop: 8 }, - findingChevron: { color: palette.muted, fontSize: 17, marginLeft: 7, marginTop: 1 }, + findingChevron: { color: "#62748A", fontSize: 17, marginLeft: 7, marginTop: 1 }, transportCard: { flexDirection: "row", - backgroundColor: "#EAF0F0", + backgroundColor: "#EAF1F8", borderRadius: 16, padding: 14, marginBottom: 18, @@ -433,29 +433,29 @@ const styles = StyleSheet.create({ width: 34, height: 34, borderRadius: 11, - backgroundColor: palette.navy, + backgroundColor: "#173B6C", alignItems: "center", justifyContent: "center", marginRight: 10, }, transportIconText: { color: "#FFFFFF", fontSize: 21, fontWeight: "700" }, transportBody: { flex: 1 }, - neutralPill: { borderRadius: 5, backgroundColor: "#DCE6E6", paddingHorizontal: 6, paddingVertical: 4 }, - neutralPillText: { color: palette.muted, fontSize: 8, fontWeight: "900", letterSpacing: 0.6 }, - transportDetail: { color: palette.muted, fontSize: 12, lineHeight: 17, marginTop: 8 }, + neutralPill: { borderRadius: 5, backgroundColor: "#DCE7F4", paddingHorizontal: 6, paddingVertical: 4 }, + neutralPillText: { color: "#62748A", fontSize: 8, fontWeight: "900", letterSpacing: 0.6 }, + transportDetail: { color: "#62748A", fontSize: 12, lineHeight: 17, marginTop: 8 }, transportChecklist: { borderTopWidth: 1, - borderTopColor: "#D4DFDE", + borderTopColor: "#DCE5EF", marginTop: 10, paddingTop: 8, gap: 6, }, - checklistLine: { color: palette.ink, fontSize: 11, lineHeight: 15 }, + checklistLine: { color: "#172B4D", fontSize: 11, lineHeight: 15 }, checklistMark: { color: palette.orange, fontWeight: "900", letterSpacing: 0.6 }, scopeCard: { - backgroundColor: palette.paper, + backgroundColor: "#FFFFFF", borderWidth: 1, - borderColor: palette.line, + borderColor: "#DCE5EF", borderRadius: 17, padding: 15, marginBottom: 14, @@ -465,37 +465,37 @@ const styles = StyleSheet.create({ width: 31, height: 31, borderRadius: 10, - backgroundColor: palette.orangeSoft, + backgroundColor: "#E6F0FF", alignItems: "center", justifyContent: "center", marginRight: 10, }, scopeMarkText: { color: palette.orange, fontSize: 18, fontWeight: "900" }, scopeCopy: { flex: 1 }, - scopeTitle: { color: palette.ink, fontSize: 14, fontWeight: "800" }, - scopeDetail: { color: palette.muted, fontSize: 11, lineHeight: 16, marginTop: 3 }, + scopeTitle: { color: "#172B4D", fontSize: 14, fontWeight: "800" }, + scopeDetail: { color: "#62748A", fontSize: 11, lineHeight: 16, marginTop: 3 }, secondaryButton: { flexDirection: "row", justifyContent: "space-between", alignItems: "center", borderTopWidth: 1, - borderTopColor: palette.line, + borderTopColor: "#DCE5EF", marginTop: 14, paddingTop: 13, }, secondaryButtonText: { color: palette.orange, fontSize: 12, fontWeight: "900" }, secondaryButtonArrow: { color: palette.orange, fontSize: 18 }, footerNote: { - color: palette.muted, + color: "#62748A", fontSize: 10, lineHeight: 15, textAlign: "center", paddingHorizontal: 9, marginTop: 1, }, - modalBackdrop: { flex: 1, backgroundColor: "rgba(16,42,59,0.5)", justifyContent: "flex-end" }, + modalBackdrop: { flex: 1, backgroundColor: "rgba(23,43,77,0.45)", justifyContent: "flex-end" }, modalCard: { - backgroundColor: palette.canvas, + backgroundColor: "#F4F7FB", borderTopLeftRadius: 26, borderTopRightRadius: 26, paddingHorizontal: 22, @@ -506,15 +506,15 @@ const styles = StyleSheet.create({ width: 42, height: 4, borderRadius: 3, - backgroundColor: "#C6CFCC", + backgroundColor: "#C7D4E3", alignSelf: "center", marginBottom: 24, }, modalKicker: { color: palette.orange, fontSize: 10, fontWeight: "900", letterSpacing: 1 }, - modalTitle: { color: palette.ink, fontSize: 25, fontWeight: "800", letterSpacing: -0.6, marginTop: 7 }, - modalBody: { color: palette.muted, fontSize: 13, lineHeight: 18, marginTop: 8, marginBottom: 20 }, + modalTitle: { color: "#172B4D", fontSize: 25, fontWeight: "800", letterSpacing: -0.6, marginTop: 7 }, + modalBody: { color: "#62748A", fontSize: 13, lineHeight: 18, marginTop: 8, marginBottom: 20 }, inputLabel: { - color: palette.muted, + color: "#62748A", fontSize: 9, fontWeight: "900", letterSpacing: 1, @@ -522,18 +522,18 @@ const styles = StyleSheet.create({ marginTop: 9, }, input: { - backgroundColor: palette.paper, + backgroundColor: "#FFFFFF", borderWidth: 1, - borderColor: palette.line, + borderColor: "#DCE5EF", borderRadius: 12, paddingHorizontal: 14, paddingVertical: 12, - color: palette.ink, + color: "#172B4D", fontSize: 14, }, modalActions: { flexDirection: "row", justifyContent: "flex-end", gap: 10, marginTop: 22 }, cancelButton: { paddingHorizontal: 16, paddingVertical: 12 }, - cancelText: { color: palette.muted, fontSize: 14, fontWeight: "700" }, + cancelText: { color: "#62748A", fontSize: 14, fontWeight: "700" }, modalPrimary: { backgroundColor: palette.orange, borderRadius: 12,