finished assignment 3 - 100%
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { StyleSheet, Text, type TextProps } from 'react-native'
|
||||
import { Text, type TextProps } from 'react-native'
|
||||
|
||||
import { useThemeColor } from '@/hooks/use-theme-color'
|
||||
import { themedTextStyles as styles } from '@/src/styles/app-styles'
|
||||
|
||||
export type ThemedTextProps = TextProps & {
|
||||
lightColor?: string
|
||||
@@ -32,29 +33,3 @@ export function ThemedText({
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
default: {
|
||||
fontSize: 16,
|
||||
lineHeight: 24,
|
||||
},
|
||||
defaultSemiBold: {
|
||||
fontSize: 16,
|
||||
lineHeight: 24,
|
||||
fontWeight: '600',
|
||||
},
|
||||
title: {
|
||||
fontSize: 32,
|
||||
fontWeight: 'bold',
|
||||
lineHeight: 32,
|
||||
},
|
||||
subtitle: {
|
||||
fontSize: 20,
|
||||
fontWeight: 'bold',
|
||||
},
|
||||
link: {
|
||||
lineHeight: 30,
|
||||
fontSize: 16,
|
||||
color: '#0a7ea4',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user