@@ -7,7 +7,8 @@ export const StyledMarkdown = styled('a')(({ theme }) => ({
77 '&:hover' : {
88 textDecoration : 'underline'
99 } ,
10- cursor : 'pointer'
10+ cursor : 'pointer' ,
11+ fontFamily : 'inherit'
1112} ) ) ;
1213
1314// anchor style for notifications markdown content
@@ -28,31 +29,38 @@ export const StyledMarkdownP = styled('p')(({ theme }) => ({
2829
2930export const StyledMarkdownTooltipP = styled ( 'p' ) ( ( { theme } ) => ( {
3031 color : theme . palette . text . constant ?. white || text . inverse ,
31- marginBlock : '0px'
32+ marginBlock : '0px' ,
33+ fontFamily : 'inherit'
3234} ) ) ;
3335
3436export const StyledMarkdownH1 = styled ( 'h1' ) ( ( { theme } ) => ( {
35- color : theme . palette . text . default
37+ color : theme . palette . text . default ,
38+ fontFamily : 'inherit'
3639} ) ) ;
3740
3841export const StyledMarkdownH2 = styled ( 'h2' ) ( ( { theme } ) => ( {
39- color : theme . palette . text . default
42+ color : theme . palette . text . default ,
43+ fontFamily : 'inherit'
4044} ) ) ;
4145
4246export const StyledMarkdownH3 = styled ( 'h3' ) ( ( { theme } ) => ( {
43- color : theme . palette . text . default
47+ color : theme . palette . text . default ,
48+ fontFamily : 'inherit'
4449} ) ) ;
4550
4651export const StyledMarkdownH4 = styled ( 'h4' ) ( ( { theme } ) => ( {
47- color : theme . palette . text . default
52+ color : theme . palette . text . default ,
53+ fontFamily : 'inherit'
4854} ) ) ;
4955
5056export const StyledMarkdownH5 = styled ( 'h5' ) ( ( { theme } ) => ( {
51- color : theme . palette . text . default
57+ color : theme . palette . text . default ,
58+ fontFamily : 'inherit'
5259} ) ) ;
5360
5461export const StyledMarkdownH6 = styled ( 'h6' ) ( ( { theme } ) => ( {
55- color : theme . palette . text . default
62+ color : theme . palette . text . default ,
63+ fontFamily : 'inherit'
5664} ) ) ;
5765
5866export const StyledMarkdownBlockquote = styled ( 'blockquote' ) ( ( { theme } ) => ( {
@@ -67,22 +75,26 @@ export const StyledMarkdownUl = styled('ul')(({ theme }) => ({
6775
6876export const StyledMarkdownLi = styled ( 'li' ) ( ( { theme } ) => ( {
6977 color : theme . palette . text . default ,
70- ...theme . typography . textB1Regular
78+ ...theme . typography . textB1Regular ,
79+ fontFamily : 'inherit'
7180} ) ) ;
7281
7382export const StyledMarkdownTh = styled ( 'th' ) ( ( { theme } ) => ( {
7483 color : theme . palette . text . default ,
7584 ...theme . typography . textH3Medium ,
76- marginBlock : '0px'
85+ marginBlock : '0px' ,
86+ fontFamily : 'inherit'
7787} ) ) ;
7888
7989export const StyledMarkdownTd = styled ( 'td' ) ( ( { theme } ) => ( {
8090 color : theme . palette . text . default ,
8191 marginBlock : '0px' ,
82- ...theme . typography . textB1Regular
92+ ...theme . typography . textB1Regular ,
93+ fontFamily : 'inherit'
8394} ) ) ;
8495
8596export const StyledMarkdownPre = styled ( 'pre' ) ( ( { theme } ) => ( {
8697 background : theme . palette . background . code ,
87- whiteSpace : 'pre-line'
98+ whiteSpace : 'pre-line' ,
99+ fontFamily : 'inherit'
88100} ) ) ;
0 commit comments