updated ui components for global events and finds

made changes for dark theme for global events
This commit is contained in:
suddenlyoranges committed 2026-04-09 21:47:52 +01:00
1 parent 12847cc46c
commit 768c4ec7e2
3 files changed
+20 -20

No files matched your search

+8 -8
View File
@@ -41,11 +41,11 @@ const styles = StyleSheet.create({
paddingVertical: 14, paddingVertical: 14,
paddingHorizontal: 2, paddingHorizontal: 2,
borderTopWidth: 1, borderTopWidth: 1,
borderColor: "lightgray", borderColor: "#45475a",
gap: 4, gap: 4,
}, },
pressedItem: { pressedItem: {
backgroundColor: "#f0f9ff", backgroundColor: "#313244",
}, },
row: { row: {
flexDirection: "row", flexDirection: "row",
@@ -55,18 +55,18 @@ const styles = StyleSheet.create({
name: { name: {
fontSize: 16, fontSize: 16,
fontWeight: "600", fontWeight: "600",
color: "#111827", color: "#cdd6f4",
flex: 1, flex: 1,
marginRight: 8, marginRight: 8,
}, },
clue: { clue: {
fontSize: 13, fontSize: 13,
color: "#6b7280", color: "#a6adc8",
}, },
points: { points: {
fontSize: 12, fontSize: 12,
fontWeight: "500", fontWeight: "500",
color: "#2563eb", color: "#89b4fa",
}, },
badge: { badge: {
paddingHorizontal: 8, paddingHorizontal: 8,
@@ -74,15 +74,15 @@ const styles = StyleSheet.create({
borderRadius: 10, borderRadius: 10,
}, },
badgeFound: { badgeFound: {
backgroundColor: "#d1fae5", backgroundColor: "#1e3a2f",
}, },
badgeOpen: { badgeOpen: {
backgroundColor: "#fef3c7", backgroundColor: "#3d3117",
}, },
badgeText: { badgeText: {
fontSize: 11, fontSize: 11,
fontWeight: "600", fontWeight: "600",
color: "#374151", color: "#cdd6f4",
}, },
}); });
+8 -8
View File
@@ -53,11 +53,11 @@ const styles = StyleSheet.create({
paddingVertical: 14, paddingVertical: 14,
paddingHorizontal: 2, paddingHorizontal: 2,
borderTopWidth: 1, borderTopWidth: 1,
borderColor: "lightgray", borderColor: "#45475a",
gap: 4, gap: 4,
}, },
pressedItem: { pressedItem: {
backgroundColor: "#f0f9ff", backgroundColor: "#313244",
}, },
row: { row: {
flexDirection: "row", flexDirection: "row",
@@ -67,17 +67,17 @@ const styles = StyleSheet.create({
name: { name: {
fontSize: 16, fontSize: 16,
fontWeight: "600", fontWeight: "600",
color: "#111827", color: "#cdd6f4",
flex: 1, flex: 1,
marginRight: 8, marginRight: 8,
}, },
description: { description: {
fontSize: 13, fontSize: 13,
color: "#6b7280", color: "#a6adc8",
}, },
meta: { meta: {
fontSize: 12, fontSize: 12,
color: "#9ca3af", color: "#a6adc8",
}, },
badge: { badge: {
paddingHorizontal: 8, paddingHorizontal: 8,
@@ -85,15 +85,15 @@ const styles = StyleSheet.create({
borderRadius: 10, borderRadius: 10,
}, },
badgePublic: { badgePublic: {
backgroundColor: "#dcfce7", backgroundColor: "#1e3a2f",
}, },
badgePrivate: { badgePrivate: {
backgroundColor: "#f3f4f6", backgroundColor: "#313244",
}, },
badgeText: { badgeText: {
fontSize: 11, fontSize: 11,
fontWeight: "600", fontWeight: "600",
color: "#374151", color: "#cdd6f4",
}, },
}); });
+4 -4
View File
@@ -36,7 +36,7 @@ const styles = StyleSheet.create({
item: { item: {
paddingVertical: 12, paddingVertical: 12,
borderTopWidth: 1, borderTopWidth: 1,
borderColor: "lightgray", borderColor: "#45475a",
gap: 3, gap: 3,
}, },
row: { row: {
@@ -47,18 +47,18 @@ const styles = StyleSheet.create({
cacheName: { cacheName: {
fontSize: 15, fontSize: 15,
fontWeight: "600", fontWeight: "600",
color: "#111827", color: "#cdd6f4",
flex: 1, flex: 1,
marginRight: 8, marginRight: 8,
}, },
points: { points: {
fontSize: 14, fontSize: 14,
fontWeight: "700", fontWeight: "700",
color: "#16a34a", color: "#a6e3a1",
}, },
meta: { meta: {
fontSize: 12, fontSize: 12,
color: "#9ca3af", color: "#a6adc8",
}, },
}); });