-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy paththeme.js
33 lines (31 loc) · 849 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
32
33
import {yellow as theme } from 'mdx-deck/themes'
import {
future
} from 'mdx-deck/themes'
import atomDark from 'react-syntax-highlighter/dist/styles/prism/atom-dark'
import javascript from 'react-syntax-highlighter/dist/languages/prism/javascript'
import jsx from 'react-syntax-highlighter/dist/languages/prism/jsx'
import tsx from 'react-syntax-highlighter/dist/languages/prism/tsx'
import typescript from 'react-syntax-highlighter/dist/languages/prism/typescript'
export default {
// extends the default theme
...theme,
// ...future,
// add a custom font
// font: 'Laila, Roboto, sans-serif',
// custom colors
colors: {
text: '#eff3f9',
background: '#011627',
link: '#82AAFF',
},
prism: {
style: atomDark,
languages: {
javascript,
jsx,
tsx,
typescript
}
},
}