-
-
Notifications
You must be signed in to change notification settings - Fork 693
/
Copy paththemes.ts
62 lines (61 loc) · 1.34 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
import { colors } from '../interfaces/interface';
export const selectColors = (queryString: string): colors => {
switch (queryString) {
case 'dracula':
return {
bgColor: '44475a',
color: 'f8f8f2',
lineColor: 'ff79c6',
pointColor: 'bd93f9',
};
case 'gruvbox':
return {
bgColor: '504945',
color: 'd4be98',
lineColor: 'd8a657',
pointColor: 'e78a4e',
};
case 'github':
return {
bgColor: '293036',
color: 'ffffff',
lineColor: '9ecbff',
pointColor: 'f97583',
};
case 'rogue':
return {
bgColor: '172030',
color: 'a3b09a',
lineColor: 'b18bb1',
pointColor: 'c6797e',
};
case 'xcode':
return {
bgColor: '202124',
color: 'fcfcfa',
lineColor: 'c4e3ff',
pointColor: 'ff8070',
};
case 'redical':
return {
bgColor: '141321',
color: 'a9fef7',
lineColor: 'fe428e',
pointColor: 'f8d847',
};
case 'coral':
return {
bgColor: '9a3838',
color: 'f9fae9',
lineColor: 'f4e23d',
pointColor: 'f4e7e7',
};
default:
return {
bgColor: 'ffcfe9',
color: '9e4c98',
lineColor: '9e4c98',
pointColor: '403d3d',
};
}
};