-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy paththeme.js
More file actions
32 lines (31 loc) · 816 Bytes
/
theme.js
File metadata and controls
32 lines (31 loc) · 816 Bytes
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
import highlight from '@mdx-deck/themes/syntax-highlighter-prism';
import { atomDark } from 'react-syntax-highlighter/dist/esm/styles/prism';
import { vsDarkPartial as vsDark } from 'code-surfer';
export const themes = [
vsDark,
{
prism: {
style: atomDark,
},
Slide: {
width: '100%',
'& > div': {
paddingBottom: '56.25%',
position: 'relative',
width: '100%',
height: '0',
},
'& > div > div': {
position: 'absolute',
width: '100%',
height: '100%',
},
},
// Customize your presentation theme here.
//
// Read the docs for more info:
// https://github.com/jxnblk/mdx-deck/blob/master/docs/theming.md
// https://github.com/jxnblk/mdx-deck/blob/master/docs/themes.md
},
highlight,
];