Skip to content

Commit 1b3985a

Browse files
committed
fix: theme prop and theming in general
1 parent 5275e9c commit 1b3985a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package/src/components/Message/MessageSimple/utils/renderText.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,11 @@ const defaultMarkdownStyles: MarkdownStyle = {
134134
flexDirection: 'row',
135135
},
136136
tableHeader: {
137-
backgroundColor: '#222222',
137+
backgroundColor: '#7A7A7A',
138138
flexDirection: 'row',
139139
justifyContent: 'space-around',
140140
},
141141
tableHeaderCell: {
142-
color: '#ffffff',
143142
fontWeight: '500',
144143
},
145144
tableRow: {

package/src/contexts/themeContext/utils/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export type MarkdownStyle = Partial<{
8181
tableHeader: ViewStyle;
8282
tableHeaderCell: TextStyle;
8383
tableRow: ViewStyle;
84-
tableRowCell: ViewStyle;
84+
tableRowCell: TextStyle;
8585
tableRowLast: ViewStyle;
8686
text: TextStyle;
8787
u: TextStyle;

0 commit comments

Comments
 (0)