mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-07 19:00:20 +00:00
Refactor UI styles: update color scheme for consistency across components, enhance visual hierarchy, and improve accessibility.
This commit is contained in:
1 parent
1465a55602
commit
51cd65db0a
10 files changed
+61
-72
No files matched your search
@@ -83,23 +83,23 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
marginBottom: 8,
|
marginBottom: 8,
|
||||||
},
|
},
|
||||||
clue: {fontSize: 13, color: '#6c7086', marginTop: 2},
|
clue: {fontSize: 13, color: '#9ca3af', marginTop: 2},
|
||||||
departmentText: {fontSize: 13, color: '#89b4fa', marginTop: 2, fontWeight: '600'},
|
departmentText: {fontSize: 13, color: '#bd93f9', marginTop: 2, fontWeight: '600'},
|
||||||
nameWrap: {flex: 1, marginRight: 8},
|
nameWrap: {flex: 1, marginRight: 8},
|
||||||
name: {fontSize: 15, fontWeight: '600', color: '#cdd6f4'},
|
name: {fontSize: 15, fontWeight: '600', color: '#cdd6f4'},
|
||||||
claimedText: {color: '#6c7086'},
|
claimedText: {color: '#6c7086'},
|
||||||
status: {fontSize: 13, fontWeight: '600'},
|
status: {fontSize: 13, fontWeight: '600'},
|
||||||
actions: {flexDirection: 'row', gap: 8},
|
actions: {flexDirection: 'row', gap: 8},
|
||||||
editBtn: {
|
editBtn: {
|
||||||
backgroundColor: '#89b4fa',
|
backgroundColor: '#bd93f9',
|
||||||
borderColor: '#89b4fa',
|
borderColor: '#bd93f9',
|
||||||
minHeight: 36,
|
minHeight: 36,
|
||||||
paddingHorizontal: 14,
|
paddingHorizontal: 14,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
deleteBtn: {
|
deleteBtn: {
|
||||||
backgroundColor: '#f38ba8',
|
backgroundColor: '#D92800',
|
||||||
borderColor: '#f38ba8',
|
borderColor: '#D92800',
|
||||||
minHeight: 36,
|
minHeight: 36,
|
||||||
paddingHorizontal: 14,
|
paddingHorizontal: 14,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
@@ -127,7 +127,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
claimedBtnLabel: {color: '#6c7086', fontWeight: '600', fontSize: 13},
|
claimedBtnLabel: {color: '#6c7086', fontWeight: '600', fontSize: 13},
|
||||||
selectedBtnLabel: {color: '#cdd6f4', fontWeight: '600', fontSize: 13},
|
selectedBtnLabel: {color: '#cdd6f4', fontWeight: '600', fontSize: 13},
|
||||||
selectedCard: {borderColor: '#89b4fa', borderWidth: 2},
|
selectedCard: {borderColor: '#bd93f9', borderWidth: 2},
|
||||||
claimedCard: {opacity: 0.5},
|
claimedCard: {opacity: 0.5},
|
||||||
disabledCard: {opacity: 0.45},
|
disabledCard: {opacity: 0.45},
|
||||||
disabledText: {color: '#6c7086'},
|
disabledText: {color: '#6c7086'},
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
paddingVertical: 12,
|
paddingVertical: 12,
|
||||||
borderRadius: 8,
|
|
||||||
marginHorizontal: 4,
|
marginHorizontal: 4,
|
||||||
},
|
},
|
||||||
tabActive: {
|
tabActive: {
|
||||||
@@ -122,7 +121,7 @@ const styles = StyleSheet.create({
|
|||||||
color: '#cdd6f4',
|
color: '#cdd6f4',
|
||||||
},
|
},
|
||||||
tabTextLeave: {
|
tabTextLeave: {
|
||||||
color: '#f38ba8',
|
color: '#D92800',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ const styles = StyleSheet.create({
|
|||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
},
|
},
|
||||||
codeLabel: {fontSize: 14, fontWeight: '600', color: '#bac2de'},
|
codeLabel: {fontSize: 14, fontWeight: '600', color: '#bac2de'},
|
||||||
codeValue: {fontSize: 16, fontWeight: '700', color: '#89b4fa', letterSpacing: 2},
|
codeValue: {fontSize: 16, fontWeight: '700', color: '#bd93f9', letterSpacing: 2},
|
||||||
toggleRow: {
|
toggleRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
@@ -213,10 +213,10 @@ const styles = StyleSheet.create({
|
|||||||
saveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
saveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
||||||
saveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
saveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
mapWrap: {marginTop: 16},
|
mapWrap: {marginTop: 16},
|
||||||
mapButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa'},
|
mapButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9'},
|
||||||
mapLabel: {color: '#1e1e2e', fontWeight: '600'},
|
mapLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
resetWrap: {marginTop: 30},
|
resetWrap: {marginTop: 30},
|
||||||
resetButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8'},
|
resetButton: {backgroundColor: '#86efac', borderColor: '#86efac'},
|
||||||
resetLabel: {color: '#1e1e2e', fontWeight: '600'},
|
resetLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -516,7 +516,7 @@ const styles = StyleSheet.create({
|
|||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
},
|
},
|
||||||
codeLabel: {fontSize: 14, fontWeight: '600', color: '#bac2de'},
|
codeLabel: {fontSize: 14, fontWeight: '600', color: '#bac2de'},
|
||||||
codeValue: {fontSize: 16, fontWeight: '700', color: '#89b4fa', letterSpacing: 2},
|
codeValue: {fontSize: 16, fontWeight: '700', color: '#bd93f9', letterSpacing: 2},
|
||||||
saveWrap: {marginTop: 24},
|
saveWrap: {marginTop: 24},
|
||||||
saveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
saveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
||||||
saveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
saveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
@@ -527,9 +527,9 @@ const styles = StyleSheet.create({
|
|||||||
deptCardActions: {flexDirection: 'row', gap: 6, flex: 0},
|
deptCardActions: {flexDirection: 'row', gap: 6, flex: 0},
|
||||||
deptInfoLabel: {fontSize: 12, fontWeight: '600', color: '#6c7086', marginBottom: 2},
|
deptInfoLabel: {fontSize: 12, fontWeight: '600', color: '#6c7086', marginBottom: 2},
|
||||||
deptName: {fontSize: 15, fontWeight: '700', color: '#cdd6f4'},
|
deptName: {fontSize: 15, fontWeight: '700', color: '#cdd6f4'},
|
||||||
deptCode: {fontSize: 13, fontWeight: '600', color: '#89b4fa', marginTop: 2, letterSpacing: 1},
|
deptCode: {fontSize: 13, fontWeight: '600', color: '#bd93f9', marginTop: 2, letterSpacing: 1},
|
||||||
deptDeleteButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
deptDeleteButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
||||||
deptOpenButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
deptOpenButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
||||||
deptBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
deptBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
createDeptRow: {flexDirection: 'row', gap: 10, marginTop: 12, alignItems: 'center'},
|
createDeptRow: {flexDirection: 'row', gap: 10, marginTop: 12, alignItems: 'center'},
|
||||||
createDeptButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', flex: 0, paddingHorizontal: 16},
|
createDeptButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', flex: 0, paddingHorizontal: 16},
|
||||||
@@ -545,11 +545,11 @@ const styles = StyleSheet.create({
|
|||||||
waitlistActions: {flexDirection: 'row', gap: 6},
|
waitlistActions: {flexDirection: 'row', gap: 6},
|
||||||
approveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
approveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
||||||
approveBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
approveBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
rejectButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
rejectButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 0, paddingHorizontal: 10},
|
||||||
rejectBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
rejectBtnLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
resetSection: {marginTop: 30},
|
resetSection: {marginTop: 30},
|
||||||
resetButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8'},
|
resetButton: {backgroundColor: '#D92800', borderColor: '#D92800'},
|
||||||
resetLabel: {color: '#1e1e2e', fontWeight: '600'},
|
resetLabel: {color: '#ffffff', fontWeight: '600'},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default GameSettingsScreen;
|
export default GameSettingsScreen;
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ const styles = StyleSheet.create({
|
|||||||
container: {padding: 0},
|
container: {padding: 0},
|
||||||
body: {color: '#bac2de', fontSize: 15},
|
body: {color: '#bac2de', fontSize: 15},
|
||||||
departmentTitle: {fontSize: 20, fontWeight: '700', color: '#cdd6f4', paddingHorizontal: 15, paddingTop: 15, marginBottom: 6},
|
departmentTitle: {fontSize: 20, fontWeight: '700', color: '#cdd6f4', paddingHorizontal: 15, paddingTop: 15, marginBottom: 6},
|
||||||
openLabel: {fontSize: 13, fontWeight: '700', color: '#89b4fa'},
|
openLabel: {fontSize: 13, fontWeight: '700', color: '#bd93f9'},
|
||||||
tabRow: {
|
tabRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
borderBottomWidth: 1,
|
borderBottomWidth: 1,
|
||||||
@@ -426,10 +426,10 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
tabButtonActive: {
|
tabButtonActive: {
|
||||||
borderBottomWidth: 2,
|
borderBottomWidth: 2,
|
||||||
borderBottomColor: '#89b4fa',
|
borderBottomColor: '#bd93f9',
|
||||||
},
|
},
|
||||||
tabLabel: {fontSize: 15, fontWeight: '600', color: '#6c7086'},
|
tabLabel: {fontSize: 15, fontWeight: '600', color: '#6c7086'},
|
||||||
tabLabelActive: {color: '#89b4fa'},
|
tabLabelActive: {color: '#bd93f9'},
|
||||||
listSection: {flex: 1, paddingHorizontal: 15, paddingTop: 10},
|
listSection: {flex: 1, paddingHorizontal: 15, paddingTop: 10},
|
||||||
rankRow: {
|
rankRow: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
@@ -452,10 +452,10 @@ const styles = StyleSheet.create({
|
|||||||
emptyText: {color: '#6c7086', textAlign: 'center', marginTop: 30, fontSize: 14},
|
emptyText: {color: '#6c7086', textAlign: 'center', marginTop: 30, fontSize: 14},
|
||||||
deleteTeamWrap: {marginTop: 8, paddingLeft: 42, flexDirection: 'row', gap: 8},
|
deleteTeamWrap: {marginTop: 8, paddingLeft: 42, flexDirection: 'row', gap: 8},
|
||||||
resetTeamButton: {backgroundColor: '#f4a460', borderColor: '#f4a460', minHeight: 36, flex: 1},
|
resetTeamButton: {backgroundColor: '#f4a460', borderColor: '#f4a460', minHeight: 36, flex: 1},
|
||||||
deleteTeamButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 1},
|
deleteTeamButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 1},
|
||||||
deleteTeamLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
deleteTeamLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
resetMiniButton: {
|
resetMiniButton: {
|
||||||
backgroundColor: '#f4a460',
|
backgroundColor: '#86efac',
|
||||||
borderRadius: 6,
|
borderRadius: 6,
|
||||||
paddingHorizontal: 10,
|
paddingHorizontal: 10,
|
||||||
paddingVertical: 4,
|
paddingVertical: 4,
|
||||||
|
|||||||
@@ -91,13 +91,13 @@ const styles = StyleSheet.create({
|
|||||||
backgroundColor: '#313244',
|
backgroundColor: '#313244',
|
||||||
},
|
},
|
||||||
errorText: {
|
errorText: {
|
||||||
color: '#f38ba8',
|
color: '#D92800',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
},
|
},
|
||||||
submitButton: {
|
submitButton: {
|
||||||
backgroundColor: '#89b4fa',
|
backgroundColor: '#bd93f9',
|
||||||
borderColor: '#89b4fa',
|
borderColor: '#bd93f9',
|
||||||
},
|
},
|
||||||
submitText: {
|
submitText: {
|
||||||
color: '#1e1e2e',
|
color: '#1e1e2e',
|
||||||
@@ -105,7 +105,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
linkText: {
|
linkText: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
color: '#89b4fa',
|
color: '#bd93f9',
|
||||||
fontWeight: '600',
|
fontWeight: '600',
|
||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -751,7 +751,7 @@ const styles = StyleSheet.create({
|
|||||||
center: {justifyContent: 'center', alignItems: 'center'},
|
center: {justifyContent: 'center', alignItems: 'center'},
|
||||||
containerMap: {padding: 0},
|
containerMap: {padding: 0},
|
||||||
mapContainer: {height: 200},
|
mapContainer: {height: 200},
|
||||||
error: {color: '#f38ba8', fontSize: 15},
|
error: {color: '#D92800', fontSize: 15},
|
||||||
loadingText: {color: '#6c7086', fontSize: 14, marginTop: 10},
|
loadingText: {color: '#6c7086', fontSize: 14, marginTop: 10},
|
||||||
inputRow: {flexDirection: 'row', gap: 10, marginBottom: 15, width: '100%', paddingHorizontal: 20},
|
inputRow: {flexDirection: 'row', gap: 10, marginBottom: 15, width: '100%', paddingHorizontal: 20},
|
||||||
fullRow: {width: '100%', paddingHorizontal: 20},
|
fullRow: {width: '100%', paddingHorizontal: 20},
|
||||||
@@ -765,18 +765,17 @@ const styles = StyleSheet.create({
|
|||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: '#cdd6f4',
|
color: '#cdd6f4',
|
||||||
backgroundColor: '#313244',
|
backgroundColor: '#313244',
|
||||||
},
|
}, joinButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9', flex: 0, paddingHorizontal: 20},
|
||||||
joinButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa', flex: 0, paddingHorizontal: 20},
|
|
||||||
joinLabel: {color: '#1e1e2e', fontWeight: '600'},
|
joinLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
createButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
createButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
||||||
createLabel: {color: '#1e1e2e', fontWeight: '600'},
|
createLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
bizTitle: {fontSize: 22, fontWeight: '700', color: '#cdd6f4', marginBottom: 6, textAlign: 'center'},
|
bizTitle: {fontSize: 22, fontWeight: '700', color: '#cdd6f4', marginBottom: 6, textAlign: 'center'},
|
||||||
bizSubtitle: {fontSize: 14, color: '#bac2de', textAlign: 'center', marginBottom: 20, paddingHorizontal: 20},
|
bizSubtitle: {fontSize: 14, color: '#bac2de', textAlign: 'center', marginBottom: 20, paddingHorizontal: 20},
|
||||||
joinError: {color: '#f38ba8', textAlign: 'center', marginTop: 8, marginBottom: 4, fontSize: 14, paddingHorizontal: 20},
|
joinError: {color: '#D92800', textAlign: 'center', marginTop: 8, marginBottom: 4, fontSize: 14, paddingHorizontal: 20},
|
||||||
backButton: {backgroundColor: '#6c7086', borderColor: '#6c7086'},
|
backButton: {backgroundColor: '#6c7086', borderColor: '#6c7086'},
|
||||||
backLabel: {color: '#cdd6f4', fontWeight: '600'},
|
backLabel: {color: '#cdd6f4', fontWeight: '600'},
|
||||||
warning: {
|
warning: {
|
||||||
color: '#f38ba8',
|
color: '#D92800',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
paddingVertical: 8,
|
paddingVertical: 8,
|
||||||
@@ -802,7 +801,7 @@ const styles = StyleSheet.create({
|
|||||||
borderBottomWidth: 1,
|
borderBottomWidth: 1,
|
||||||
borderBottomColor: '#45475a',
|
borderBottomColor: '#45475a',
|
||||||
},
|
},
|
||||||
createCacheButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa', flex: 0},
|
createCacheButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9', flex: 0},
|
||||||
createCacheLabel: {color: '#1e1e2e', fontWeight: '600'},
|
createCacheLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
cacheListWrap: {flex: 1, backgroundColor: '#1e1e2e'},
|
cacheListWrap: {flex: 1, backgroundColor: '#1e1e2e'},
|
||||||
cacheListContent: {paddingHorizontal: 12, paddingTop: 10, paddingBottom: 12},
|
cacheListContent: {paddingHorizontal: 12, paddingTop: 10, paddingBottom: 12},
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ const styles = StyleSheet.create({
|
|||||||
paddingHorizontal: 15,
|
paddingHorizontal: 15,
|
||||||
paddingTop: 15,
|
paddingTop: 15,
|
||||||
},
|
},
|
||||||
openLabel: {fontSize: 13, fontWeight: '700', color: '#89b4fa'},
|
openLabel: {fontSize: 13, fontWeight: '700', color: '#bd93f9'},
|
||||||
listSection: {flex: 1, paddingHorizontal: 15},
|
listSection: {flex: 1, paddingHorizontal: 15},
|
||||||
emptyText: {color: '#6c7086', textAlign: 'center', marginTop: 30, fontSize: 14},
|
emptyText: {color: '#6c7086', textAlign: 'center', marginTop: 30, fontSize: 14},
|
||||||
playerRow: {
|
playerRow: {
|
||||||
@@ -307,18 +307,18 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
playerName: {fontSize: 15, fontWeight: '600', color: '#cdd6f4', flex: 1},
|
playerName: {fontSize: 15, fontWeight: '600', color: '#cdd6f4', flex: 1},
|
||||||
playerMeta: {flexDirection: 'row', alignItems: 'center', gap: 6},
|
playerMeta: {flexDirection: 'row', alignItems: 'center', gap: 6},
|
||||||
leaderBadge: {fontSize: 11, color: '#89b4fa', fontWeight: '700'},
|
leaderBadge: {fontSize: 11, color: '#bd93f9', fontWeight: '700'},
|
||||||
teamCodeBadge: {fontSize: 12, fontWeight: '700', color: '#a6e3a1', letterSpacing: 1},
|
teamCodeBadge: {fontSize: 12, fontWeight: '700', color: '#a6e3a1', letterSpacing: 1},
|
||||||
adminBadge: {fontSize: 12, fontWeight: '700', color: '#f38ba8'},
|
adminBadge: {fontSize: 12, fontWeight: '700', color: '#D92800'},
|
||||||
waitlistBadge: {fontSize: 11, fontWeight: '600', color: '#f4a460'},
|
waitlistBadge: {fontSize: 11, fontWeight: '600', color: '#f4a460'},
|
||||||
actionRow: {flexDirection: 'row', gap: 8},
|
actionRow: {flexDirection: 'row', gap: 8},
|
||||||
resetButton: {backgroundColor: '#f4a460', borderColor: '#f4a460', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
resetButton: {backgroundColor: '#86efac', borderColor: '#86efac', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
||||||
removeButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
removeButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
||||||
actionLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
actionLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
departmentName: {fontSize: 14, color: '#6c7086', fontStyle: 'italic'},
|
departmentName: {fontSize: 14, color: '#6c7086', fontStyle: 'italic'},
|
||||||
waitlistCard: {backgroundColor: 'rgba(243, 139, 168, 0.15)', borderColor: '#f38ba8'},
|
waitlistCard: {backgroundColor: 'rgba(217, 40, 0, 0.15)', borderColor: '#D92800'},
|
||||||
approveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
approveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
||||||
denyButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
denyButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 1, paddingHorizontal: 10},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default PlayersScreen;
|
export default PlayersScreen;
|
||||||
@@ -145,8 +145,8 @@ const styles = StyleSheet.create({
|
|||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
},
|
},
|
||||||
typeButtonActive: {
|
typeButtonActive: {
|
||||||
backgroundColor: '#89b4fa',
|
backgroundColor: '#bd93f9',
|
||||||
borderColor: '#89b4fa',
|
borderColor: '#bd93f9',
|
||||||
},
|
},
|
||||||
typeText: {
|
typeText: {
|
||||||
color: '#bac2de',
|
color: '#bac2de',
|
||||||
@@ -156,13 +156,13 @@ const styles = StyleSheet.create({
|
|||||||
color: '#1e1e2e',
|
color: '#1e1e2e',
|
||||||
},
|
},
|
||||||
errorText: {
|
errorText: {
|
||||||
color: '#f38ba8',
|
color: '#D92800',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
marginTop: 5,
|
marginTop: 5,
|
||||||
},
|
},
|
||||||
submitButton: {
|
submitButton: {
|
||||||
backgroundColor: '#89b4fa',
|
backgroundColor: '#bd93f9',
|
||||||
borderColor: '#89b4fa',
|
borderColor: '#bd93f9',
|
||||||
},
|
},
|
||||||
submitText: {
|
submitText: {
|
||||||
color: '#1e1e2e',
|
color: '#1e1e2e',
|
||||||
@@ -170,7 +170,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
linkText: {
|
linkText: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
color: '#89b4fa',
|
color: '#bd93f9',
|
||||||
fontWeight: '600',
|
fontWeight: '600',
|
||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -298,9 +298,9 @@ const styles = StyleSheet.create({
|
|||||||
center: {justifyContent: 'center', alignItems: 'center'},
|
center: {justifyContent: 'center', alignItems: 'center'},
|
||||||
container: {padding: 0},
|
container: {padding: 0},
|
||||||
disabledWrap: {paddingHorizontal: 30, alignItems: 'center', opacity: 0.45},
|
disabledWrap: {paddingHorizontal: 30, alignItems: 'center', opacity: 0.45},
|
||||||
disabledTitle: {fontSize: 20, fontWeight: '700', color: '#6c7086', marginBottom: 10, textAlign: 'center'},
|
disabledTitle: {fontSize: 20, fontWeight: '700', color: '#ffffff', marginBottom: 10, textAlign: 'center'},
|
||||||
disabledBody: {fontSize: 15, color: '#6c7086', textAlign: 'center'},
|
disabledBody: {fontSize: 15, color: '#ffffff', textAlign: 'center'},
|
||||||
notInGameText: {color: '#6c7086', fontSize: 15, fontWeight: '600', marginBottom: 16, textAlign: 'center', paddingHorizontal: 20},
|
notInGameText: {color: '#ffffff', fontSize: 15, fontWeight: '600', marginBottom: 16, textAlign: 'center', paddingHorizontal: 20},
|
||||||
inputDisabled: {backgroundColor: '#313244', opacity: 0.5},
|
inputDisabled: {backgroundColor: '#313244', opacity: 0.5},
|
||||||
inputRow: {flexDirection: 'row', gap: 10, marginBottom: 15, width: '100%', paddingHorizontal: 20},
|
inputRow: {flexDirection: 'row', gap: 10, marginBottom: 15, width: '100%', paddingHorizontal: 20},
|
||||||
fullRow: {width: '100%', paddingHorizontal: 20},
|
fullRow: {width: '100%', paddingHorizontal: 20},
|
||||||
@@ -312,17 +312,17 @@ const styles = StyleSheet.create({
|
|||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: '#cdd6f4',
|
color: '#ffffff',
|
||||||
backgroundColor: '#313244',
|
backgroundColor: '#313244',
|
||||||
},
|
},
|
||||||
joinButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa', flex: 0, paddingHorizontal: 20},
|
joinButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9', flex: 0, paddingHorizontal: 20},
|
||||||
joinLabel: {color: '#1e1e2e', fontWeight: '600'},
|
joinLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
createButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
createButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1'},
|
||||||
createLabel: {color: '#1e1e2e', fontWeight: '600'},
|
createLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
waitlistText: {
|
waitlistText: {
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
fontWeight: '700',
|
fontWeight: '700',
|
||||||
color: '#cdd6f4',
|
color: '#ffffff',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
paddingHorizontal: 30,
|
paddingHorizontal: 30,
|
||||||
},
|
},
|
||||||
@@ -334,10 +334,10 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 8,
|
gap: 8,
|
||||||
},
|
},
|
||||||
teamCodeLabel: {color: '#bac2de', fontSize: 15, fontWeight: '600'},
|
teamCodeLabel: {color: '#ffffff', fontSize: 15, fontWeight: '600'},
|
||||||
teamCodeValue: {color: '#cdd6f4', fontSize: 17, fontWeight: '700', letterSpacing: 2},
|
teamCodeValue: {color: '#ffffff', fontSize: 17, fontWeight: '700', letterSpacing: 2},
|
||||||
teamNameSection: {paddingHorizontal: 15, paddingVertical: 10, borderBottomWidth: 1, borderBottomColor: '#45475a'},
|
teamNameSection: {paddingHorizontal: 15, paddingVertical: 10, borderBottomWidth: 1, borderBottomColor: '#45475a'},
|
||||||
teamNameText: {fontSize: 18, fontWeight: '700', color: '#cdd6f4', flex: 1},
|
teamNameText: {fontSize: 18, fontWeight: '700', color: '#ffffff', flex: 1},
|
||||||
renameRow: {flexDirection: 'row', alignItems: 'center', gap: 8},
|
renameRow: {flexDirection: 'row', alignItems: 'center', gap: 8},
|
||||||
renameInput: {
|
renameInput: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
@@ -347,10 +347,10 @@ const styles = StyleSheet.create({
|
|||||||
paddingHorizontal: 12,
|
paddingHorizontal: 12,
|
||||||
paddingVertical: 8,
|
paddingVertical: 8,
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: '#cdd6f4',
|
color: '#ffffff',
|
||||||
backgroundColor: '#313244',
|
backgroundColor: '#313244',
|
||||||
},
|
},
|
||||||
renameButton: {backgroundColor: '#89b4fa', borderColor: '#89b4fa', flex: 0, minHeight: 36, paddingHorizontal: 14},
|
renameButton: {backgroundColor: '#bd93f9', borderColor: '#bd93f9', flex: 0, minHeight: 36, paddingHorizontal: 14},
|
||||||
renameLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
renameLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
renameSaveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', flex: 0, minHeight: 36, paddingHorizontal: 12},
|
renameSaveButton: {backgroundColor: '#a6e3a1', borderColor: '#a6e3a1', flex: 0, minHeight: 36, paddingHorizontal: 12},
|
||||||
renameSaveLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
renameSaveLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
@@ -363,24 +363,15 @@ const styles = StyleSheet.create({
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
},
|
},
|
||||||
memberInfo: {flex: 1, flexDirection: 'row', alignItems: 'center', gap: 6},
|
memberInfo: {flex: 1, flexDirection: 'row', alignItems: 'center', gap: 6},
|
||||||
memberName: {fontSize: 16, color: '#cdd6f4', fontWeight: '600'},
|
memberName: {fontSize: 16, color: '#ffffff', fontWeight: '600'},
|
||||||
leaderBadge: {fontSize: 12, color: '#89b4fa', fontWeight: '700'},
|
leaderBadge: {fontSize: 12, color: '#bd93f9', fontWeight: '700'},
|
||||||
kickButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8', minHeight: 36, flex: 0, paddingHorizontal: 14},
|
kickButton: {backgroundColor: '#D92800', borderColor: '#D92800', minHeight: 36, flex: 0, paddingHorizontal: 14},
|
||||||
kickLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
kickLabel: {color: '#1e1e2e', fontWeight: '600', fontSize: 13},
|
||||||
emptyText: {color: '#6c7086', textAlign: 'center', marginTop: 30, fontSize: 14},
|
emptyText: {color: '#ffffff', textAlign: 'center', marginTop: 30, fontSize: 14},
|
||||||
leaveWrap: {paddingHorizontal: 0, paddingTop: 10, paddingBottom: 16},
|
leaveWrap: {paddingHorizontal: 0, paddingTop: 10, paddingBottom: 16},
|
||||||
leaveButton: {backgroundColor: '#f38ba8', borderColor: '#f38ba8'},
|
leaveButton: {backgroundColor: '#D92800', borderColor: '#D92800'},
|
||||||
leaveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
leaveLabel: {color: '#1e1e2e', fontWeight: '600'},
|
||||||
selfCard: {backgroundColor: 'rgba(166, 227, 161, 0.15)', borderColor: '#a6e3a1'},
|
selfCard: {backgroundColor: 'rgba(166, 227, 161, 0.15)', borderColor: '#a6e3a1'},
|
||||||
});
|
});
|
||||||
kickButton: {backgroundColor: '#dc2626', borderColor: '#dc2626', minHeight: 36, flex: 0, paddingHorizontal: 14},
|
|
||||||
kickLabel: {color: '#ffffff', fontWeight: '600', fontSize: 13},
|
|
||||||
emptyText: {color: '#9ca3af', textAlign: 'center', marginTop: 30, fontSize: 14},
|
|
||||||
leaveWrap: {paddingHorizontal: 0, paddingTop: 10, paddingBottom: 16},
|
|
||||||
leaveButton: {backgroundColor: '#dc2626', borderColor: '#dc2626'},
|
|
||||||
leaveLabel: {color: '#ffffff', fontWeight: '600'},
|
|
||||||
// Current user self-highlight (light green card)
|
|
||||||
selfCard: {backgroundColor: '#dcfce7', borderColor: '#86efac'},
|
|
||||||
});
|
|
||||||
|
|
||||||
export default TeamScreen;
|
export default TeamScreen;
|
||||||
Reference in new issue
Block a user