UI: Larger touch targets and shift components up for better ergonomics
This commit is contained in:
@@ -90,7 +90,7 @@ const styles = StyleSheet.create({
|
|||||||
fontStyle: 'italic',
|
fontStyle: 'italic',
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
fontSize: 13,
|
fontSize: 16,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
color: THEME.colors.textMuted,
|
color: THEME.colors.textMuted,
|
||||||
letterSpacing: 1,
|
letterSpacing: 1,
|
||||||
@@ -101,9 +101,9 @@ const styles = StyleSheet.create({
|
|||||||
gap: 8,
|
gap: 8,
|
||||||
},
|
},
|
||||||
frameThumb: {
|
frameThumb: {
|
||||||
width: 80,
|
width: 120,
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
padding: 4,
|
padding: 6,
|
||||||
borderRadius: THEME.borderRadius.sm,
|
borderRadius: THEME.borderRadius.sm,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: 'transparent',
|
borderColor: 'transparent',
|
||||||
@@ -113,8 +113,8 @@ const styles = StyleSheet.create({
|
|||||||
backgroundColor: 'rgba(40, 223, 255, 0.1)',
|
backgroundColor: 'rgba(40, 223, 255, 0.1)',
|
||||||
},
|
},
|
||||||
noFrameBox: {
|
noFrameBox: {
|
||||||
width: 66,
|
width: 100,
|
||||||
height: 44,
|
height: 66,
|
||||||
backgroundColor: THEME.colors.surfaceSecondary,
|
backgroundColor: THEME.colors.surfaceSecondary,
|
||||||
borderRadius: 4,
|
borderRadius: 4,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
@@ -123,18 +123,18 @@ const styles = StyleSheet.create({
|
|||||||
borderColor: THEME.colors.border,
|
borderColor: THEME.colors.border,
|
||||||
},
|
},
|
||||||
noFrameText: {
|
noFrameText: {
|
||||||
fontSize: 20,
|
fontSize: 28,
|
||||||
color: THEME.colors.textMuted,
|
color: THEME.colors.textMuted,
|
||||||
},
|
},
|
||||||
thumbImage: {
|
thumbImage: {
|
||||||
width: 66,
|
width: 100,
|
||||||
height: 44,
|
height: 66,
|
||||||
borderRadius: 4,
|
borderRadius: 4,
|
||||||
},
|
},
|
||||||
frameName: {
|
frameName: {
|
||||||
fontSize: 10,
|
fontSize: 13,
|
||||||
color: THEME.colors.textMuted,
|
color: THEME.colors.textMuted,
|
||||||
marginTop: 3,
|
marginTop: 6,
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -93,13 +93,13 @@ export default function StickerTray({
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
bottom: 0,
|
bottom: 40,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
backgroundColor: 'rgba(13, 13, 26, 0.95)',
|
backgroundColor: 'rgba(13, 13, 26, 0.95)',
|
||||||
borderTopWidth: 1,
|
borderTopWidth: 1,
|
||||||
borderTopColor: THEME.colors.border,
|
borderTopColor: THEME.colors.border,
|
||||||
paddingBottom: 8,
|
paddingBottom: 16,
|
||||||
zIndex: 500,
|
zIndex: 500,
|
||||||
},
|
},
|
||||||
header: {
|
header: {
|
||||||
@@ -110,7 +110,7 @@ const styles = StyleSheet.create({
|
|||||||
paddingVertical: 6,
|
paddingVertical: 6,
|
||||||
},
|
},
|
||||||
headerTitle: {
|
headerTitle: {
|
||||||
fontSize: 13,
|
fontSize: 16,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
color: THEME.colors.textMuted,
|
color: THEME.colors.textMuted,
|
||||||
letterSpacing: 1,
|
letterSpacing: 1,
|
||||||
@@ -128,16 +128,16 @@ const styles = StyleSheet.create({
|
|||||||
dateBtn: {
|
dateBtn: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 6,
|
gap: 8,
|
||||||
backgroundColor: THEME.colors.surfaceSecondary,
|
backgroundColor: THEME.colors.surfaceSecondary,
|
||||||
paddingVertical: 5,
|
paddingVertical: 10,
|
||||||
paddingHorizontal: 10,
|
paddingHorizontal: 16,
|
||||||
borderRadius: THEME.borderRadius.sm,
|
borderRadius: THEME.borderRadius.sm,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: THEME.colors.border,
|
borderColor: THEME.colors.border,
|
||||||
},
|
},
|
||||||
dateBtnText: {
|
dateBtnText: {
|
||||||
fontSize: 12,
|
fontSize: 15,
|
||||||
color: THEME.colors.accent,
|
color: THEME.colors.accent,
|
||||||
fontWeight: '600',
|
fontWeight: '600',
|
||||||
},
|
},
|
||||||
@@ -146,15 +146,15 @@ const styles = StyleSheet.create({
|
|||||||
paddingVertical: 4,
|
paddingVertical: 4,
|
||||||
},
|
},
|
||||||
emojiBtn: {
|
emojiBtn: {
|
||||||
width: 44,
|
width: 60,
|
||||||
height: 44,
|
height: 60,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
marginHorizontal: 2,
|
marginHorizontal: 4,
|
||||||
borderRadius: THEME.borderRadius.sm,
|
borderRadius: THEME.borderRadius.sm,
|
||||||
backgroundColor: 'rgba(255, 255, 255, 0.05)',
|
backgroundColor: 'rgba(255, 255, 255, 0.05)',
|
||||||
},
|
},
|
||||||
emojiText: {
|
emojiText: {
|
||||||
fontSize: 28,
|
fontSize: 40,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ export default function PreviewScreen({
|
|||||||
>
|
>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon={faFaceGrinStars}
|
icon={faFaceGrinStars}
|
||||||
size={16}
|
size={22}
|
||||||
color={showStickerTray ? THEME.colors.text : THEME.colors.accent}
|
color={showStickerTray ? THEME.colors.text : THEME.colors.accent}
|
||||||
/>
|
/>
|
||||||
<Text style={[styles.editToolText, showStickerTray && styles.editToolTextActive]}>
|
<Text style={[styles.editToolText, showStickerTray && styles.editToolTextActive]}>
|
||||||
@@ -612,7 +612,7 @@ export default function PreviewScreen({
|
|||||||
>
|
>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon={faBorderAll}
|
icon={faBorderAll}
|
||||||
size={16}
|
size={22}
|
||||||
color={selectedFrameId !== null ? THEME.colors.text : THEME.colors.accent}
|
color={selectedFrameId !== null ? THEME.colors.text : THEME.colors.accent}
|
||||||
/>
|
/>
|
||||||
<Text style={[styles.editToolText, selectedFrameId !== null && styles.editToolTextActive]}>
|
<Text style={[styles.editToolText, selectedFrameId !== null && styles.editToolTextActive]}>
|
||||||
@@ -692,9 +692,10 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
previewPanel: {
|
previewPanel: {
|
||||||
flex: 1.2,
|
flex: 1.2,
|
||||||
justifyContent: 'center',
|
justifyContent: 'flex-start',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
padding: THEME.spacing.md,
|
padding: THEME.spacing.md,
|
||||||
|
paddingTop: 60,
|
||||||
backgroundColor: '#030308',
|
backgroundColor: '#030308',
|
||||||
},
|
},
|
||||||
viewShotContainer: {
|
viewShotContainer: {
|
||||||
@@ -803,9 +804,9 @@ const styles = StyleSheet.create({
|
|||||||
editToolBtn: {
|
editToolBtn: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 6,
|
gap: 8,
|
||||||
paddingVertical: 8,
|
paddingVertical: 12,
|
||||||
paddingHorizontal: 14,
|
paddingHorizontal: 20,
|
||||||
borderRadius: THEME.borderRadius.round,
|
borderRadius: THEME.borderRadius.round,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: THEME.colors.border,
|
borderColor: THEME.colors.border,
|
||||||
@@ -816,7 +817,7 @@ const styles = StyleSheet.create({
|
|||||||
borderColor: THEME.colors.accent,
|
borderColor: THEME.colors.accent,
|
||||||
},
|
},
|
||||||
editToolText: {
|
editToolText: {
|
||||||
fontSize: 13,
|
fontSize: 16,
|
||||||
fontWeight: '600',
|
fontWeight: '600',
|
||||||
color: THEME.colors.accent,
|
color: THEME.colors.accent,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user