-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.js
31 lines (28 loc) · 932 Bytes
/
theme.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { book as theme } from "mdx-deck/themes";
import style from "react-syntax-highlighter/styles/prism/darcula";
import rust from "react-syntax-highlighter/languages/prism/rust";
import go from "react-syntax-highlighter/languages/prism/go";
import csharp from "react-syntax-highlighter/languages/prism/csharp";
import scala from "react-syntax-highlighter/languages/prism/scala";
import elm from "react-syntax-highlighter/languages/prism/elm";
import haskell from "react-syntax-highlighter/languages/prism/haskell";
import reason from "react-syntax-highlighter/languages/prism/reason";
import css from "react-syntax-highlighter/languages/prism/css";
import typescript from "react-syntax-highlighter/languages/prism/typescript";
export default {
...theme,
prism: {
style,
languages: {
rust,
go,
csharp,
scala,
elm,
haskell,
reason,
css,
typescript
}
},
};