forked from NodeBB/nodebb-theme-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
26 lines (26 loc) · 1021 Bytes
/
plugin.json
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
{
"id": "nodebb-theme-riabbs",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:widgets.getAreas", "method": "defineWidgetAreas" },
{ "hook": "filter:config.get", "method": "getThemeConfig" },
{ "hook": "filter:settings.get", "method": "getAdminSettings"},
{ "hook": "filter:user.saveSettings", "method": "saveUserSettings" },
{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "filter:middleware.renderHeader", "method": "filterMiddlewareRenderHeader" }
],
"scripts": [
"public/client.js",
"../nodebb-theme-harmony/public/harmony.js"
],
"templates": "templates",
"modules": {
"../admin/plugins/theme-riabbs.js": "../nodebb-theme-harmony/public/admin.js",
"../client/account/theme.js": "../nodebb-theme-harmony/public/settings.js"
},
"staticDirs": {
"inter": "node_modules/@fontsource/inter/files",
"poppins": "node_modules/@fontsource/poppins/files"
}
}