-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy paththeme.js
executable file
·53 lines (48 loc) · 940 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { Global, css } from "@emotion/core";
import { themes } from "mdx-deck";
import React from "react";
import {
vsDark
} from "@code-surfer/themes";
// Purple background = #a457d4
// RxJS pink = #f80090
// RxJS purple = #57008e
export const theme = {
colors: {
background: "black",
primary: "#f80090",
secondary: "#57008e",
tertiary: "black",
text: "white"
}
};
export const vsDarkReal = {...vsDark }
// , ...{
// styles: {
// CodeSurfer: {
// code: {
// backgroundColor: "#000"
// },
// pre: {
// backgroundColor: "#000"
// },
// title: {
// backgroundColor: "#000"
// }
// }
// }
// }};
export const Styles = () => (
<Global styles={css`
.primary {
color: ${theme.colors.primary};
}
main {
width: 100%;
height: 100%;
}
.link {
text-decoration: none;
font-size: 1.5em;
`} />
);