mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
fix: show the location and meeting link text in dark mode #82
This commit is contained in:
@@ -723,7 +723,7 @@ export function EventModal({
|
|||||||
onChangeText={setLocation}
|
onChangeText={setLocation}
|
||||||
placeholder={t('calendar.form.location_placeholder', 'Place or address')}
|
placeholder={t('calendar.form.location_placeholder', 'Place or address')}
|
||||||
placeholderTextColor={c.mutedForeground}
|
placeholderTextColor={c.mutedForeground}
|
||||||
style={styles.fieldButton}
|
style={styles.fieldInput}
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
@@ -736,7 +736,7 @@ export function EventModal({
|
|||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
autoCorrect={false}
|
autoCorrect={false}
|
||||||
keyboardType="url"
|
keyboardType="url"
|
||||||
style={styles.fieldButton}
|
style={styles.fieldInput}
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
@@ -944,6 +944,19 @@ function makeStyles(c: ThemePalette) {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
},
|
},
|
||||||
fieldText: { ...typography.body, color: c.text },
|
fieldText: { ...typography.body, color: c.text },
|
||||||
|
// A text field in the field frame. Without a colour of its own a
|
||||||
|
// TextInput draws black, invisible on the dark background (#82).
|
||||||
|
fieldInput: {
|
||||||
|
minHeight: 40,
|
||||||
|
paddingHorizontal: spacing.md,
|
||||||
|
paddingVertical: spacing.sm,
|
||||||
|
borderRadius: radius.sm,
|
||||||
|
borderWidth: 1,
|
||||||
|
borderColor: c.border,
|
||||||
|
backgroundColor: c.background,
|
||||||
|
...typography.body,
|
||||||
|
color: c.text,
|
||||||
|
},
|
||||||
limitRow: { flexDirection: 'row', alignItems: 'flex-start', gap: spacing.xs },
|
limitRow: { flexDirection: 'row', alignItems: 'flex-start', gap: spacing.xs },
|
||||||
limitText: { ...typography.caption, color: c.warning, flex: 1 },
|
limitText: { ...typography.caption, color: c.warning, flex: 1 },
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user