Skip to content

Commit 42fc0bf

Browse files
Merge pull request #118 from OpenDTU-App/78-incorrect-text-color-for-markdown
2 parents b332ea6 + 4623eac commit 42fc0bf

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/components/firmware/FirmwareListItem.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ const FirmwareListItem: FC<FirmwareListItemProps> = ({
133133
<SettingsSurface style={{ marginHorizontal: 8, flex: 1 }}>
134134
<View style={{ padding: 8, flex: 1 }}>
135135
<Markdown
136-
style={{ link: { textDecorationLine: 'none' } }}
136+
style={{
137+
body: {
138+
color: theme.colors.onSurface,
139+
},
140+
link: { textDecorationLine: 'none' },
141+
}}
137142
rules={rules}
138143
>
139144
{release.body}

src/views/navigation/screens/AboutAppScreen.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,12 @@ const AboutAppScreen: FC<PropsWithNavigation> = ({ navigation }) => {
152152
</Box>
153153
<Surface style={{ padding: 16, marginTop: 8, borderRadius: 16 }}>
154154
<Markdown
155-
style={{ link: { textDecorationLine: 'none' } }}
155+
style={{
156+
body: {
157+
color: theme.colors.onSurface,
158+
},
159+
link: { textDecorationLine: 'none' },
160+
}}
156161
rules={rules}
157162
>
158163
{releaseInfo?.body || ''}

0 commit comments

Comments
 (0)