forked from Sly777/ran
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.js
69 lines (63 loc) · 1.29 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
64
65
66
67
68
69
import { mergeObjects } from './helpers';
const themeList = {};
themeList.extend = (themename, newsetting) =>
mergeObjects(themeList[themename], newsetting);
themeList.main = {
font: {
sizes: {
normal: '14px',
big: '15px',
bigger: '16px',
small: '13px',
smaller: '12px',
tiny: '11px'
},
family: {
normal:
'Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif'
}
},
spacing: {
normal: '10px',
big: '15px',
bigger: '20px',
huge: '40px',
small: '10px',
smaller: '5px',
noSpace: '0'
},
alignment: {
horizontalCenter: '0 auto',
center: 'auto'
},
colors: {
main: '#22BAD9',
success: '#5cb85c',
warn: '#ffc067',
error: '#d9534f',
background: '#ffffff',
text: '#000000',
textAlt: '#ffffff'
}
};
themeList.inverted = themeList.extend('main', {
colors: {
background: '#000000',
text: '#ffffff'
}
});
themeList.eightbit = themeList.extend('inverted', {
colors: {
main: '#40337f',
success: '#1bcb01',
error: '#722640',
background: '#000000',
text: '#ffffff'
},
font: {
family: {
normal: 'Consolas, monaco, monospace'
}
}
});
export default themeList;