File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
src/components/mdx/components Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 88 "text" : " #2F2F2F" ,
99 "background" : " #FFF" ,
1010 "containerBackground" : " #FFF" ,
11+ "codeBackground" : " #F5F5F5" ,
1112 "border" : " #E0E0E0" ,
1213 "success" : " #4CAF50" ,
1314 "warning" : " #FF9800" ,
5354 "text" : " #EDEDED" ,
5455 "background" : " #131313" ,
5556 "containerBackground" : " #373639" ,
57+ "codeBackground" : " #2E2E2E" ,
5658 "border" : " #333" ,
5759 "success" : " #4CAF50" ,
5860 "warning" : " #FF9800" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export function CustomCodeBlock({ children }: { children: string }) {
44 return (
55 < Box
66 as = "code"
7- bg = "$containerBackground "
7+ bg = "$codeBackground "
88 borderRadius = "0.25rem"
99 color = "$text"
1010 padding = "0.25rem"
Original file line number Diff line number Diff line change 1111 "text" : " #272727" ,
1212 "background" : " #F5F5F5" ,
1313 "containerBackground" : " #FFFFFF" ,
14+ "codeBackground" : " #F5F5F5" ,
1415 "border" : " #E4E4E4" ,
1516 "success" : " #2CA353" ,
1617 "warning" : " #FF9800" ,
7475 "text" : " #F6F6F6" ,
7576 "background" : " #202020" ,
7677 "containerBackground" : " #1E1E1E" ,
78+ "codeBackground" : " #2E2E2E" ,
7779 "border" : " #434343" ,
7880 "success" : " #4CAF50" ,
7981 "warning" : " #FF9800" ,
You can’t perform that action at this time.
0 commit comments