-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.js
63 lines (62 loc) · 1.4 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import theme from "mdx-deck/themes";
import Provider from "./RDCProvider";
import okaidia from "react-syntax-highlighter/styles/prism/okaidia";
export default {
...theme,
font: "din-2014, sans-serif",
colors: {
...theme.colors,
background: "rgba(0, 0, 0, 0)"
},
heading: {
margin: "1rem 0"
},
paragraph: {
margin: "0 0 1rem 0"
},
prism: {
style: okaidia
},
css: {
...theme.css,
body: {
maxWidth: "100vw",
maxHeight: "100vh",
overflowX: "hidden",
overflowY: "hidden"
},
li: {
textAlign: "left"
},
"& .Slide > div": {
height: "90vh",
width: "90vw",
padding: "5%",
border: "10px solid black",
borderRadius: "20px",
backgroundColor: "white",
boxShadow: "10px 10px 0px rgba(0, 0, 0, 0.166)",
overflowY: "scroll",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center"
},
".codesurfer": {
maxHeight: "100%"
},
".codesurfer > div": {
height: "100% !important",
width: "100% !important"
},
".codesurfer > div > div": {
height: "100% !important"
}
},
Provider
// 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
};