mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Implemented new dark theme
This commit is contained in:
@ -9,7 +9,7 @@ import ComposeContext from '../../utils/createContext'
|
||||
const ComposeTextInput: React.FC = () => {
|
||||
const { composeState, composeDispatch } = useContext(ComposeContext)
|
||||
const { t } = useTranslation('screenCompose')
|
||||
const { mode, theme } = useTheme()
|
||||
const { colors, mode } = useTheme()
|
||||
|
||||
return (
|
||||
<TextInput
|
||||
@ -17,15 +17,15 @@ const ComposeTextInput: React.FC = () => {
|
||||
style={[
|
||||
styles.textInput,
|
||||
{
|
||||
color: theme.primaryDefault,
|
||||
borderBottomColor: theme.border
|
||||
color: colors.primaryDefault,
|
||||
borderBottomColor: colors.border
|
||||
}
|
||||
]}
|
||||
autoFocus
|
||||
enablesReturnKeyAutomatically
|
||||
multiline
|
||||
placeholder={t('content.root.header.textInput.placeholder')}
|
||||
placeholderTextColor={theme.secondary}
|
||||
placeholderTextColor={colors.secondary}
|
||||
onChangeText={content =>
|
||||
formatText({
|
||||
textInput: 'text',
|
||||
|
Reference in New Issue
Block a user