@@ -7,7 +7,8 @@ export const StyledMarkdown = styled('a')(({ theme }) => ({
7
7
'&:hover' : {
8
8
textDecoration : 'underline'
9
9
} ,
10
- cursor : 'pointer'
10
+ cursor : 'pointer' ,
11
+ fontFamily : 'inherit'
11
12
} ) ) ;
12
13
13
14
// anchor style for notifications markdown content
@@ -28,31 +29,38 @@ export const StyledMarkdownP = styled('p')(({ theme }) => ({
28
29
29
30
export const StyledMarkdownTooltipP = styled ( 'p' ) ( ( { theme } ) => ( {
30
31
color : theme . palette . text . constant ?. white || text . inverse ,
31
- marginBlock : '0px'
32
+ marginBlock : '0px' ,
33
+ fontFamily : 'inherit'
32
34
} ) ) ;
33
35
34
36
export const StyledMarkdownH1 = styled ( 'h1' ) ( ( { theme } ) => ( {
35
- color : theme . palette . text . default
37
+ color : theme . palette . text . default ,
38
+ fontFamily : 'inherit'
36
39
} ) ) ;
37
40
38
41
export const StyledMarkdownH2 = styled ( 'h2' ) ( ( { theme } ) => ( {
39
- color : theme . palette . text . default
42
+ color : theme . palette . text . default ,
43
+ fontFamily : 'inherit'
40
44
} ) ) ;
41
45
42
46
export const StyledMarkdownH3 = styled ( 'h3' ) ( ( { theme } ) => ( {
43
- color : theme . palette . text . default
47
+ color : theme . palette . text . default ,
48
+ fontFamily : 'inherit'
44
49
} ) ) ;
45
50
46
51
export const StyledMarkdownH4 = styled ( 'h4' ) ( ( { theme } ) => ( {
47
- color : theme . palette . text . default
52
+ color : theme . palette . text . default ,
53
+ fontFamily : 'inherit'
48
54
} ) ) ;
49
55
50
56
export const StyledMarkdownH5 = styled ( 'h5' ) ( ( { theme } ) => ( {
51
- color : theme . palette . text . default
57
+ color : theme . palette . text . default ,
58
+ fontFamily : 'inherit'
52
59
} ) ) ;
53
60
54
61
export const StyledMarkdownH6 = styled ( 'h6' ) ( ( { theme } ) => ( {
55
- color : theme . palette . text . default
62
+ color : theme . palette . text . default ,
63
+ fontFamily : 'inherit'
56
64
} ) ) ;
57
65
58
66
export const StyledMarkdownBlockquote = styled ( 'blockquote' ) ( ( { theme } ) => ( {
@@ -67,22 +75,26 @@ export const StyledMarkdownUl = styled('ul')(({ theme }) => ({
67
75
68
76
export const StyledMarkdownLi = styled ( 'li' ) ( ( { theme } ) => ( {
69
77
color : theme . palette . text . default ,
70
- ...theme . typography . textB1Regular
78
+ ...theme . typography . textB1Regular ,
79
+ fontFamily : 'inherit'
71
80
} ) ) ;
72
81
73
82
export const StyledMarkdownTh = styled ( 'th' ) ( ( { theme } ) => ( {
74
83
color : theme . palette . text . default ,
75
84
...theme . typography . textH3Medium ,
76
- marginBlock : '0px'
85
+ marginBlock : '0px' ,
86
+ fontFamily : 'inherit'
77
87
} ) ) ;
78
88
79
89
export const StyledMarkdownTd = styled ( 'td' ) ( ( { theme } ) => ( {
80
90
color : theme . palette . text . default ,
81
91
marginBlock : '0px' ,
82
- ...theme . typography . textB1Regular
92
+ ...theme . typography . textB1Regular ,
93
+ fontFamily : 'inherit'
83
94
} ) ) ;
84
95
85
96
export const StyledMarkdownPre = styled ( 'pre' ) ( ( { theme } ) => ( {
86
97
background : theme . palette . background . code ,
87
- whiteSpace : 'pre-line'
98
+ whiteSpace : 'pre-line' ,
99
+ fontFamily : 'inherit'
88
100
} ) ) ;
0 commit comments