// Styles.js
const styles = {
container: {
flex: 1,
alignItems: 'center',
backgroundColor: '#F5F5F5',
padding: 20,
},
errorText: {
color: 'red',
fontSize: 23,
marginTop: 10,
},
heading: {
fontSize: 30,
marginBottom: 20,
fontWeight: 'bold',
color: '#333',
},
inputContainer: {
flexDirection: 'row',
alignItems: 'center',
marginBottom: 20,
backgroundColor: '#FFF',
borderRadius: 10,
shadowColor: 'grey',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 3,
},
input: {
flex: 1,
padding: 15,
fontSize: 18,
},
button: {
backgroundColor: '#007BFF',
padding: 15,
marginLeft: 10,
borderRadius: 10,
},
buttonText: {
color: '#fff',
fontWeight: 'bold',
fontSize: 18,
},
resultsContainer: {
alignItems: 'center',
backgroundColor: '#FFF',
borderRadius: 10,
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 3,
padding: 20,
height: 300,
},
word: {
fontSize: 24,
fontWeight: 'bold',
marginBottom: 10,
},
playButton: {
backgroundColor: '#2ecc71',
width: 60,
height: 60,
borderRadius: 30,
alignItems: 'center',
justifyContent: 'center',
marginTop: 20,
},
playButtonText: {
color: '#fff',
fontSize: 20,
fontWeight: 'bold',
},
resultTextContainer: {
alignItems: 'center',
paddingTop: 20,
},
resultText: {
fontSize: 18,
marginBottom: 10,
},
clearButton: {
backgroundColor: '#FF4A4A',
padding: 15,
marginTop: 20,
borderRadius: 10,
},
clearButtonText: {
color: '#fff',
fontWeight: 'bold',
fontSize: 18,
},
};
export default styles;