Skip to content

Commit 7b3023a

Browse files
authored
Update TasksScreen.js
1 parent 510ac13 commit 7b3023a

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

src/screens/TasksScreen.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,78 @@ const TasksScreen = ({ navigation }) => {
8282
};
8383

8484
// ... Estilos al final
85+
86+
// screens/TasksAndLogbookStyles.js (o al final de cada archivo correspondiente)
87+
const styles = StyleSheet.create({
88+
container: { flex: 1, backgroundColor: '#121212' },
89+
gradient: { flex: 1 },
90+
header: { paddingHorizontal: 20, paddingTop: 20, paddingBottom: 10 },
91+
headerTitle: { fontSize: 28, fontWeight: 'bold', color: '#FFFFFF' },
92+
listContainer: { padding: 20, paddingBottom: 100 },
93+
emptyText: { color: '#A9A9A9', textAlign: 'center', marginTop: 50 },
94+
fab: {
95+
position: 'absolute',
96+
bottom: 30,
97+
right: 20,
98+
width: 60,
99+
height: 60,
100+
borderRadius: 30,
101+
backgroundColor: '#FDB813',
102+
justifyContent: 'center',
103+
alignItems: 'center',
104+
shadowColor: "#000",
105+
shadowOffset: { width: 0, height: 4 },
106+
shadowOpacity: 0.3,
107+
shadowRadius: 4,
108+
elevation: 8,
109+
},
110+
111+
// Estilos de TasksScreen
112+
tabContainer: { flexDirection: 'row', marginHorizontal: 20, marginTop: 16, backgroundColor: '#2a2a2a', borderRadius: 12, padding: 4 },
113+
tabButton: { flex: 1, paddingVertical: 10, borderRadius: 8 },
114+
tabButtonActive: { backgroundColor: '#121212' },
115+
tabText: { color: '#A9A9A9', textAlign: 'center', fontWeight: '600' },
116+
tabTextActive: { color: '#FDB813' },
117+
taskCard: {
118+
flexDirection: 'row',
119+
alignItems: 'center',
120+
backgroundColor: '#1e1e1e',
121+
borderRadius: 12,
122+
padding: 16,
123+
marginBottom: 12,
124+
borderLeftWidth: 4,
125+
},
126+
taskCheckbox: {
127+
width: 24,
128+
height: 24,
129+
borderRadius: 12,
130+
borderWidth: 2,
131+
borderColor: '#888',
132+
justifyContent: 'center',
133+
alignItems: 'center',
134+
backgroundColor: '#1e1e1e',
135+
},
136+
taskText: { fontSize: 16, color: '#FFFFFF', flexWrap: 'wrap' },
137+
taskTextCompleted: { textDecorationLine: 'line-through', color: '#888' },
138+
taskAssignee: { fontSize: 12, color: '#A9A9A9', marginTop: 4 },
139+
priorityIndicator: { width: 4, height: '80%', borderRadius: 2, marginLeft: 'auto' },
140+
141+
// Estilos de LogbookScreen
142+
logCard: {
143+
backgroundColor: '#1e1e1e',
144+
borderRadius: 12,
145+
padding: 16,
146+
marginBottom: 16,
147+
borderWidth: 1,
148+
borderColor: '#2a2a2a',
149+
},
150+
logHeader: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 },
151+
logAuthor: { color: '#FFFFFF', fontWeight: '600' },
152+
logTimestamp: { color: '#888', fontSize: 12 },
153+
logText: { color: '#A9A9A9', fontSize: 15, lineHeight: 22, marginBottom: 12 },
154+
logCategoryBadge: { alignSelf: 'flex-start', borderRadius: 8, paddingHorizontal: 10, paddingVertical: 4 },
155+
logCategoryText: { color: '#FFFFFF', fontSize: 12, fontWeight: 'bold' },
156+
});
157+
158+
// Exporta las pantallas para ser usadas en tu navegador
159+
export { TasksScreen, LogbookScreen };

0 commit comments

Comments
 (0)