-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.js
156 lines (152 loc) · 3.87 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/**
* @module Theme
* @name one-age-new-age
*/
module.exports = {
imageThumbnail: '',
imageLarge: '',
description: 'Uma página, apresentando todas as informações relevantes na home e com um slideshow incrível!',
// theme config
configs: {
emailTemplates: {
path: 'templates/email',
},
javascript: 'files/public/script.min.js',
stylesheet: 'files/public/style-default.css',
colors: {
default: {
label: 'Cor padrão do tema',
stylesheet: 'files/public/style-default.css',
colors: [
{ value: '#ab4240' },
{ value: '#fcbd20' },
{ value: '#fdc539' },
{ value: '#000' },
{ value: '#fff' },
{ value: '#222222' },
{ value: '#FFD15A' }
]
},
gray: {
label: 'Cores: preto, branco e cinza',
stylesheet: 'files/public/style-gray.css',
colors: [
{ value: '#ccc' },
{ value: '#dfdfdf' },
{ value: '#aaa' },
{ value: '#000' }
]
},
darkgreen: {
label: 'Cores: verde escuro, branco e vermelho claro nos links',
stylesheet: 'files/public/style-darkgreen.css',
colors: [
{ value: '#003929' },
{ value: '#ab4240' },
{ value: '#fff' },
{ value: '#00291e' }
]
},
lightgreen: {
label: 'Cores: verde claro, branco e laranja claro nos links',
stylesheet: 'files/public/style-lightgreen.css',
colors: [
{ value: '#8aff87' },
{ value: '#FEA313' },
{ value: '#fff' },
{ value: '#00291e' }
]
},
darkblue: {
label: 'Cores: azul escuro, branco e laranja claro nos links',
stylesheet: 'files/public/style-darkblue.css',
colors: [
{ value: '#22296f' },
{ value: '#022480' },
{ value: '#fff' },
{ value: '#FEA313' }
]
},
lightblue: {
label: 'Cores: azul claro e branco',
stylesheet: 'files/public/style-lightblue.css',
colors: [
{ value: '#71C3B7' },
{ value: '#182c2f' },
{ value: '#fff' },
{ value: '#FEA313' }
]
}
}
},
autoLoadAllTemplates: true,
// will be auto loaded
templates: {},
// set layouts here
layouts: {
'default': {
template: __dirname + '/templates/server/layouts/default-layout.hbs',
regions: {
highlighted: {
name: 'Destacado'
},
sidebar: {
name: 'Barra lateral'
},
profileSidebar: {
name: 'Barra lateral do perfil'
},
content: {
name: 'Central'
},
afterContent: {
name: 'Depois do conteúdo'
}
}
},
'user-layout': {
template: __dirname + '/templates/server/layouts/user-layout.hbs',
regions: {
highlighted: {
name: 'Destacado'
},
profileSidebar: {
name: 'Barra lateral do perfil'
},
content: {
name: 'Central'
},
afterContent: {
name: 'Depois do conteúdo'
}
}
},
'fullwidth': {
template: __dirname + '/templates/server/layouts/full-width-layout.hbs',
regions: {
highlighted: {
name: 'Highlighted'
}
}
},
'home': {
template: __dirname + '/templates/server/layouts/home.hbs',
regions: {
highlighted: {
name: 'Destacado'
},
content: {
name: 'Central'
},
afterContent: {
name: 'Depois do conteúdo'
}
}
}
},
widgets: {
'html': __dirname + '/templates/server/widgets/html-widget.hbs',
'news': __dirname + '/templates/server/widgets/news.hbs',
'simple-event': __dirname + '/templates/server/widgets/simple-event.hbs'
}
};