-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprismDark.mjs
More file actions
79 lines (77 loc) · 1.35 KB
/
prismDark.mjs
File metadata and controls
79 lines (77 loc) · 1.35 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { vsDark as darkTheme } from "prism-react-renderer/themes";
export default {
plain: {
color: "#D4D4D4",
backgroundColor: "#212121",
},
styles: [
...darkTheme.styles,
{
types: ["title"],
style: {
color: "#569CD6",
fontWeight: "bold",
},
},
{
types: ["property", "parameter"],
style: {
color: "#9CDCFE",
},
},
{
types: ["script"],
style: {
color: "#D4D4D4",
},
},
{
types: ["boolean", "arrow", "atrule", "tag"],
style: {
color: "#569CD6",
},
},
{
types: ["number", "color", "unit"],
style: {
color: "#B5CEA8",
},
},
{
types: ["font-matter"],
style: {
color: "#CE9178",
},
},
{
types: ["keyword", "rule"],
style: {
color: "#C586C0",
},
},
{
types: ["regex"],
style: {
color: "#D16969",
},
},
{
types: ["maybe-class-name"],
style: {
color: "#4EC9B0",
},
},
{
types: ["constant"],
style: {
color: "#4FC1FF",
},
},
],
};