-
Notifications
You must be signed in to change notification settings - Fork 123
/
Copy paththemes.ts
84 lines (81 loc) · 1.85 KB
/
themes.ts
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
80
81
82
83
84
import { DefaultTheme } from "styled-components";
const dark: DefaultTheme = {
colors: {
body: "rgb(28, 31, 32)",
content: "rgb(24, 26, 27)",
text: "rgb(213, 209, 204)",
hintText: "rgb(158, 158, 158)",
operational: {
text: "rgb(136, 218, 153)",
background: "rgba(61, 167, 81, 0.1)",
},
degradedPerformance: {
text: "rgb(174 207 234)",
background: "rgba(73, 144, 226, 0.1)",
},
partialOutage: {
text: "rgb(218 186 135)",
background: "rgba(255, 198, 103, 0.1)",
},
majorOutage: {
text: "rgb(231 168 161)",
background: "rgba(217, 68, 48, 0.1)",
},
unknown: {
text: "rgb(163, 156, 144)",
background: "rgba(177, 177, 177, 0.1)",
},
status: {
active: {
text: "rgb(135, 178, 214)",
background: "rgba(73, 144, 226, 0.1)",
},
closed: {
text: "rgb(163, 156, 144)",
background: "rgba(177, 177, 177, 0.1)",
},
},
},
};
const light: DefaultTheme = {
colors: {
body: "#f5f8fa",
content: "#ffffff",
text: "#1e1e1e",
hintText: "#1e1e1e",
operational: {
text: "#247234",
background: "rgba(61, 167, 81, 0.1)",
},
degradedPerformance: {
text: "#2f5888",
background: "rgba(73, 144, 226, 0.1)",
},
partialOutage: {
text: "#74582a",
background: "rgba(255, 198, 103, 0.1)",
},
majorOutage: {
text: "#8e3b31",
background: "rgba(217, 68, 48, 0.1)",
},
unknown: {
text: "#6e6b6b",
background: "rgba(177, 177, 177, 0.1)",
},
status: {
active: {
text: "rgb(47, 88, 136)",
background: "rgba(73, 144, 226, 0.1)",
},
closed: {
text: "rgb(110, 107, 107)",
background: "rgba(177, 177, 177, 0.1)",
},
},
},
};
export const themes = {
dark,
light,
};