Skip to content

Commit

Permalink
Extend MarkdownStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Jan 29, 2024
1 parent 1617ec0 commit 4ff2767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MarkdownTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ function makeDefaultMarkdownStyle(): MarkdownStyle {
backgroundColor: 'lightgray',
},
mentionHere: {
backgroundColor: 'yellow',
backgroundColor: 'lime',
color: 'green',
},
mentionUser: {
backgroundColor: 'cyan',
color: 'blue',
},
};
}
Expand Down
2 changes: 2 additions & 0 deletions src/MarkdownTextInputDecoratorViewNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ interface MarkdownStyle {
};
mentionHere: {
backgroundColor: ColorValue;
color: ColorValue;
};
mentionUser: {
backgroundColor: ColorValue;
color: ColorValue;
};
}

Expand Down

0 comments on commit 4ff2767

Please sign in to comment.